Skip to contentSkip to conversation

Don't attempt to create paravirtualized devices for VMX domains for now.

PATCH New Arun Sharma 1 participant 1 message Aug 11, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 11/15 Don't attempt to create paravirtualized devices for VMX domains for now.

[ We'll try to get in a proper fix into 3.0 - this is just the backup plan]

Don't attempt to create paravirtualized devices for VMX domains for now.

tools/python/xen/xend/XendDomainInfo.py +4 -2
diff -r b6b29a9176d9 -r ac8cae1f2c47 tools/python/xen/xend/XendDomainInfo.py
@@ -743,7 +743,8 @@
             for ctrl in self.getDeviceControllers():
                 ctrl.initController(reboot=True)
         else:
-            self.create_configured_devices()
+	    if self.image.ostype != 'vmx':
+                self.create_configured_devices()
         if not self.device_model_pid:
             self.device_model_pid = self.image.createDeviceModel()
 
@@ -915,7 +916,8 @@
         """
         self.configure_fields()
         self.create_devices()
-        self.create_blkif()
+	if self.image.ostype != 'vmx':
+            self.create_blkif()
 
     def create_blkif(self):
         """Create the block device interface (blkif) for the vm.