Commit Graph
11194 Commits
Author SHA1 Message Date
kaf24@localhost.localdomain eafec813bf [BALLOON] Make /proc/xen/ballon contain driver_pages (aka "driver headroom") unconditionally.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
2006-08-19 10:17:48 +01:00
kaf24@localhost.localdomain 7ee41b61d8 [XENBUS] A few cleanups.
* move function prototypes to the top of the file.
  * uses the "struct bus_type" function pointers instead
    of overwriting the "struct device_driver" ones for
    xenbus_dev_probe() and xenbus_dev_remove().

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
2006-08-19 10:15:01 +01:00
kfraser@localhost.localdomain 701d6fee20 [XEN] Remove shadow2 dependencies from common code.
Disable debugtrace functionality even in debug builds:
it's currently only used by shadow2 maintainers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-18 17:59:26 +01:00
kfraser@localhost.localdomain c724d70275 [HVM] Fix the APM BIOS to ensure that interrupts are enabled when it
executes an idling HLT. This allow us to re-enable the 'shutdown on
HLT-with-interrupts-disabled' heuristic.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-18 16:20:45 +01:00
kfraser@localhost.localdomain 6c32b406bf [XEN] Work around a Linux PAE issue where it sometimes sets
the top half of a PTE without first clearing the bottom half
(to make the PTE not-present) hence the PTE fails validation
checks.

Also remove dead revalidation function after shadow2 checkin.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-18 15:24:10 +01:00
kfraser@localhost.localdomain af2ffa672b Fix Xen Rules.mk eval order so that debug=y always sets verbose=y.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-18 15:22:54 +01:00
Christian Limpach 11ef9f5995 [qemu patches] Update patches for changeset 11186:078bfd250677.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-17 20:31:47 +01:00
Christian Limpach aad7f0d072 [qemu] Support HVM guests with more than 3.75G memory.
Changes are:
1) M2P table and e820 table are changed to skip address space from
HVM_RAM_LIMIT_BELOW_4G to 4G.
2) shared io page location, when less than HVM_RAM_LIMIT_BELOW_4G
memory, it's the last page of RAM as today, or it's the last page of
HVM_RAM_LIMIT_BELOW_4G RAM.
3) in qemu-dm address space from HVM_RAM_LIMIT_BELOW_4G to 4G are
stuffed with mfns starting from 4G, so the 1:1 mapping can still works.
This is ugly, but another limit check patch as changeset 10757 will
prevent qemu-dm to access this range.  This ugly stuffing will be
removed when the patch to remove 1:1 mapping from qemu-dm gets accepted
in the future.

Signed-off-by: Xin Li <xin.b.li@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-17 20:31:13 +01:00
Steven Hand 269ae0f7c0 Fix live migration w/ shadow2.
Signed-off-by: Steven Hand <steven@xensource.com>
2006-08-17 20:30:05 +01:00
kfraser@localhost.localdomain ab0d212251 [SVM] Fix 64-bit VMRUN.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-17 19:24:20 +01:00
kfraser@localhost.localdomain 34d911655e [XEN] Indentation cleanups (remove hard tabs).
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-17 19:17:50 +01:00
kfraser@localhost.localdomain 4dd73a7ce3 Missing file from unmodified_drivers directory. 2006-08-17 19:17:30 +01:00
kfraser@localhost.localdomain 5d1382fb97 [XEN] Fix page-fault handler to fall back to shadow-mode fault path if
writable pagetable logic fails to fix up a fault.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-17 19:16:01 +01:00
kfraser@localhost.localdomain 5b25e510fe [NET] front: Improve correctness when there is no connection to backend driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-17 19:11:14 +01:00
kfraser@localhost.localdomain d72404ae25 [NET] front: Allow driver to be built for an HVM guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-17 18:45:59 +01:00
tdeegan@york.uk.xensource.com bbca18e3ee Fix 64bit shadow tracking
(The mask used to check for available shadows was off by 1 bit)

Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-08-17 18:39:10 +01:00
kfraser@localhost.localdomain 26fdf1475d Add a small readme file explaining how to build PV-on-HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-17 17:10:13 +01:00
kfraser@localhost.localdomain b3e069b33e Update hgignore list for PV-on-HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-17 17:09:21 +01:00
kfraser@localhost.localdomain c3bc0c6a72 [NET] front: Allow driver to be built against kernels which do not
have extended checksum-offload info fields in teh skbuff structure.
Based on a patch from Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-17 17:08:19 +01:00
kfraser@localhost.localdomain 5455b6130d [NET] front: Make netfront compile against kernels without the GSO patch.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-17 16:57:43 +01:00
kfraser@localhost.localdomain 6c90c31b47 [LINUX] Fix return value of gnttab_resume().
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-17 16:57:16 +01:00
kfraser@localhost.localdomain dc043970e7 [HVM] Allow blkfront driver to be built for an HVM guest.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-17 16:33:42 +01:00
kfraser@localhost.localdomain 05592e02ad [HVM] Allow xenbus to run in an HVM guest.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-17 16:32:30 +01:00
kfraser@localhost.localdomain 66f0618369 merge 2006-08-17 16:29:21 +01:00
kfraser@localhost.localdomain a03d12d189 [LINUX] Allow xenbus to be built as a module.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-17 16:28:47 +01:00
tdeegan@york.uk.xensource.com 3c365fda73 Merge 2006-08-17 16:26:34 +01:00
kfraser@localhost.localdomain a8475c2e49 [HVM] Avoid accessing start_info from xenbus as far as possible, since
HVM domains do things slightly differently.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-17 16:22:08 +01:00
kfraser@localhost.localdomain 738c1ffa96 [HVM] Make grant tables functions work in PV-on-HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-17 16:21:08 +01:00
kfraser@localhost.localdomain 98abf9b1f7 [HVM] Linux driver for the xen platform pseudo-PCI device.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-17 16:08:01 +01:00
tdeegan@york.uk.xensource.com 563fae70e8 Fix handling of PS bit in 64-bit pagetables
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-08-17 16:05:51 +01:00
kfraser@localhost.localdomain eb97b7dc2b [XEN] Fix x86/64 bug where a guest application can crash the
guest OS by setting AC flag in RFLAGS. This wasn't being
cleared on entry to the guest kernel, causing unwanted faults
because the kernel runs in ring 3 on Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-17 12:08:26 +01:00
chris@kneesaa.uk.xensource.com 2da5c5c78b [qemu patches] Update patches for changeset 11161:5c1021595e3c.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-17 12:01:44 +01:00
chris@kneesaa.uk.xensource.com 30841bdf6d [qemu] Add the xen platform device to the qemu PCI bus.
Useful functionality will come later.

Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-17 12:01:23 +01:00
ssmith@weybridge.uk.xensource.com 340282216e [NET] Fix ``rx->offset: 10, size: 4294967295'' bug.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-08-17 12:46:45 +01:00
chris@kneesaa.uk.xensource.com fb7807c1ec [qemu patches] Update patches for changeset 11158:a774cbd38187.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-17 11:34:39 +01:00
chris@kneesaa.uk.xensource.com d2ab912dfe [qemu] Default monitor/serial ports to /dev/null if -nographic.
qemu-dm runs daemonized and the default for -nographic is to redirect
the monitor and serial ports to stdio which causes qemu-dm to busy
read from stdin.  Change the default for -nographic to redirect the
monitor and serial ports to /dev/null.

Based on a patch from: Steven Smith <sos22-xen@srcf.ucam.org>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
2006-08-17 11:34:13 +01:00
kfraser@localhost.localdomain fb837a6f8e [NET] back: Initialise first fragment properly
The first fragment is used to store the pending_idx of the leading
txreq if it doesn't fit in the head area.  When it does fit into
the head we need to ensure that the first fragment contains a value
that is not equal to pending_idx as that's what we use to distinguish
between the two cases in a a number of places.

This patch sets the first fragment to ~0 which is not equal to any
valid pending_idx.  Without this initialisation, we may double-free
a pending_idx if the first fragment happened to contain a value
equal to it (this usually happened with pending_idx 0).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-08-17 11:32:39 +01:00
kfraser@localhost.localdomain 25dd6e678d [XEN] vga code cleanups and additions for other architectures.
Based on patches from Hollis Blanchard and Alex Williamson.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-16 18:20:03 +01:00
tdeegan@york.uk.xensource.com 09087301cb Fix broken .hgtags
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-08-16 18:11:33 +01:00
kfraser@localhost.localdomain d94cef069c merge 2006-08-16 17:11:56 +01:00
tdeegan@york.uk.xensource.com e6e9762beb Temporarily disable shutdown-on-HLT code. 2006-08-16 17:05:12 +01:00
tdeegan@york.uk.xensource.com 49f7c7364e Replace shadow pagetable code with shadow2. 2006-08-16 17:02:35 +01:00
kfraser@localhost.localdomain eac498c52b [MINIOS] Fix the build after start_info interface changes.
Signed-off-by: Anil Madhavapeddy <anil@xensource.com>
2006-08-16 16:48:45 +01:00
kfraser@localhost.localdomain e3e351919c [LINUX] Define is_initial_xendomain() to zero for HVM drivers.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-16 16:16:32 +01:00
kfraser@localhost.localdomain 40daa87afb [LINUX] Update the hvm_op wrapper now that the return value of get_param is in
the parameter structure rather than the hypercall return value.
Signed-off-by: Steven Smith <ssmith@xensource.com>
2006-08-16 16:15:46 +01:00
kfraser@localhost.localdomain 85107eee34 [NET] front: Fix indentation of a comment.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-16 16:14:03 +01:00
kfraser@localhost.localdomain e1811a4877 [NET] front: Allow packets to be copied on the receive path instead of flipped.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-16 16:11:53 +01:00
kfraser@localhost.localdomain 38cf7a9127 [NET] back: Change 'copyall' xenstore node to 'request-rx-copy', which
is slightly more informative and mirrors the 'feature-rx-copy' name
which communicates the feature in the other direction (back->front).
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-16 16:11:12 +01:00
emellor@leeni.uk.xensource.com 2d14977023 Fix log rotation which was inadvertently broken by changeset 11129:939f75570a15.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-16 16:06:32 +01:00
kfraser@localhost.localdomain b8f69c1f51 [NET] back: Support copying packets to the frontend on receive path.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-16 16:01:00 +01:00