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@scaltro.com>
This commit is contained in:
Keir Fraser committed 2009-11-23 07:12:06 +00:00
1 parent 998479ef8f
commit 0f761fab23
1 file changed
+3 -1
+3 -1
View File
@@ -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})
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.