search for: all_devices_sxpr

Displaying 2 results from an estimated 2 matches for "all_devices_sxpr".

2013 May 24
3
[BUG, PATCH] xen-4.1-3 xend/XendDomainInfo.py#device_configure() TypeError
...s/xen/xend/XendDomainInfo.py", line 1214, in device_configure raise VmError("Device %s not connected" % devid) VmError: Device 768 not connected This is because devid="768" != dev=768: def _getDeviceInfo_vbd(self, devid): for dev_type, dev_info in self.info.all_devices_sxpr(): if dev_type != ''vbd'' and dev_type != ''tap'' and dev_type != ''tap2'': continue dev = sxp.child_value(dev_info, ''dev'') dev = dev.split('':'')[0] dev...
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
...else: # Boot using bootloader if not blexec or blexec == ''pygrub'': - blexec = ''/usr/bin/pygrub'' + blexec = osdep.pygrub_path blcfg = None for (devtype, devinfo) in self.info.all_devices_sxpr(): diff --git a/tools/python/xen/xend/osdep.py b/tools/python/xen/xend/osdep.py --- a/tools/python/xen/xend/osdep.py +++ b/tools/python/xen/xend/osdep.py @@ -29,8 +29,13 @@ _xend_autorestart = { "SunOS": False, } +_pygrub_path = { + "SunOS": "/usr/lib/xen/bin/pyg...