Commit Graph
6283 Commits
Author SHA1 Message Date
adsharma@los-vmm.sc.intel.com bc8a33e3a8 Merge. 2005-08-18 10:40:02 -08:00
kaf24@firebug.cl.cam.ac.uk 4ceac099b8 Make sure to cmpxchg entire pte on emulated ptwr path.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-18 18:17:08 +00:00
kaf24@firebug.cl.cam.ac.uk c1a3a8bd90 Fix emulated writable pagetable updates where access is
less than a full pte and operation requires cmpxchg.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-18 18:02:46 +00:00
kaf24@firebug.cl.cam.ac.uk 91bad3932c Fix direct_remap_area_pages() to handle pagetables
above 4GB.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-18 17:46:26 +00:00
kaf24@firebug.cl.cam.ac.uk df3de397c7 Fix __get_user() and friends to work correctly for
64-bit quantities on x86/32. Should fix writable
pagetables on PAE.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-18 17:04:48 +00:00
kaf24@firebug.cl.cam.ac.uk f26a97ed03 Clean up bootmem initialisation for x86/64. Question still
remains over why boot fails if we try to free up the bottom
1MB of pseudophysical memory...

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-18 16:04:00 +00:00
kaf24@firebug.cl.cam.ac.uk ba19712966 Fix Xen patches to Linux so that they use pfn_pte() and
pfn_pte_ma() constructors, rather than splicing together
ptes manually. Not only is this cleaner, it also ensures
that the NX/XD bit is safely masked off on systems that do
not support it.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-18 15:01:03 +00:00
kaf24@firebug.cl.cam.ac.uk 68bcc33d2e Tiny formatting tweak in addition to previous changeset. 2005-08-18 14:33:21 +00:00
kaf24@firebug.cl.cam.ac.uk a0649ba6c2 Clean up formatting of Xen crash messages.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-18 14:26:36 +00:00
iap10@freefall.cl.cam.ac.uk c2e99d4489 Add SK98LIN driver to default -xen0 Linux configs.
Signed-off-by: ian@xensource.com
2005-08-18 14:18:15 +00:00
iap10@freefall.cl.cam.ac.uk 94c199e8fc Make antispoof default to 'no' in network-script as the default in xend is 'no'. Having them different only causes confusion.
Signed-off-by: ian@xensoure.com
2005-08-18 14:17:22 +00:00
vh249@arcadians.cl.cam.ac.uk fd2312006b fail nicely when passing unknown option to xm list
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-18 11:45:54 +00:00
kaf24@firebug.cl.cam.ac.uk 597ecd67a9 Fix range_straddles_boundary() check to exclude regions that
were allocated with xen_create_contiguous_region(). Such areas
do not require bounce buffers (swiotlb).

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-18 10:41:55 +00:00
jrb44@plym.cl.cam.ac.uk 2c1e4b63b9 Enable IP_PNP support in 64bit domU (needed for xm ip= etc.)
Signed-off-by: James Bulpin <james@xensource.com>
2005-08-18 10:22:08 +00:00
kaf24@firebug.cl.cam.ac.uk f3d1875ab6 Fix the SWIOTLB to correctly match on bus addresses.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-18 09:47:04 +00:00
vh249@arcadians.cl.cam.ac.uk 10d9dd27f4 fail domU creation if memory need couldn't be succeed after ballooning out dom0
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-18 01:13:49 +00:00
iap10@freefall.cl.cam.ac.uk 415a0de9bc Enable MATCH_PHYSDEV netfilter support as a module.
Signed-off-by: iab@xensource.com
2005-08-17 23:11:56 +00:00
iap10@freefall.cl.cam.ac.uk d245fc4186 Fix e820 array stack overflow
I don't see the problem on machine that I typically use, but I found and
fixed the problem on a big machine. It was causing a stack overflow. If
you look at the current code, it's a bit dangerous, see => part. This
patch fixes it.
From: "Nakajima, Jun" <jun.nakajima@intel.com>
Signed-off-by: ian@xensource.com
2005-08-17 22:01:24 +00:00
adsharma@los-vmm.sc.intel.com 62c806d315 Merge xen-vtx-unstable.hg 2005-08-17 12:34:38 -08:00
adsharma@los-vmm.sc.intel.com 14f83cd4d0 Merge. 2005-08-17 12:33:56 -08:00
adsharma@los-vmm.sc.intel.com 5e9dfbbb14 Drop shadow lock on exit
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-17 11:22:31 -08:00
adsharma@los-vmm.sc.intel.com 536424459d Unmap domain page on exit
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-17 11:21:37 -08:00
adsharma@los-vmm.sc.intel.com e8b2aa7f47 PCNET NIC card support for qemu
Based on:
http://cyberkinetica.homeunix.net/qemu/qemu-pcnet.patch6.gz

Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-17 11:21:31 -08:00
kaf24@firebug.cl.cam.ac.uk 7501cca885 We found machines with >32 E820 memory map entries, where Xen fails to
boot (but Linux does boot fine). The native Linux (both x86 and x86_86)
already has:

#define E820MAX 128             /* number of entries in E820MAP */

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-08-17 18:22:18 +00:00
kaf24@firebug.cl.cam.ac.uk 4ce65049c8 Fix vmalloc_fault() path for x86/64 XenLinux.
There may be a deeper underlying problem w.r.t pagetable
initialisation at start of day, but this simple fix is
a good workaround until we have time to investigate
properly.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-17 18:14:46 +00:00
kaf24@firebug.cl.cam.ac.uk 81cf88dc9c Fix the skbuff allocator for multi-page buffers.
pci-dma.c still needs fixing to recognise contiguous
multi-page buffers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-17 16:53:30 +00:00
kaf24@firebug.cl.cam.ac.uk 88f95d50cf Formatting cleanup. 2005-08-17 15:34:58 +00:00
vh249@arcadians.cl.cam.ac.uk 206e4c4033 have a useful line reporting when IOMMU_BUG_ON trigger
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-17 15:09:31 +00:00
vh249@arcadians.cl.cam.ac.uk 9a0d977633 fix missing swiotlb.c file in linux build after running cleanup.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-17 14:23:16 +00:00
kaf24@firebug.cl.cam.ac.uk 806ac06852 Fix module build by removing duplicate EXPORT_SYMBOL of
dma_alloc_coherent and dma_free_coherent.
2005-08-17 13:34:42 +00:00
kaf24@firebug.cl.cam.ac.uk 34f71bcc7c Allocate_empty_lowmem_regions available to non-priv domains
and to modules. From Ross Mcilroy.
2005-08-17 13:33:55 +00:00
iap10@freefall.cl.cam.ac.uk 4a58a25381 merge 2005-08-17 12:30:04 +00:00
iap10@freefall.cl.cam.ac.uk 34ef247301 Another tweak to the network-bridge script.
Signed-off-by: ian@xensource.com
2005-08-17 12:29:34 +00:00
cl349@firebug.cl.cam.ac.uk 9dc02cdad0 merge? 2005-08-17 12:26:05 +00:00
cl349@firebug.cl.cam.ac.uk fb008da966 Restore domains with a different uuid than they had.
Needed for migration to localhost and migration between hosts with
a shared/distributed xenstore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-17 12:25:50 +00:00
kaf24@firebug.cl.cam.ac.uk 55b8547307 Python build fix. 2005-08-17 10:35:39 +00:00
cl349@firebug.cl.cam.ac.uk f9c5a6235f Recreate watches on domain restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-17 10:18:34 +00:00
cl349@firebug.cl.cam.ac.uk 6b2e541096 Clear "/control/shutdown" node on domain restore.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-17 10:18:13 +00:00
kaf24@firebug.cl.cam.ac.uk 9c07496f46 xenbus build and license fixes. 2005-08-17 09:59:04 +00:00
cl349@firebug.cl.cam.ac.uk 208cd71bf7 Add support for XENSTORED_TRACE to enable trace output from xenstored.
Set XENSTORED_TRACE in /usr/sbin/xenstored's environment to enable the
trace output.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-17 09:50:26 +00:00
cl349@firebug.cl.cam.ac.uk 135f79ef6f Fix compile warning from zero-length printf format string.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-17 08:52:04 +00:00
cl349@firebug.cl.cam.ac.uk f5eca0c88e merge? 2005-08-17 08:27:16 +00:00
cl349@firebug.cl.cam.ac.uk 72593432a5 Avoid spurious "Ignoring shutdown request" messages, fix memory leak and simplif
y code.
Also fix whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-17 08:26:58 +00:00
adsharma@los-vmm.sc.intel.com 8d4691a2ea Unmap domain page on exit
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-16 14:27:16 -08:00
adsharma@los-vmm.sc.intel.com 1531e2cb55 PCNET NIC card support for qemu
Based on:
http://cyberkinetica.homeunix.net/qemu/qemu-pcnet.patch6.gz

Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-16 13:39:55 -08:00
iap10@freefall.cl.cam.ac.uk 8b799c9ee6 Yet another work-around in the network-bridge script
From: Zhai, Edwin [edwin.zhai@intel.com]
Signed-off-by: ian@xensource.com
2005-08-16 20:00:53 +00:00
kaf24@firebug.cl.cam.ac.uk 91b0f0040e Really randomise MAC addresses for multi-VIF guests.
Reseeding on every VIF doesn;t work as timeofday doesn't
change quickly enough.

Signed-off-by: Jim Dykman <dykman@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-16 19:38:22 +00:00
kaf24@firebug.cl.cam.ac.uk b09f19bf24 Add a couple of well chosen assertions to new context
switch code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-16 18:12:19 +00:00
adsharma@los-vmm.sc.intel.com 461aba5a23 Merge. 2005-08-16 10:09:07 -08:00
kaf24@firebug.cl.cam.ac.uk 02bf186308 Fix context switching race which could cause vcpu_pause()
to not actually do its job properly. This requires us to
move clearing of VCPUF_running to be protected by the
scheduler lock.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-16 18:02:24 +00:00