ia64/xen-unstable

changeset 6121:ee8df88e5f7e

[ 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>
author kaf24@firebug.cl.cam.ac.uk
date Thu Aug 11 21:05:58 2005 +0000 (2005-08-11)
parents 5608c11ba2d8
children 3f1f7cf07369
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Thu Aug 11 21:05:21 2005 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Thu Aug 11 21:05:58 2005 +0000
     1.3 @@ -743,7 +743,8 @@ class XendDomainInfo:
     1.4              for ctrl in self.getDeviceControllers():
     1.5                  ctrl.initController(reboot=True)
     1.6          else:
     1.7 -            self.create_configured_devices()
     1.8 +	    if self.image.ostype != 'vmx':
     1.9 +                self.create_configured_devices()
    1.10          if not self.device_model_pid:
    1.11              self.device_model_pid = self.image.createDeviceModel()
    1.12  
    1.13 @@ -915,7 +916,8 @@ class XendDomainInfo:
    1.14          """
    1.15          self.configure_fields()
    1.16          self.create_devices()
    1.17 -        self.create_blkif()
    1.18 +	if self.image.ostype != 'vmx':
    1.19 +            self.create_blkif()
    1.20  
    1.21      def create_blkif(self):
    1.22          """Create the block device interface (blkif) for the vm.