Commit Graph
11179 Commits
Author SHA1 Message Date
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
kfraser@localhost.localdomain 2e8f09ed51 [HVM] Provide common support function for HLT emulation: hvm_hlt().
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-16 14:27:30 +01:00
kfraser@localhost.localdomain 23f3715358 [NET] front: Fix features on resume when csum is off
When the netfront driver is resumed the features are renegotiated with
the backend.  However, I forgot take into account the status of the TX
checksum setting.  When TX checksum is disabled by the user, we cannot
enable SG or TSO since both require checksum offload.  This patch
makes
xennet check the checksum setting before renegotiating SG or TSO.

This bug was fixed thanks to a report from Anton Burtsev.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-08-16 14:26:59 +01:00
shand@kneesaa.uk.xensource.com 942c2f964d Heuristic to detect windows shutdown + power down domain.
Signed-off-by: Steven Hand <steven@xensource.com> 
Signed-off-by: George Dunlap <george.dunlap@xensource.com>
2006-08-16 14:01:03 +01:00
kfraser@localhost.localdomain 0512d8f50a Rename two xentrace tools to make it obvious that setmask and setsize are xen related.
Based on a patch from Rob Gardner <rob.gardner@hp.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-16 13:53:10 +01:00
emellor@leeni.uk.xensource.com 99c694310f Implement xm block-configure for CD-ROMs.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-16 12:59:30 +01:00
kfraser@localhost.localdomain 9c4e5c70be [HVM] Fix the issue that the HVM 64bit guest cannot boot with 32G memory.
It enlarges the PGT_mfn_mask to support 27bit, and also remove the
score stuff on x86-64.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
2006-08-16 11:58:48 +01:00
kfraser@localhost.localdomain 0becb32e43 [HVM] Fix the HVM hypercall issue when paging is not enabled yet on 64bit host.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2006-08-16 11:55:26 +01:00
kfraser@localhost.localdomain 75205296f9 This is a small patch that makes a cross compiler successfully compile
the sources under the tools directory.  This patch became necessary
after qemu-dm is updated to a newer version.

Signed-off-by: Hiroya INAKOSHI <inakoshi.hiroya@jp.fujitsu.com>
2006-08-16 11:53:37 +01:00
shand@kneesaa.uk.xensource.com 4aedf8adc3 Whitespace clean-ups.
Signed-off-by: Steven Hand <steven@xensource.com>
2006-08-16 11:36:13 +01:00
shand@kneesaa.uk.xensource.com 8c392e5169 Fix VT after hvm changes.
Signed-off-by: Steven Hand <steven@xensource.com>
2006-08-15 19:53:55 +01:00
kfraser@localhost.localdomain d0ed0b289c [XEND] xc_save/xc_restore open the libxc interface independently
of their parent. This is required now that the interface fd is
marked for close-on-exec.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-08-15 19:04:43 +01:00
shand@kneesaa.uk.xensource.com 835d343163 Various HVM clean-ups.
Signed-off-by: Steven Hand <steven@xensource.com>
2006-08-15 18:20:03 +01:00
emellor@leeni.uk.xensource.com 8229d4cc06 Added missing decl.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-08-15 17:03:06 +01:00
kfraser@localhost.localdomain 89e0f558c8 [XEN] Add tracing to slow path in setting new guest %cr3 value.
Also, allow x86/64 user cr3 value to be reset to zero.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
2006-08-15 16:31:14 +01:00
kfraser@localhost.localdomain ef3277d97c Set close-on-exec flag on /var/log/xend.log logging file.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2006-08-15 16:27:26 +01:00