search for: dominfo

Displaying 20 results from an estimated 130 matches for "dominfo".

2005 Sep 13
1
[RESEND] [PATCH] Call dominfo.device_delete instead of non-existant dominfo.device_destroy
This is a resend on the patch from late last week as I haven''t seen it in the changelog yet. Comments welcomed if there is an issue with the patch. -Sean -- __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net
2005 Sep 09
0
[PATCH] Call dominfo.device_delete instead of non-existant dominfo.device_destroy
...), 1 deletion(-) diff -r 41a74438bcba tools/python/xen/xend/XendDomain.py --- a/tools/python/xen/xend/XendDomain.py Fri Sep 9 18:36:48 2005 +++ b/tools/python/xen/xend/XendDomain.py Fri Sep 9 14:46:01 2005 @@ -667,7 +667,7 @@ @param type: device type """ dominfo = self.domain_lookup(id) - val = dominfo.device_destroy(type, devid) + val = dominfo.device_delete(type, devid) dominfo.exportToDB() return val -- __________________________________________________________________ Sean Dague...
2012 Sep 06
7
[PATCH] xl: Introduce shutdown xm compatibility option -a to shutdown all domains
...r 67f9ef649937 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Mon Sep 03 11:22:02 2012 +0100 +++ b/tools/libxl/xl_cmdimpl.c Thu Sep 06 12:04:12 2012 +0200 @@ -3670,14 +3670,20 @@ int main_destroy(int argc, char **argv) int main_shutdown(int argc, char **argv) { - int opt; + libxl_dominfo *dominfo; + char *domname; + int opt, i, nb_domain; + int all = 0; int wait = 0; int fallback_trigger = 0; - while ((opt = def_getopt(argc, argv, "wF", "shutdown", 1)) != -1) { + while ((opt = def_getopt(argc, argv, "awF", "shutdown&quot...
2015 Jul 24
0
Re: virsh dominfo does not show correct cpuTime
...$3+$4+$5+$6+$7+$8+$9+$10}'` > > > ------------------ 原始邮件 ------------------ > *发件人:* "changqian zuo";<zuochangqian@gmail.com>; > *发送时间:* 2015年7月24日(星期五) 中午1:51 > *收件人:* "libvirt-users"<libvirt-users@redhat.com>; > *主题:* [libvirt-users] virsh dominfo does not show correct cpuTime > > Hi, > > I am doing some domain resource monitoring work. I use > > cat /dev/urandom | md5sum > > to simulate vCPU load and write a script to calculate vCPU utilization. It > seems all good at the beginning. After I abort the ``cat ... m...
2015 Jul 24
0
virsh dominfo does not show correct cpuTime
Hi, I am doing some domain resource monitoring work. I use cat /dev/urandom | md5sum to simulate vCPU load and write a script to calculate vCPU utilization. It seems all good at the beginning. After I abort the ``cat ... md5sum`` command in domain, I see some strange data as below: CPU time: 8410960000000 CPU util: 99.8410609331% CPU time: 8411970000000 CPU util: 100.843672381% CPU time:
2018 Nov 09
0
virsh dominfo not returning any stats
Hi there,  We're running virsh on centos and hit a couple of issues. First instance is cpu.time not incrementing even with the VMs on the hypervisor running a stress tool. After running 'virsh domstats' sometimes it'll go into a state where no output is generated at all. Have anyone seen something like this? We're running a pretty recent build of libvirt.  # virsh
2013 Mar 25
0
Bug in DOMINFO command when balloon driver is used on a vm with more then 8 GB of MaxMemory ?
...t here because is absolutely possible i am doing something wrong and someone here will see it . Description of the problem: When the virsh setmem command is used to inflate (or deflate) the balloon on a VM to which 8GB of MaxMemory or more are allocated then the information reported with virsh dominfo , virsh dumpxml after the balloon change has been performed are wrong. The actual balloon is inflated correctly though and that is verifiable both in the vm itself and through the "virsh dommemstat" commands. Platform is Centos 6.4 (problem was present in 6.3 as well starting with libv...
2012 Feb 08
4
remus fail with SMP domU
...l last): File "/usr/lib/xen-4.1/lib/python/remus", line 219, in <module> run(cfg) File "/usr/lib/xen-4.1/lib/python/remus", line 109, in run dom = vm.VM(cfg.domid) File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 32, in __init__ self.loaddominfo() File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 35, in loaddominfo self.dom = parsedominfo(self.dominfo) File "/usr/lib/xen-4.1/lib/python/xen/remus/vm.py", line 77, in parsedominfo return s2d(dominfo[1:]) File "/usr/lib/xen-4.1/lib/python/xen/remus...
2016 Mar 18
3
Incorrect memory usage returned from virsh
When I run `virsh dominfo <domain>` I get the following: Id: 455 Name: instance-000047e0 UUID: 50722aa0-d5c6-4a68-b4ef-9b27beba48aa OS Type: hvm State: running CPU(s): 4 CPU time: 123160.4s Max memory: 33554432 KiB Used memory: 33554432 KiB Persiste...
2008 Jan 25
0
[PATCH] libxc/makefiles - Use VPATH
...2008 +0100 @@ -31,20 +31,11 @@ GUEST_SRCS-$(CONFIG_MIGRATE) += xc_domai GUEST_SRCS-$(CONFIG_MIGRATE) += xc_domain_restore.c xc_domain_save.c GUEST_SRCS-$(CONFIG_HVM) += xc_hvm_build.c -# symlink libelf from xen/common/libelf/ -LIBELF_SRCS := libelf-tools.c libelf-loader.c -LIBELF_SRCS += libelf-dominfo.c libelf-relocate.c +VPATH = ../../xen/common/libelf +CFLAGS += -I../../xen/common/libelf -libelf-tools.o: libelf-tools.c libelf-private.h -libelf-loader.o: libelf-loader.c libelf-private.h -libelf-dominfo.o: libelf-dominfo.c libelf-private.h -libelf-relocate.o: libelf-relocate.c libelf-private.h...
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/XendCh...
2015 Apr 10
2
Detecting that the VM is snapshoting
While taking or reverting a snapshot, using virsh --connect qemu:///system dominfo, the state of a VM is paused. Is there a way to distinguish this state (snapshotting) with virsh or any other tools? Joaquín
2011 Dec 09
2
How to list virt machine size with virsh?
...achine from xen to kvm. The stability of the machine is much better (too much crashes with xen). I was used to do a "xm list" to get a list of clients. On the KVM machine I need to do a "virsh list". What I miss in that overview is the memory size of clients. I found "virsh dominfo <client>" but that is for just that one client (and I have several running). The same question for "xm top". I found that there seems to exist virt-top, but I could not find this in a repository for Centos5. virt-manager is a little overkill on this machine (it does work thoug...
2009 Jun 19
0
Re: [libvirt] domain.info() sometimes returns state zero for running machines
...time to dig deeper but it seems to me that this happens very seldom or sometimes not at all (hard to debug). Daniel P. Berrange wrote: > On Thu, Jun 18, 2009 at 09:40:08AM +0100, Andreas Sommer wrote: > >> I executed the commands "export LIBVIRT_DEBUG=1" and "virsh dominfo 2" >> (ID 2 was a running domU), this is the output: >> >> ----------------------------------------------------------------------------------------- >> DEBUG: libvirt.c: virInitialize (register drivers) >> DEBUG: xen_internal.c: xenHypervisorInit (Using new hyper...
2005 Jun 07
3
Error while creating domains
...P<mode>[ow])[,\)]'') TypeError: cannot concatenate ''str'' and ''NoneType'' objects op_create> Exception creating domain: Traceback (most recent call last): File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 63, in op_create dominfo = self.xd.domain_create(config) File "/usr/lib/python/xen/xend/XendDomain.py", line 282, in domain_create dominfo = XendDomainInfo.vm_create(config) File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 153, in vm_create vm.construct(config) File "/usr/lib/p...
2014 Jul 11
2
LibVirt + QEMU & no-shutdown
...0 (Debian 2.0.0+dfsg-4~bpo70+1), Copyright (c) 2003-2008 Fabrice Bellard It's all working perfectly, including ACPI: virsh shutdown guest. However when I issue "halt" from the guest, the guest stops but libvirt thinks it is still running: (virsh list outputs state: running). virsh dominfo does the same thing: State: running I believe this is due to the -no-shutdown flag passed to qemu, making it stop the CPUs rather than halt entirely. Is this however a bug that the status is not updated correctly? I've taken a glance at the source and it should SIGTERM qemu when it sees the st...
2012 Dec 13
3
[PATCH] xenconsoled: use grant references instead of map_foreign_range
...watch_domain(d, false); - if (d->interface != NULL) - munmap(d->interface, getpagesize()); - d->interface = NULL; + domain_unmap_interface(d); if (d->xce_handle != NULL) xc_evtchn_close(d->xce_handle); d->xce_handle = NULL; @@ -736,6 +757,13 @@ void enum_domains(void) xc_dominfo_t dominfo; struct domain *dom; + if (enum_pass == 0) { + xcg_handle = xc_gnttab_open(NULL, 0); + if (xcg_handle == NULL) { + dolog(LOG_DEBUG, "Failed to open xcg handle: %d (%s)", + errno, strerror(errno)); + } + } enum_pass++; while (xc_domain_getinfo(xc, domid, 1, &a...
2010 Oct 24
1
Bug#601271: xen-utils-4.0: domain fails to reboot (AttributeError: 'NoneType' object has no attribute 'getBitSize')
...s retval = func(*args, **kwds) File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomainInfo.py", line 2528, in _constructDomain balloon.free(16*1024, self) # 16MB should be plenty File "/usr/lib/xen-4.0/lib/python/xen/xend/balloon.py", line 112, in free guest_size = dominfo.image.getBitSize() AttributeError: 'NoneType' object has no attribute 'getBitSize' [2010-10-23 17:48:59 1679] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=2 [2010-10-23 17:48:59 1679] ERROR (XendDomainInfo:128) Domain construction failed Traceback (most recent call last...
2013 Jan 27
1
Modifying Xen migration
...error. What am I doing wrong? Please have a look at the log below if it could be useful. Thanks a lot in advance! Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 211, in save forkHelper(cmd, fd, saveInputHandler, False, dominfo) File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 477, in forkHelper raise XendError("%s failed: popen failed" % string.join(cmd)) XendError: /usr/lib64/xen/bin/xc_save 23 1385 0 0 4 failed: popen failed [2013-01-18 15:54:48 xend.XendDomainInfo 11...
2011 Sep 13
3
Internal error during live migration saving
...cmd, fd, saveInputHandler, False) File "/usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 395, in forkHelper inputHandler(line, child.tochild) File "/usr/lib64/python2.6/site-packages/xen/xend/XendCheckpoint.py", line 131, in saveInputHandler dominfo.waitForSuspend() File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2998, in waitForSuspend raise XendError(msg) XendError: Timeout waiting for domain 77 to suspend [2011-09-13 13:50:06 3996] DEBUG (XendDomainInfo:3135) XendDomainInfo.resumeDomain(77) xe...