Commit Graph
5839 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 643aa19009 Allow multiple disk images per guest.
Signed-off-by: Yunfeng Zhao <yunfeng.zhao@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:02:34 +00:00
kaf24@firebug.cl.cam.ac.uk 5b459bb5c8 Fix the path to qemu-dm 2005-07-25 21:02:24 +00:00
kaf24@firebug.cl.cam.ac.uk 9412bd75a0 Implement the I/O bitmap vm execution control.
With this patch, we should not bee seeing any vmexits for debug port
accesses.

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:02:09 +00:00
kaf24@firebug.cl.cam.ac.uk ae7da5d7f3 Don't leave behind zombie device model processes
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:01:57 +00:00
kaf24@firebug.cl.cam.ac.uk 7ba92c7b98 Xen full virtualization does not handle unaligned IO with page crossing.
Disable 32-bit PIO as a workaround.

Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:01:42 +00:00
kaf24@firebug.cl.cam.ac.uk 4fb5e20a8d Translate some control characters in the qemu monitor.
This removes odd control characters displayed in the qemu monitor with vnc

Signed-off-by: Edwin Zhain <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-25 21:00:30 +00:00
kaf24@firebug.cl.cam.ac.uk 2e3653cb9b Remove extra definition of DBG in pci/irq.c in XenLinux. 2005-07-25 20:41:31 +00:00
kaf24@firebug.cl.cam.ac.uk 1c7d10e63a Fix cross-compile builds by using NM macro instead of nm
binary directly.
2005-07-25 20:33:41 +00:00
kaf24@firebug.cl.cam.ac.uk f1b4ae738d XenLinux restart/poweroff calls 'reboot' or 'poweroff'
as appropriate.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-25 20:32:11 +00:00
vh249@firebug.cl.cam.ac.uk a375a464b8 split deallocation from net_tx_action
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-07-25 17:26:32 +00:00
vh249@firebug.cl.cam.ac.uk d4b94c490c add grant table capabilities to netback and netfront.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-07-25 17:07:31 +00:00
vh249@arcadians.cl.cam.ac.uk b25ac30e08 regenerate smp-alt.patch for 2.6.12
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-07-25 09:56:50 +00:00
sd386@font.cl.cam.ac.uk bc8af12377 Local merge
Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}
2005-07-22 17:58:52 +00:00
kaf24@firebug.cl.cam.ac.uk c1f454ab0c Port kallsyms to Xen, as 'symbols'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-22 16:44:33 +00:00
sd386@font.cl.cam.ac.uk 100346c84d Fixed extratime scheduling bug, which caused a prioritised dom0 to overtake the whole cpu.
Signed-off by: Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}
2005-07-22 15:32:31 +00:00
sos22@douglas.cl.cam.ac.uk b6d8dea8bf In 2.6.12-land, do_debug and do_int3 return void. Make sure we don't try
to use their return values anywhere.

Signed-off-by: Steven Smith, sos22@cam.ac.uk.
2005-07-22 14:25:10 +00:00
kaf24@firebug.cl.cam.ac.uk 55c771f676 Here is a patch to enable Xen to run on a Unisys ES7000 x86_64 system.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
2005-07-21 15:50:11 +00:00
kaf24@firebug.cl.cam.ac.uk eadf155ee3 Fix problem of can not create two or more vmx guest.
The original gdb server patch will cause the new vmx guest break the=20
old one. This patch make the arch_set_guest_info modify the correct
vmcs and also skip modifying during  creating.


Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>^
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-21 14:15:35 +00:00
kaf24@firebug.cl.cam.ac.uk 448ea5b78e Save per cpu IDT information into the VMCS host area.
Without this, we may be saving the IDT info from the wrong cpu into the
vmcs.
This makes domU work in the presence of VMX domains on SMP/HT enabled
machines.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>=20
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-21 13:59:49 +00:00
kaf24@firebug.cl.cam.ac.uk 88490a29fe Propagate guest MSR writes to machine MSRs immediately
Right now, we have an exposure between the time the MSR is written
and used by an instruction such as syscall. If there is a context
switch and we do vmx_do_restore_msrs(), everything goes fine. But
if we don't, then we execute the syscall with the wrong MSR.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-21 13:59:08 +00:00
smh22@firebug.cl.cam.ac.uk a63fbe2fb4 Fix bug.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-07-20 19:45:05 +00:00
kaf24@firebug.cl.cam.ac.uk d122e5411f No need to define io_remap_pfn_range in linux/mm.h. 2005-07-20 17:44:29 +00:00
maf46@burn.cl.cam.ac.uk cca4eb996c Merged by hand. 2005-07-19 12:20:24 +00:00
maf46@burn.cl.cam.ac.uk b9f9f42b3f Shadow mode's writable-PTs should only allow guest kernels access to PTs 2005-07-19 10:40:26 +00:00
kaf24@firebug.cl.cam.ac.uk cadfa803a9 Fix wallclock timebase extraction in XenLinux.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-19 09:26:18 +00:00
kaf24@firebug.cl.cam.ac.uk b32508c783 Simplify and fix the error-correction factor during
local timer calibration.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-19 08:52:32 +00:00
kaf24@firebug.cl.cam.ac.uk bbb0eb3225 First cut of new time interfaces and synchronisation mechanisms.
Based on an initial patch from Don Fry at IBM.
Still TODO: 
 1. Testing
 2. NTP synchronisation
 3. Fix wallclock interface a bit
 4. Support for platform timers other than PIT (e.g., HPET, IBM Cyclone)
 5. Scale 64-bit TSC diffs instead of 32-bit, just for sanity
 6. Error-correcting scale factor is still slightly wrong
 6. More testing
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-18 20:22:11 +00:00
ach61@arcadians.cl.cam.ac.uk c5fe655bd2 pdb: read/write registers for process target 2005-07-17 14:16:21 +00:00
kaf24@firebug.cl.cam.ac.uk 25e97c409b Fix 'make uninstall' target. 2005-07-16 16:45:24 +00:00
kaf24@firebug.cl.cam.ac.uk 16edbc9998 Fix 'make mrproper' to remove pristine and ref trees. 2005-07-16 14:14:29 +00:00
kaf24@firebug.cl.cam.ac.uk 530cfcf8d3 Delete resurrected files (from ia64 merge). 2005-07-16 14:02:54 +00:00
kaf24@firebug.cl.cam.ac.uk f59936b620 Simple grant-table fix (check_unmap).
By Chris Clark and Stefan Berger.
2005-07-15 19:57:12 +00:00
kaf24@firebug.cl.cam.ac.uk 82c5826b4b Trivial fixes for numeric arg to head/tail. 2005-07-15 19:34:10 +00:00
djm@kirby.fc.hp.com b79bd5537a Merge with ia64-unstable.hg 2005-07-15 06:39:50 -07:00
kaf24@firebug.cl.cam.ac.uk 6d67f4dff4 Relax the bounce-buffer copying constraints in dma_sync_single_for_*
functions. This fixes certain drivers (e.g., ivtv).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-15 12:52:02 +00:00
sos22@douglas.cl.cam.ac.uk 6a368fe8aa Avoid some unnecessary TLB flushes. This will probably make no real
difference on any sensible guest operating system.

Signed-off-by: Steven Smith, sos22@cl.cam.ac.uk.
2005-07-15 09:24:29 +00:00
kaf24@firebug.cl.cam.ac.uk 6b2d3de1ce Fix exit path from DOM0_CREATEDOMAIN, which I broke earlier
today.
2005-07-15 09:09:57 +00:00
kaf24@firebug.cl.cam.ac.uk d352913aeb Enable VMX domains on a SMP dom0.
Not all vectors go through do_IRQ(). It's possible to look up the handler
in the IDT and call that one, but it'll result in two trap frames.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-15 08:50:48 +00:00
kaf24@firebug.cl.cam.ac.uk 8f7262f9a6 Recently some people complain that they cannot set the maxmem for
domU. The problem is that some code wrongly treat dom.max_memkb as in
byte unit, instead of KB unit. This patch fixs the problem.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-07-15 08:30:22 +00:00
kaf24@firebug.cl.cam.ac.uk 0a76710a47 Temporary fix for netif ring overflow, until we move
netfront/netback to grant tables.
2005-07-15 08:22:18 +00:00
kaf24@firebug.cl.cam.ac.uk 1a20379683 Simpler domid allocation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-15 07:53:46 +00:00
iap10@freefall.cl.cam.ac.uk c742c2e652 Update x86_64 -xen config for Linux 2.6.12
Signed-off-by: ian@xensource.com
2005-07-14 23:48:06 +00:00
iap10@freefall.cl.cam.ac.uk ba8ef785e8 Update the -xen default config to Linux 2.6.12
Signed-off-by: ian@xensource.com
2005-07-14 21:03:41 +00:00
iap10@freefall.cl.cam.ac.uk 3299c3f678 Incorporate lomount from QEMU into tools/misc. This tool makes it easy to mount
individual partitions held within whole disk images.
 
Original source from http://www.dad-answers.com/qemu/utilities/QEMU-HD-Mounter/l
omount/lomount.c
 
 * Copyright (c) 2004 Jim Brown 
 * Copyright (c) 2004 Brad Watson
 * Copyright (c) 2004 Mulyadi Santosa
 
Signed-off-by: ian@xensource.com
2005-07-14 21:02:05 +00:00
djm@kirby.fc.hp.com 9996d95f75 Fix for new ns16550 serial code in xen-unstable.hg 2005-07-14 10:46:11 -07:00
kaf24@firebug.cl.cam.ac.uk 83ea48507f Missing quirks.c file. 2005-07-14 14:01:21 +00:00
kaf24@firebug.cl.cam.ac.uk dddd88c891 Auto-disable IRQ balancing/affinity on buggy chipsets.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 11:09:21 +00:00
kaf24@firebug.cl.cam.ac.uk 08daf6e614 Allow IRQ balancing to be disabled with 'noirqbalance'
boot parameter.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 10:37:49 +00:00
kaf24@firebug.cl.cam.ac.uk 563fb4e94c Add debug-key for printing IRQ/IOAPIC info.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 10:16:45 +00:00
iap10@freefall.cl.cam.ac.uk dc2e874399 Misc fixes for new sparse tree names: xen-clone script; -xen kernel build (the one with all the modules); Backout changes to legacy targets.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-07-14 10:12:51 +00:00