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:
adsharma@los-vmm.sc.intel.com committed 2005-08-09 11:06:45 -08:00
1 parent af58f384dc
commit 882b16c2e0
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.