aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/xen/xend/image.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/python/xen/xend/image.py')
-rw-r--r--tools/python/xen/xend/image.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py
index f1464ac1f2..f3768b4612 100644
--- a/tools/python/xen/xend/image.py
+++ b/tools/python/xen/xend/image.py
@@ -971,6 +971,13 @@ class HVMImageHandler(ImageHandler):
xc.hvm_set_param(self.vm.getDomid(), HVM_PARAM_STORE_EVTCHN,
store_evtchn)
+ console_mfn = xc.hvm_get_param(self.vm.getDomid(), HVM_PARAM_CONSOLE_PFN)
+ xc.gnttab_hvm_seed(domid = self.vm.getDomid(),
+ console_gmfn = console_mfn,
+ xenstore_gmfn = rc['store_mfn'],
+ console_domid = 0,
+ xenstore_domid = 0)
+
return rc