# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1258960326 0
# Node ID be9b8be3c6487c5ea8b19f34ebf23e8d355f8960
# Parent 6337fca82512e59dc93b2ab8ebcf85e4b6806156
xend: Add support for XCP Windows PV drivers
This patch adds support for XCP Windows paravirtual drivers to run on
Xen. The drivers are currently provided in binary-only format from
Citrix. At a minimum, this patch is useful for performance comparisons
vs GPLPV drivers.
Live migration and save/resume are functional but set the guest clock
to the 1970's. The clock must be manually adjusted for the guest's ntp
to resume accurate timekeeping.
Before rebooting windows at the end of driver installation create the
registry key
HKLM\System\CurrentControlSet\Services\xenevtchn\Parameters. Add to it
a DWORD called SetFlags with a value of 0x10000000.
Signed-off-by: Keith Coleman <keith@xxxxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
diff -r 6337fca82512 -r be9b8be3c648 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Mon Nov 23 07:10:56 2009 +0000
+++ b/tools/python/xen/xend/XendDomainInfo.py Mon Nov 23 07:12:06 2009 +0000
@@ -1654,7 +1654,9 @@ class XendDomainInfo:
t.set_permissions({'dom' : self.domid, 'read' : True})
t.write('vm', self.vmpath)
# NB. Solaris guests use guest/ and hvmpv/ xenstore directories
- for i in [ 'device', 'control', 'error', 'memory', 'guest', 'hvmpv' ]:
+ # XCP Windows paravirtualized guests use data/
+ for i in [ 'device', 'control', 'error', 'memory', 'guest', \
+ 'hvmpv', 'data' ]:
t.mkdir(i)
t.set_permissions(i, {'dom' : self.domid})
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|