search for: child_value

Displaying 14 results from an estimated 14 matches for "child_value".

2005 Aug 11
0
[PATCH][VT][1/15] Fix config file parsing for VMX domains.
...;, ''serial'', ''macaddr'', ''stdvga'', ''isa'' ] + ''localtime'', ''serial'', ''stdvga'', ''isa'' ] ret = [] for a in dmargs: v = sxp.child_value(self.vm.config, a) @@ -312,20 +312,25 @@ ret.append("-%s" % a) ret.append("%s" % v) - # Handle hd img related options + # Handle disk/network related options devices = sxp.children(self.vm.config, ''device'') for device in...
2007 Jan 17
4
Two problems with DomU reboot (cmdline, duplicate domains)
Hi, just upgraded my testsystem to 3.0.4 (using the provided source rpm, xen-3.0.4.1-1.src.rpm, rebuilt it to run on non-PXE but no changes besides that, and it doesn''t look like the 3.0.4-testing HG has major differences so far?) and I have two problems with rebooting domains (xm reboot, or reboot from inside the domain). 1) the kernel-commandline keeps growing. On the first boot
2007 Jan 05
10
[PATCH 1/7] Fix pygrub path on Solaris
Fix for pygrub path on Solaris. Signed-off-by: John Levon <john.levon@sun.com> diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -37,7 +37,7 @@ from xen.util.blkif import blkdev_uname_ from xen.util.blkif import blkdev_uname_to_file from xen.util
2010 Aug 10
4
[PATCH] Values of cpu_weight and cpu_cap are lost after xend restart
...@@ -686,10 +686,12 @@ class XendConfig(dict): # Convert scheduling parameters to vcpus_params if ''vcpus_params'' not in cfg: cfg[''vcpus_params''] = {} - cfg["vcpus_params"]["weight"] = \ - int(sxp.child_value(sxp_cfg, "cpu_weight", 256)) - cfg["vcpus_params"]["cap"] = \ - int(sxp.child_value(sxp_cfg, "cpu_cap", 0)) + if not cfg["vcpus_params"].has_key("weight"): + cfg["vcpus_params"]["weight&qu...
2006 Sep 26
15
RE: Individual passwords for guest VNC servers ?
> Thanks all point about security, I''ll do as follows. > I thought that the point was the following two. > > > 1. Storage place of encrypted password > Should I store it in /etc/xen/passwd ? > Or, should I wait for DB of Xen that will be released in > the future? The xend life cycle management patches were posted by Alistair a couple of months back.
2013 May 24
3
[BUG, PATCH] xen-4.1-3 xend/XendDomainInfo.py#device_configure() TypeError
...t; != 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 = self.getDeviceController(dev_type).convertToDeviceNumber(dev) if devid == dev: return dev_info After applying the attached patch, I can successfully change the med...
2010 Feb 27
2
Xen 3.3.1 and Pv-grub don''t work
...return True, cmd(args) File "<string>", line 1, in <lambda> File "//usr/lib/python/xen/xm/main.py", line 1376, in xm_importcommand cmd.main([command] + args) File "//usr/lib/python/xen/xm/create.py", line 1328, in main do_console(sxp.child_value(config, ''name'', -1)) File "//usr/lib/python/xen/xm/create.py", line 1355, in do_console (p, rv) = os.waitpid(cpid, os.WNOHANG) OSError: [Errno 10] No child processes Messages in xend.log: ... [2010-02-28 01:38:36 4739] DEBUG (__init__:1072) Waiting for devices...
2005 Jun 07
8
[PATCH] add dom0 vcpu hotplug control
This patch adds new control messages for vcpu hotplug events. Via the xm vcpu_hotplug sub-program, VCPUS in domains can be enabled/disabled when CONFIG_HOTPLUG_CPU is enabled in the target domain''s kernel. Currently there is nothing that tracks whether a VCPU is up or down. My previous [1]patch added a new per-VCPU flag (VCPUF_down) which could be used to keep track of which VCPUS are
2005 Dec 04
0
[PATCH] Seperate VMX domainname argument to 2 parts to enable qemu-dm
...pend("-domain-name %s" % self.vm.info[''name'']) + ret = ret + ["-domain-name", "%s" % self.vm.info[''name'']] for (name, info) in deviceConfig: if name == ''vbd'': uname = sxp.child_value(info, ''uname'') _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2007 Sep 18
1
OSError Exception
...File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 1266, in xm_importcommand cmd.main([command] + args) File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 1292, in main do_console(sxp.child_value(config, ''name'', -1)) File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 1317, in do_console (p, rv) = os.waitpid(cpid, os.WNOHANG) OSError: [Errno 10] No child processes I also attached xend.log and domain-builder-ng.log files. I could not determine...
2008 Feb 02
1
OSError: [Errno 10] No child processes
...File "<string>", line 1, in <lambda> File "/usr/lib/python2.4/site-packages/xen/xm/main.py", line 1302, in xm_importcommand cmd.main([command] + args) File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 1298, in main do_console(sxp.child_value(config, ''name'', -1)) File "/usr/lib/python2.4/site-packages/xen/xm/create.py", line 1323, in do_console (p, rv) = os.waitpid(cpid, os.WNOHANG) OSError: [Errno 10] No child processes adding on_crash="preserve" to domU''s config and trying to attac...
2008 Sep 17
2
[Xen-ia64-devel] [PATCH] xm: Don''t spawn vncviewer twice.
...ception'' handler is to - # clean up create.py specific processes/data but since create.py does - # not know what to do with the error, it should pass it up. - import signal - if vncpid: - os.kill(vncpid, signal.SIGKILL) - raise dom = sxp.child_value(dominfo, ''name'') diff -r 2571ec1ddde1 tools/python/xen/xm/new.py --- a/tools/python/xen/xm/new.py Tue Sep 16 22:01:28 2008 +0900 +++ b/tools/python/xen/xm/new.py Wed Sep 17 16:57:45 2008 +0900 @@ -37,17 +37,11 @@ try: server.xend.domain.new(config) except xmlr...
2007 Feb 26
2
[PATCH 0 of 2] Parse image elfnotes, write them to xenstore, save and load via image sxpr
Here are two patches that let xm create, save and restore extract and preserve elfnotes read by the domain builder. This is handy for a few things. In particular, I''d like it so that xm can decide whether or not guest domains support fast resume (if save fails, or for checkpointing). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2006 Mar 07
8
[PATCH] xm,xend: flesh out xm sched-sedf
...Create a new virtual block device""" block_detach_help = """block-detach <DomId> <DevId> Destroy a domain''s virtual block device, @@ -377,6 +387,20 @@ } +def parse_sedf_info(info): + def get_info(n, t, d): + return t(sxp.child_value(info, n, d)) + + return { + ''dom'' : get_info(''domain'', int, -1), + ''period'' : get_info(''period'', int, -1), + ''slice'' : get_info(''slice'',...