kfraser@localhost.localdomain
647f41c70d
hvm: Fix PV-on-HVM drivers to not execuite hypercall page while it is
...
being re-initialised.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com >
2007-08-06 11:16:14 +01:00
kfraser@localhost.localdomain
b28538178f
Fix PV-on-HVM driver build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-07-12 16:03:41 +01:00
Keir Fraser
1e542e2a4d
Fix compile errors in PV-on-HVM drivers because of missing asm/gnttab_dma.h.
...
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com >
2007-06-15 09:32:22 +01:00
kfraser@localhost.localdomain
957412e0ec
pv-on-hvm: Allow Linux and Xen paths to be overridden by the environment.
...
Signed-off-by: Ben Guthro <bguthro@virtualiron.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-06-06 17:49:39 +01:00
kfraser@localhost.localdomain
49c7bf0d1d
Fix pv-on-hvm mkbuildtree script for new repo layout.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-06-06 17:32:58 +01:00
kfraser@localhost.localdomain
0062fcfa82
pv-on-hvm: Re-init hypercall stubs page after HVM save/restore.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-05-25 17:26:26 +01:00
kfraser@localhost.localdomain
e03858f635
PV-on-HVM: More carefully synchronise with APs when putting them to
...
sleep in a spin loop.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-12 12:09:58 +01:00
kfraser@localhost.localdomain
e17fb5f345
PV-on-HVM: Fix 64-bit build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-12 08:02:38 +01:00
kfraser@localhost.localdomain
30fbfa471f
PV-on-HVM: Fixes for module loading.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-11 09:29:00 +01:00
kfraser@localhost.localdomain
fc91db2baf
PV-on-HVM: More save/restore fixes.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-11 09:16:04 +01:00
kfraser@localhost.localdomain
20f2780026
PV-on-HVM: Fixes for save/restore. Also gets rid of separate modules
...
reboot.ko and xenbus.ko. These are now part of xen-platform-pci.ko.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-10 15:31:53 +01:00
Alex Williamson
b43b64a63d
merge with xen-unstable.hg
2007-04-09 13:40:25 -06:00
Alex Williamson
6da4613336
[IA64] Fix PV-on-HVM VNIF to work without using balloon on IPF
...
Temporary patch until we support the the balloon driver on HVM domains.
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2007-04-09 13:39:35 -06:00
Keir Fraser
e4daaaabe1
PV-on-HVM: A bit more re-jigging so the build gets further against
...
native Linux 2.6.5. It's not quite there still, but closer.
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-06 11:17:08 +01:00
Ian Campbell
93d1b5695a
LINUX: PVonHVM: Fixes to build with kernels back to 2.6.5.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-04-05 15:38:09 +01:00
kfraser@localhost.localdomain
aeb2e1298b
PV-on-HVM: Add new ioreq 'invalidate' for zapping ioemu-dm mapccahe
...
after balloon operations in an HVM guest.
This removes the I/O port hack from the guest OS, and from ioemu.
Also we flush on reservation *increases* as well as decreases. This is
necessary until qemu-dm can demand-fault page mappings into existing
valid buckets.
Signed-off-by: Steven Hand <steven@xensource.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-05 14:29:18 +01:00
kfraser@localhost.localdomain
71d28ad3d7
PV-on-HVM: update build config overrides.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-05 13:41:18 +01:00
Keir Fraser
ed34f48aa8
Various cleanups and fixes for PV-on-HVM drivers.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-04-04 21:49:04 +01:00
Steven Hand
1d3e27e802
Initial check-in to support PV balloon driver within HVM guests.
...
Still todo:
- fix mapcache invalidation (should happen in Xen)
- support 32-on-64 mode correctly
Signed-off-by: Steven Hand <steven@xensource.com >
2007-04-04 19:59:10 +01:00
Tim Deegan
9dd742c907
[HVM] Save/restore: PV-on-HVM driver save/restore support
...
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com >
2007-03-29 16:27:52 +00:00
awilliam@xenbuild2.aw
ebdb5845be
merge with xen-unstable.hg
2007-03-20 15:19:38 -06:00
kaf24@firebug.cl.cam.ac.uk
ca039d0244
hvm: Fix platform-irq handling in presence of irqbalance daemon.
...
The HVM guest did not respond when PV-on-HVM driver was tested on
the following conditions.
1. RHEL4u4
2. vcpu 4
3. irqbalance on
4. pv-on-hvm driver used.
Eventhandler did not work because IRQ was delivered to another vcpu by
irqbalance.
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com >
2007-03-19 09:31:04 +00:00
awilliam@xenbuild2.aw
bbe39297b5
[IA64] Fix for compiling PV-on-HVM driver on IPF
...
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2007-03-12 08:40:57 -06:00
Ian Campbell
f380fac05a
[LINUX] Purge include <linux/config.h>. It has been obsolete for some time now.
...
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-02-23 16:56:45 +00:00
Ian Campbell
193ca2e8bb
[LINUX] Call ctrl_alt_del() to trigger a reboot so we benefit from the
...
generic infrastructure for cad_pid etc.
Add a ctrl_alt_del() implemenation to the PV on HVM compatibility
layer since ctrl_alt_del() is not exported on native kernels.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-02-13 15:32:25 +00:00
Keir Fraser
17c65a4118
Small cleanups to PV-on-HVM support code.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-02-08 17:38:30 +00:00
awilliam@xenbuild2.aw
a356cbd5f6
[IA64] Follow to allow PV-on-HVM callback irq to be identified by PCI device.
...
Also delete IA64 specific spec concerned with IA64_CALLBACK_IRQ_RID.
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2007-02-06 09:26:25 -07:00
awilliam@xenbuild2.aw
d7e51f76c8
[IA64] Fix for compiling PV-on-HVM driver on IPF
...
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com >
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2007-02-05 15:41:58 -07:00
kaf24@localhost.localdomain
249c2a8ce6
[HVM] Allow HVM guest to request invalidation of foreign mappings via
...
an I/O port write.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com >
2007-01-27 13:32:27 +00:00
kaf24@localhost.localdomain
0900d4a0e1
Cleanups for unmodified (pv-on-hvm) driver building.
...
- some cleanup to mkbuildtree
- adjustment to the fake __supported_pte_mask definition (removing the
export for x86-64 in native Linux is being discussed, so this shouldn't be
i386 specific)
- remove odd/unused defines (mostly CONFIG_*) in overrides.mk
Signed-off-by: Jan Beulich <jbeulich@novell.com >
2007-01-26 13:34:02 +00:00
Ian Campbell
e22738def9
[PV-on-HVM] Make PV drivers on HVM kernels work on older kernels after
...
update to 2.6.18.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2007-01-22 17:10:27 +00:00
awilliam@xenbuild2.aw
b5a65552a9
merge with xen-unstable.hg
2007-01-15 15:15:26 -07:00
kfraser@localhost.localdomain
a84893ee09
[PV-on-HVM] Allow platform interrupt to be used for entropy.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-12 14:40:13 +00:00
awilliam@xenbuild2.aw
a77c31c882
merge with xen-unstable.hg
2007-01-10 08:40:47 -07:00
kfraser@localhost.localdomain
647c467fd9
[HVM] Allow PV-on-HVM callback irq to be identified by PCI device.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-10 15:05:00 +00:00
kfraser@localhost.localdomain
018858d496
[PV-on-HVM] Add definition of irq_to_evtchn_port().
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2007-01-06 12:56:58 +00:00
awilliam@xenbuild2.aw
98ec176ab3
[IA64] Rename RID maker HVM_PARAM_CALLBACK_IRQ_RID to IA64_CALLBACK_IRQ_RID
...
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2007-01-02 16:39:42 -07:00
kaf24@localhost.localdomain
41eabc3d5c
[PV-ON-HVM] Update evtchn interface to match new PV Linux interfaces.
...
Also fix unbind_from_irqhandler() to close event-channel port where
that is appropriate.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-12-31 11:59:47 +00:00
awilliam@xenbuild2.aw
5a0c8b2704
[IA64] Follow new interrupt deliver mechanism for PV-on-HVM/IPF
...
This fixes PV-on-HVM drivers for ia64
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
2006-12-20 08:53:42 -07:00
Ian Campbell
b23fab8e20
[LINUX] Import kasprintf patch from upstream.
...
kasprintf has been merged upstream with a slightly different protoype
to the one in Xen. Import this patch and fixup the Xen tree to fit.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-11-27 13:50:02 +00:00
kaf24@localhost.localdomain
00a70f44a6
[HVM] Update VPIC device model for new interrupt delivery code.
...
Move BSP VLAPIC initialisation to hvmloader.
Remove callback_irq update hack from Linux unmodified drivers.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-11-26 13:37:27 +00:00
kfraser@localhost.localdomain
51d3ca60cb
[IA64] Change callback_irq spec of PV-on-HVM for IPF
...
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com >
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-11-22 10:25:21 +00:00
Steven Smith
05d0526432
[PV-ON-HVM] Correct some out of date documentation.
...
Noticed-by: Nowatzki, Thomas L <Thomas.Nowatzki@UNISYS.com >
Signed-off-by: Steven Smith <sos22@cam.ac.uk >
2006-11-15 08:54:16 +00:00
Ian Campbell
4101fafcc0
PV-on-HVM: Tweak reboot.c to be compatible with older kernels.
...
call_usermodehelper_keys() was not available until 2.6.13 but since we
pass session_keyring as NULL we may as well use call_usermodehelper()
anyway.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-11-02 11:56:26 +00:00
Ian Campbell
d8656aaa3e
PV-on-HVM: Fix PV-on-HVM drivers for IA64.
...
Thanks to Kasai Takanori and Doi Tsunehisa for testing.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-11-02 11:56:26 +00:00
Ian Campbell
0d7658072a
PV-on-HVM: Use ln -nsf in mkbuildtree to avoid creating a symlink loop
...
if include/xen/interfaces already exists.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com >
2006-11-02 11:56:26 +00:00
Steven Smith
69ff2305bb
Merge.
2006-10-31 11:44:47 +00:00
Steven Smith
47132af16f
[PV-ON-HVM] Don't generate lots of spurious interrupts when using event
...
channel upcalls.
The issue here was that the Xen platform PCI interrupt is only updated
when you return from the hypervisor into guest context, and so remained
asserted for a short interval after the interrupt handler ran. If
it happened that the first subsequent trap to the hypervisor was
for unmasking the 8259 interrupt again, the unmasking caused the interrupt
to be reinjected. This caused an edge on the chaining interrupt from
the slave PIC to the master. The platform interrupt on the slave
would then be cleared as we returned to the guest, and so you
eventually end up injecting an interrupt on the master chained
interrupt with nothing pending on the slave, which shows up as
a spurious interrupt in the guest.
Signed-off-by: Steven Smith <sos22@cam.ac.uk >
2006-10-31 11:38:55 +00:00
Steven Smith
65ae4fc8cd
[HVM][LINUX][TOOLS] Make xm {shutdown|reboot} do something sensible for HVM
...
domains with PV drivers loaded. This patch creates a new PV-on-HVM
module, reboot.ko, which, when loaded, creates control/reboot_module
in the store. The tools notice this, and disable the watch which would
normally destroy HVM domains which are the target of an xm shutdown
command, allowing the reboot module to shut the domain down cleanly.
Signed-off-by: Tetsu Yamamoto <yamamoto.tetsu@jp.fujitsu.com >
(Checkin comments by Steven Smith <sos22@cam.ac.uk >)
2006-10-31 09:54:49 +00:00
awilliam@xenbuild.aw
506aac287c
merge with xen-unstable.hg
2006-10-25 12:12:01 -06:00