[ 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.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-08-11 21:05:58 +00:00
1 parent 094f89109d
commit 19b77ba87c
1 file changed
+4 -2
+4 -2
View File
@@ -743,7 +743,8 @@ class XendDomainInfo:
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 @@ class XendDomainInfo:
"""
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.
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.