Commit Graph
11449 Commits
Author SHA1 Message Date
awilliam@xenbuild.aw 2e32ced759 [IA64] Add xen boot option "dom0_vcpus_pin"
This patch adds the xen boot option to pin Domain-0 VCPUs.

Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com>
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-09-12 11:29:02 -06:00
awilliam@xenbuild.aw 296b9322bc [IA64][XEND] Fix getRequiredShadowMemory parameters
Parameter count changed in xen-unstable.hg 11417:65a41e3206ac

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-09-10 15:34:14 -06:00
awilliam@xenbuild.aw fc81946a2c merge with xen-unstable.hg 2006-09-10 14:52:57 -06:00
awilliam@xenbuild.aw 4a1c3c7197 [IA64] Add VTI related perfc
This patch intends to add VTI-related and fw_hypercall counters.

Signed-off-by: Atsushi SAKAI <sakaia@jp.fujitsu.com>
Signed-off-by: Hiroya INAKOSHI <inakoshi.hiroya@jp.fujitsu.com>
2006-09-10 14:31:54 -06:00
awilliam@xenbuild.aw dff14d2746 [IA64] Cleanup for PV-on-HVM for IPF
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
2006-09-10 14:26:27 -06:00
kfraser@ubuntu.eng.hq.xensource.com 5e1a83e8f5 Build fix. 2006-09-08 15:46:54 -07:00
kfraser@ubuntu.eng.hq.xensource.com 160a8ad575 [LINUX] console: ensure virtual console is disabled if mfn/evtchn
not provided.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-08 14:49:00 -07:00
kaf24@firebug.cl.cam.ac.uk cda30a2a6c [HVM] pv drivers: Allocate hypercall area as an executable region.
We have to use __vmalloc() and __PAGE_KERNEL because vmalloc_exec()
and PAGE_KERNEL_EXEC are not exported to modules.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-08 19:15:11 +01:00
Tim Deegan 06b8f9d3ab [XEND] balloon enough memory to enable shadow mode before live migration.a
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-09-08 18:55:53 +01:00
ssmith@weybridge.uk.xensource.com e7e0c88d8c [XEN] gnttab: Initialise maptrack->flags
__gnttab_unmap_grant_ref verifies the validity of the handle by
checking it against maptrack_limit and making sure that the flags
field at the given handle is non-zero.

This means that the flags of an unused handle should be zero in
order to prevent unused handles from getting past this check.

However, we don't seem to set it to zero to begin with when we
allocate the maptrack table.  This could potentially lead to the
corruption of the other domain's internal state, and/or the hypervisor's
internal state.

This patch makes sure that it is zeroed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-09-06 13:16:02 +01:00
jchesterfield@dhcp92.uk.xensource.com c2a28ee6ac [BLKTAP] Fix in xend to properly destroy blktap devices when deviceClass=='tap'
Submitted by Andres Lagar Cavilla
2006-09-06 11:42:29 +01:00
kfraser@ubuntu.eng.hq.xensource.com 7c0fc730a3 [XEN] gnttab: Read domid/flags atomically.
This more neatly matches how the two adjacent fields in
the grant-table entry are accessed by the cmpxchg()
function.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-09-05 18:36:23 -07:00
kfraser@ubuntu.eng.hq.xensource.com a97227a56d [XEN] Fix bitops inline asm to specify that memory is clobbered.
Necessary because the modified word may not be the one directly
addressed by the memory parameter (since the parameter actually
points at an array, not a scalar value).

The change to set_bit/__set_bit is reported to fix an issue
on x460 hardware, as reported (and this fix suggested) by
Ryan Harper <ryanh@us.ibm.com>

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-05 18:28:27 -07:00
kfraser@ubuntu.eng.hq.xensource.com ea72eea319 [XEN] Clean up grant-table pinning logic.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-05 12:20:31 -07:00
Ewan Mellor bc93f293ac Fix xm create -F. This can't be very widely used, because it looks like it's
been broken for ages!

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-09-05 17:26:20 +01:00
Ewan Mellor 26f067672a Added vmunused flag to unit test results to match recent change.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-09-05 17:26:18 +01:00
Ewan Mellor 70b20785e0 Add missing import.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-09-05 17:26:17 +01:00
Ewan Mellor bd5b7756c3 This patch adds the argument check of "--ms_per_sample=" option. For
"--ms_per_sample=", a negative value should be invalid.

e.g.
% xenmon.py -n --ms_per_sample=-1
usage: xenmon.py [options]

xenmon.py: error: option --ms_per_sample: invalid negative value: '-1'

Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
2006-09-05 17:06:02 +01:00
Ewan Mellor 8037b37752 This patch improves error message of xm console command.
# xm console Domain-0
Can't specify Domain-0

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-09-05 17:06:01 +01:00
Ewan Mellor 9ad71b6de8 This patch intends for updating "man xm" about xm info description.
For example item:system is removed from xm info.

Signed-off-by: shaocyou <shaocyou@jp.fujitsu.com>
2006-09-05 16:48:21 +01:00
Ewan Mellor 710a9ced48 Fix inverted sense of getRequiredAvailableMemory and
getRequiredInitialReservation on x86 HVM.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-09-05 16:23:11 +01:00
jchesterfield@dhcp92.uk.xensource.com 30acc78a4b [blktap] Fix block device getsize bug in qcow when backing_filename is a block device. 2006-09-05 15:35:42 +01:00
ssmith@weybridge.uk.xensource.com f50af37ef4 Merge. 2006-09-05 14:28:19 +01:00
ssmith@weybridge.uk.xensource.com 9da69e0f6c [XEN] Add more checking when reusing an active grant reference.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Based-on-a-patch-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-09-05 14:27:05 +01:00
Ewan Mellor f470f70290 Fix the memory reservation calculations. Introduce a new architecture-specific
call to determine the initial reservation separately from the amount of
memory to be freed up by ballooning -- when using QEMU, we lose 8 MiB to video
RAM, which must be accounted for when ballooning, but _not_ accounted for
within the domain's memory allocation.

Tidy this code up using the new architecture-specific interface arrangement.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2006-09-05 14:17:50 +01:00
Ewan Mellor cbf197aa0d The attached patch prevents a domain with an attached vTPM from doing
local migration since this does not seem to work correctly (see tests in
xm test suite). If no vTPM has been attached, the local migration
proceeds as usual.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
2006-09-05 14:17:49 +01:00
Andrew Warfield 60a14c571d Fix spellcheck-avoiding typo: s/not/now.
(Thanks Steven S. and Muli)

Signed-off-by: Andrew Warfield <andy@xensource.com>
2006-09-05 06:14:31 -07:00
ssmith@weybridge.uk.xensource.com d8e158c03f Fix up cset 11228.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-05 13:57:30 +01:00
Andrew Warfield b072164dcc Update user manual to use blktap for file-based VBDs.
Signed-off-by: Andrew Warfield <andrew.warfield@xensource.com>
2006-09-04 13:54:36 -07:00
awilliam@xenbuild.aw ed1050d536 [IA64] Bug fix: do not crash if no FPSWA.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-09-04 14:48:03 -06:00
awilliam@xenbuild.aw b1145da668 [IA64] hwclock support
This patch supports the hwclock on Domain-0.
It adds the following EFI runtime service emulations for the 
hwclock support.
 1. SetTime
 2. Get/SetWakeupTime

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2006-09-04 14:45:20 -06:00
ssmith@weybridge.uk.xensource.com 114411f240 Add support for netif frontends which don't support checksum offload.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-09-04 16:38:24 +01:00
Tim Deegan 9113a62c1b [XEN] Fix mapping of p2m into monitor tables for external-mode guests.
The previous code could map frame zero into the P2M table on PAE hosts.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
2006-09-02 12:11:54 +01:00
Andrew Warfield f1da4c1bac Tapdisk cleanup.
Sign-off-by: Jun Koi <junkoi2004@gmail.com>
2006-09-01 13:24:51 -07:00
awilliam@xenbuild.aw 3a15682138 merge with xen-unstable.hg 2006-09-01 13:04:02 -06:00
awilliam@xenbuild.aw 5d36702415 [IA64] change arch_memory_op #def to a prototype
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-09-01 12:52:12 -06:00
awilliam@xenbuild.aw e4e3263749 [IA64] update buildconfigs
This fixes the sparse tree buildconfigs to allow xenU to build
automatically.  There's no need to force netdev front/back on from
the arch Kconfig file anymore.  Based on patch from Akio Takebe &
Yoshiro Fujita.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-09-01 11:20:48 -06:00
kaf24@firebug.cl.cam.ac.uk e026a54ad6 [LINUX] xenoprof: use alloc_vm_area instead of get_vm_area. The former
is exported to modules.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-01 16:11:51 +01:00
awilliam@xenbuild.aw 73cbbb3387 [IA64] Expand memory_op for PV-on-HVM on IPF
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
2006-09-01 08:46:02 -06:00
Steven Hand aa9a5f7239 More hvm common-code cleanups.
Signed-off-by: Steven Hand <steven@xensource.com>
2006-09-01 13:52:04 +01:00
Steven Hand 8ed0449887 Fix typo.
With this patch, a checked build of Windows Server 2003 can be installed
and run on top of a VMX domain.

Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Qing He <qing.he@intel.com>
2006-09-01 12:16:21 +01:00
Steven Hand 55b3732db6 Fix build w/ perfc after cset 11394:96a4379be74a
Signed-off-by: Steven Hand <steven@xensource.com>
2006-09-01 12:07:39 +01:00
kaf24@firebug.cl.cam.ac.uk 6fd2fc155a [XEN] Improve Xen information in register dumps.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-01 01:25:15 +01:00
kaf24@firebug.cl.cam.ac.uk 9f5c2cdc38 [XEN] Include CR2 and CR4 in register dumps.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2006-09-01 01:07:45 +01:00
kaf24@firebug.cl.cam.ac.uk 8b7ee4cecb [XENBUS] Make frontend drivers shutdown cleanly.
This patch makes frontend drivers being shutdown when devices_shutdown()
is called and walks down the device tree.  Most of it is handled by the
xenbus core, which got a new function for the bus->shutdown callback.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
2006-09-01 00:42:14 +01:00
kaf24@firebug.cl.cam.ac.uk 5182367c40 [XENBUS] Introduce new "online" node for backend drivers.
Driver changes:  Make backend drivers check it when entering Closed
state, only unregister devices when the "online" node is either "0" or
not present.  The later maintains backward compatibility.

Tools changes:  Update "online" node when creating and hot-unplugging
devices.

Background: When kexec'ing a new kernel, the old kernel's frontend
driver will shutdown, but the backend device should *NOT* disappear
due to that, so the new kernel instance can reconnect.

Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
2006-09-01 00:33:19 +01:00
kaf24@firebug.cl.cam.ac.uk e957a7cb4a Add xenbus_strstate() helper function for more readable debug output.
From: Gerd Hoffmann <kraxel@suse.de>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-09-01 00:20:42 +01:00
kaf24@firebug.cl.cam.ac.uk 47ed30083c [HVM] Add a mmio decode for 0F BA /4 for HVM guest.
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
2006-08-31 23:59:11 +01:00
kaf24@firebug.cl.cam.ac.uk 2089ee9eab [HVM][VMX] Add CR8 virtualization. Needed for x86/64 Windows boot.
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
2006-08-31 23:58:23 +01:00
kaf24@firebug.cl.cam.ac.uk 34713594dc [HVM][VMX] Report MCE/MCA features in CPUID.
Required for x86/64 Windows guest.
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
2006-08-31 23:56:45 +01:00