This commit is contained in:
emellor@ewan committed 2005-09-21 15:25:58 +01:00
commit 1bb7afe544
20 files changed
+786 -217

No files matched your search

+2
View File
@@ -24,6 +24,8 @@ def runscript(cmd):
r = p.poll()
for (fd, event) in r:
if event == select.POLLHUP:
cout.close()
cerr.close()
return stdout
if fd == cout.fileno():
stdout = stdout + cout.readline()
+1 -1
View File
@@ -324,7 +324,7 @@ class VmxImageHandler(ImageHandler):
# xm config file
def parseDeviceModelArgs(self, imageConfig, deviceConfig):
dmargs = [ 'cdrom', 'boot', 'fda', 'fdb',
'localtime', 'serial', 'stdvga', 'isa' ]
'localtime', 'serial', 'stdvga', 'isa', 'vcpus' ]
ret = []
for a in dmargs:
v = sxp.child_value(imageConfig, a)
+1 -1
View File
@@ -42,7 +42,7 @@ class BlkifController(DevController):
typedev = sxp.child_value(config, 'dev')
if re.match('^ioemu:', typedev):
return
return (0,{},{})
devid = blkif.blkdev_name_to_number(sxp.child_value(config, 'dev'))
+1 -1
View File
@@ -39,7 +39,7 @@ class TPMifController(DevController):
"""@see DevController.getDeviceDetails"""
devid = int(sxp.child_value(config, 'instance', '0'))
log.error("The domain has a TPM with instance %d." % devid)
log.debug("The domain has a TPM with instance %d." % devid)
back = { 'instance' : "%i" % devid }
front = { 'handle' : "%i" % devid }
+1 -1
View File
@@ -496,7 +496,7 @@ def configure_vfr(opts, config, vals):
def configure_vmx(opts, config_image, vals):
"""Create the config for VMX devices.
"""
args = [ 'memmap', 'device_model', 'cdrom',
args = [ 'memmap', 'device_model', 'vcpus', 'cdrom',
'boot', 'fda', 'fdb', 'localtime', 'serial', 'macaddr', 'stdvga',
'isa', 'nographic', 'vnc', 'vncviewer', 'sdl', 'display']
for a in args:
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.