Displaying 14 results from an estimated 14 matches for "getdomid".
2009 Sep 17
0
Bug#519064: affix to hvm migration fails because of missing /var/lib/xen/save
...loadvm',
'/var/lib/xen/qemu-save.6', '-vncviewer']
That path is not a part of any configuration, but hard-coded at
several points under /usr/lib/xen-3.2-1 :
lib/python/xen/xend/XendCheckpoint.py:115: if os.path.exists("/
var/lib/xen/qemu-save.%d" % dominfo.getDomid()):
lib/python/xen/xend/XendCheckpoint.py:117: qemu_fd =
os.open("/var/lib/xen/qemu-save.%d" % dominfo.getDomid(),
lib/python/xen/xend/XendCheckpoint.py:126: os.remove("/var/
lib/xen/qemu-save.%d" % dominfo.getDomid())
lib/python/xen/xend/XendCheckpoint....
2006 Aug 08
11
architecture-specific stuff in xend
Hi Ewan, I''m almost ready to integrate some PPC-specific stuff into
xend, and I was wondering if you had a plan for how that should work.
First example: the device tree data structure we talked about a few
weeks ago. We will need to pass the config data to PPC code, probably in
XendDomainInfo.initDomain(), and then pass the resulting data structure
into libxc''s xc_linux_load()
2008 Feb 28
0
[PATCH] Fix error message of xm suspend for Domain-0
...thon/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py Tue Feb 26 15:11:51 2008 +0000
+++ b/tools/python/xen/xend/XendDomain.py Thu Feb 28 14:23:39 2008 +0900
@@ -865,7 +865,7 @@ class XendDomain:
raise XendInvalidDomain(domname)
if dominfo.getDomid() == DOM0_ID:
- raise XendError("Cannot save privileged domain %s" % domname)
+ raise XendError("Cannot suspend privileged domain %s" % domname)
if dominfo._stateGet() != DOM_STATE_RUNNING:
raise VMBadState("Doma...
2008 Aug 26
0
[PATCH] xend: fix LinuxImageHandler debugging output
...)
+ log.debug("flags = %d", self.flags)
if arch.type == "ia64":
- log.debug("vhpt = %d", self.flags)
+ log.debug("vhpt = %d", self.vhpt)
return xc.linux_build(domid = self.vm.getDomid(),
memsize = mem_mb,
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2008 Nov 04
2
where is tools\xcutils\xc_save used?
I want to add some parameters when vm is migrated. As I can see , vmm will
use xc_domain_save(tools\libxc\Xc_domain_save.c) function ,and the main
function of xc_save.c is responsible for inputting parameters.
so I just want to know which function will use this executable file.
Thanks
Min Li
School of Computer Science and Technology
Cluster and Grid Computing Lab
Services Computing Technology
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled
functionality into the qemu-dm code. The general approach taken is to have
qemu-dm provide two machine types - one for xen paravirt, the other for
fullyvirt. For compatability the later is the default. The goals overall
are to kill LibVNCServer, remove alot of code duplication and/or parallel
impls of the same concepts, and
2007 Nov 28
0
[Xen-ia64-devel] [PATCH] Add guest_os_type domain config option
...geHandler(ImageHandler):
return args
def buildDomain(self):
+ # Encode OS type string into an integer w/ null padding
+ val = struct.unpack("Q",
+ self.guest_os_type[:8].lower().ljust(8, chr(0)))[0]
+ xc.hvm_set_param(self.vm.getDomid(), HVM_PARAM_GOS_TYPE, val)
+
store_evtchn = self.vm.getStorePort()
mem_mb = self.getRequiredInitialReservation() / 1024
diff -r c555a5f97982 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Wed Nov 28 13:36:56 2007 +0000
+++ b/tools/python/xen/xm/create.py Wed...
2008 Feb 27
0
PATCH: Make QEMU send logs to stderr
...ed == 0) {
diff -r 2a8eaba24bf0 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py Tue Feb 26 15:11:51 2008 +0000
+++ b/tools/python/xen/xend/image.py Wed Feb 27 15:26:53 2008 -0500
@@ -296,7 +296,34 @@ class ImageHandler:
{ ''dom'': self.vm.getDomid(), ''read'': True, ''write'': True })
log.info("spawning device models: %s %s", self.device_model, args)
# keep track of pid and spawned options to kill it later
- self.pid = os.spawnve(os.P_NOWAIT, self.device_model, args, env)
+
+...
2012 Sep 21
1
PATCH [base vtpm and libxl patches 3/6] Fix bugs in vtpm hotplug scripts
...d.XendDomain
+ xd = xen.xend.XendDomain.instance()
+ backdom_name = config.get(''backend'')
+ if backdom_name is None:
+ backdom = xen.xend.XendDomain.DOM0_ID
+ else:
+ bd = xd.domain_lookup_nr(backdom_name)
+ backdom = bd.getDomid()
+
+ if backdom != xen.xend.XendDomain.DOM0_ID:
+ self.hotplug = False
+
+ return DevController.createDevice(self, config)
+
def getDeviceDetails(self, config):
"""@see DevController.getDeviceDetails"""
_____________________________...
2009 Jan 19
2
Error on xm create: VmError: (38, ''Function not implemented'')
.../xend/image.py", line 168, in createDomain
result = self.buildDomain()
File "//usr/lib64/python/xen/xend/image.py", line 908, in buildDomain
self.setCpuid()
File "//usr/lib64/python/xen/xend/image.py", line 585, in setCpuid
xc.domain_set_policy_cpuid(self.vm.getDomid())
Error: (38, ''Function not implemented'')
[2009-01-19 17:17:42 21486] ERROR (XendDomainInfo:445) VM start failed
Traceback (most recent call last):
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 425, in start
XendTask.log_progress(31, 60, self._initDom...
2008 Oct 24
2
Bug#503287: xen-3: domU's wont start when the kernel arch is different as the xen-utils arch
...return self.createDomain()
File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/image.py", line 141, in createDomain
result = self.buildDomain()
File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/image.py", line 624, in buildDomain
xc.domain_set_memmap_limit(self.vm.getDomid(), mem_kb)
Error: (22, 'Invalid argument')
[2008-10-23 18:01:48 4211] ERROR (XendDomainInfo:440) VM start failed
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/bin/../lib/python/xen/xend/XendDomainInfo.py", line 420, in start
XendTask.log_progress(31, 60, self._...
2011 Jan 30
0
Stub domains broken in Xen 4.0?
...nitDomain
self._createDevices()
File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line
2444, in _createDevices
self.image.createDeviceModel()
File "/usr/lib64/python2.6/site-packages/xen/xend/image.py", line 603, in
createDeviceModel
% self.vm.getDomid())
TypeError: %d format: a number is required, not NoneType
[2011-01-30 12:45:24 3430] ERROR (XendDomainInfo:108) Domain construction
failed
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line
106, in create
vm.start()
File...
2006 Aug 01
18
[Patch] Enable "sysrq c" handler for domU coredump
Hi,
In the case of linux, crash_kexec() is occured by "sysrq c".
In the case of DomainU on xen, Help is occured by "sysrq c" now.
So The way of dumping DomainU''s memory manualy is nothing.
I fix this issue by the following way.
1. Panic is occured by "sysrq c" on both Domain0 and DomainU.
2. On DomainU, coredump is generated in /var/xen/dump (on Domain0).
2006 Mar 07
8
[PATCH] xm,xend: flesh out xm sched-sedf
...dDomain.py
--- a/tools/python/xen/xend/XendDomain.py Tue Mar 7 23:09:23 2006
+++ b/tools/python/xen/xend/XendDomain.py Tue Mar 7 17:18:16 2006
@@ -487,7 +487,17 @@
"""
dominfo = self.domain_lookup(domid)
try:
- return xc.sedf_domain_get(dominfo.getDomid())
+
+ sedf_info = xc.sedf_domain_get(dominfo.getDomid())
+ # return sxpr
+ return [''sedf'',
+ [''domain'', sedf_info[''domain'']],
+ [''period'',...