similar to: [libivrt-users] What features of kernel are required to support virDomainGetCPUStats?

Displaying 20 results from an estimated 500 matches similar to: "[libivrt-users] What features of kernel are required to support virDomainGetCPUStats?"

2012 May 28
1
What features of kernel are required to support virDomainGetCPUStats?
Hi, Weeks ago, I developed my app under ubuntu-11.10 (kernel 3.0) with lilbvirt-0.9.10. In my code , I used virDomainGetCPUStats to query cpu usage info of domains, and it worked well. However, today, I port my code to ubuntu-10.04.4 (kernel 2.6.32) with libvirt-0.9.10, I find the function virDomainGetCPUStats can't work and complains "this function is not supported by the connection
2013 Oct 15
0
virDomainGetCPUStats missing in Java API bindings ?
Hi All I am trying to get the performance statistics for KVM using Java bindings. I found some api's for getting memory stats but not able to find any for cpu stats. I found virDomainGetCPUStats which look like its going to return cpu stats for a VM at http://libvirt.org/html/libvirt-libvirt.html and http://libvirt.org/hvsupport.html . I couldnt find these methods getting called from java
2012 Apr 16
2
What does cpu_time returned by virDomainGetCPUStats mean?
hi, everyone. I find an 'interesting' thing involving virDomainGetCPUStats(). I call it for cpu usage consumed by a domain and get a array of virTypedParameter. My system is 2-core and hyperviser return 1 parameter per cpu. So the contents of the array is like this. virTypedParameter[0] { .fiedl = "cpu_time" .type = 4 .value.ul = 51640610899
2013 Nov 20
0
Re: libivrt issue report , 1.1.0 version, while migrate VMs between two hosts, is it solved or other way to avoid it, thanks
On 11/19/2013 06:58 PM, Guozhonghua wrote: > Libivrt 1.1.0 > Migrate VM between two hosts using shell scripts. Can you please retry with libvirt 1.1.4? There have been some bug fixes in this area, and it's not worth debugging old versions if the new version is already fixed. > This e-mail and its attachments contain confidential information from H3C, which is Such a disclaimer is
2013 Apr 19
1
problem when get the vm cpu stat
Hi all, I try to get vm cpu stat by function "virDomainGetCPUStats", when the vm Cpu usage is 100%, I can see from the vm shell by "top", when the info Get by the "virDomainGetCPUStats" show only the "cpu_time" increased, "user_time" and "system_time" was not changed at all. Is that correct ? How can I get the vm cpu usage?
2013 Dec 18
2
fuse in libivrt-lxc
Hi, I created an LXC domain via libvirt (on Fedora 20), but when I'm trying to mount a FUSE filesystem, like sshfs, I'm getting a following error: $ sshfs 172.30.15.2:/<mntdir> /<mntpoint> fuse: device not found, try 'modprobe fuse' first I see that there's no /dev/fuse device. Is there a way to make it work? Can I get it working via libvirt domain xml file
2013 Dec 19
0
Re: fuse in libivrt-lxc
On 12/19/2013 05:16 AM, Eldar Yusupov wrote: > Hi, > > I created an LXC domain via libvirt (on Fedora 20), but when I'm trying to mount a FUSE filesystem, like sshfs, I'm getting a following error: > > $ sshfs 172.30.15.2:/<mntdir> /<mntpoint> > fuse: device not found, try 'modprobe fuse' first > > I see that there's no /dev/fuse device.
2014 Jul 29
0
[libivrt-user]problem when using qemu 2.0.0 + libvirt 1.2.6
Hi I got a problem when using qemu 2.0.0 + libvirt 1.2.6 . It just can not define a kvm vm successfully , errors like this : # virsh define 5ab4f49c-c99f-4dbd-9d7d-17a946b4c5a7.xml error: Failed to define domain from 5ab4f49c-c99f-4dbd-9d7d-17a946b4c5a7.xml error: unknown OS type hvm after several tries, i found that Qemu2.0 /qemu-kvm1.2+ libvirt1.0.2 and lower version is ok Qemu2.0
2020 Oct 14
0
Re: libivrt client using python on windows
On 10/12/20 9:47 PM, Talha Jawaid wrote: > Hello, > > I want to run a python script on Windows to remotely control libvirt > running on a (Linux) server. This was all working fine while prototyping > stuff on the server but now I am having some trouble installing the > python module on windows (“pip install” fails). I struggled through > getting it to COMPILE but then ran
2013 Nov 20
2
libivrt issue report , 1.1.0 version, while migrate VMs between two hosts, is it solved or other way to avoid it, thanks
Libivrt 1.1.0 Migrate VM between two hosts using shell scripts. The issues is occurred about every 5 minutes, using gdb and the back trace is below: (gdb) c Continuing. [New Thread 0x7f78e7c11700 (LWP 48116)] [New Thread 0x7f78cf7fe700 (LWP 48129)] [New Thread 0x7f78ceffd700 (LWP 48306)] [New Thread 0x7f78ce7fc700 (LWP 62351)] [New Thread 0x7f78cdffb700 (LWP 62694)] Program received signal
2012 Apr 16
1
What's the precision of the domain cpu stats?
Hi, everyone I'm using libvirt and resort to virDomainGetCPUStats for cpu usage by one domain. In my system, Ubuntu-11.10 64bit with 2 cores and Qemu Hyperviser, this function returns something like this: virTypedParameter[0] { field: "cpu_time" type: 4 value.ul 51640610899 } virTypedParameter[1] {
2012 Aug 17
1
getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Hello, I'm trying to use libvirt as a non-root user to obtain statistics on the CPU usage by VMs using the Python API. I'm performing basically the following steps: import libvirt conn = libvirt.openReadOnly(None) dom = conn.lookupByUUIDString('268e38ea-1bc7-41e4-c19e-8eff682e58e4') dom.getCPUStats(True, 0) However, they result in the following error: libvir: QEMU Driver
2012 Apr 05
2
Is this Race Condition?
Hi, everyone I'm writing application using libvirt and I need call virDomainGetCPUStats to get domain cpu stats . I learn from API reference that this function has to be called when domain is running. So my question is if there is an atomic way to test the domain's state and get its stats? Or, it's ok to call this function when domain is not active, but caller just gets error
2014 Aug 12
1
Libvirt Java API to get CPU usage of VM (KVM)
Hi all libvirt-users, Is there a counterpart on Java of the function virDomainGetCPUStats that is based on C API? Because I am trying to create a program based on java to get the CPU usage of a Guest/Domain/VM in KVM using the Libvirt Java API. Honestly, I am having a hard time in starting my program. I have no idea where to start. I mean, what functions do I need to get the CPU usage of
2013 May 29
0
Help needed regarding "virsh cpu-stats test_vm"
Hi, We are implementing feature called CPU separation in the platform. So, guest VMs will have dedicated cores allocated using cgroups (cgroups hierachy related VMs managed by libvirt). virsh cpu-stats command is not working in our platform : virsh # cpu-stats test_vm error: Failed to virDomainGetCPUStats() error: Requested operation is not valid: cgroup CPUACCT controller is not mounted It
2010 Jun 25
1
[SPAM] The Infamous "Device 0 (vif) could not be connected. Hotplug scripts not working."
When I start my domU, I get the infamous and UNINFORMATIVE! error message: "Device 0 (vif) could not be connected. Hotplug scripts not working." What could be the cause? There are strange things occuring. When I boot the host, I can start zero, one or two VM before it happens (most often zero), and then no other VM may be started successfully. It fails the same whether I try to boot
2013 Feb 08
1
libvirt v1.0.2 fails to boot LXC container, but v1.0.0 works
Hello. tl;dr = v1.0.0 can boot my LXC containers, v.1.0.1 and v.1.0.2 fails. Paraphrased error message: "lxcContainerMountProcFuse:616 : Failed to mount ..../meminfo" I'd like to know if my host is misconfigured, or my domains, or ... why 1.0.2 and 1.0.1 are not working for me. I've been using libvirt for a while to manage QEMU instances. I have experimented with lxc.
2020 Jan 10
2
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
On Fri, Jan 10, 2020 at 02:15:10PM +0000, Daniel P. Berrangé wrote: > Do you use the libvirt "secret" APIs at all (disk encryption, network > disk auth passwords) ? If so you will need "libvirt-daemon-driver-secret" > too. How about any other libvirt sub-driver APIs ? Networking ? Host > dev, etc ? The full list of APIs we use is attached, assuming I got my
2013 Jan 23
0
linux-next: Tree for Jan 23 (hvc and virtio_console)
On 01/22/13 22:43, Stephen Rothwell wrote: > Hi all, > > Changes since 20130122: > on i386: drivers/built-in.o: In function `in_intr': virtio_console.c:(.text+0x14381e): undefined reference to `hvc_poll' virtio_console.c:(.text+0x14384a): undefined reference to `hvc_kick' drivers/built-in.o: In function `resize_console': virtio_console.c:(.text+0x143f8f): undefined
2013 Jan 23
0
linux-next: Tree for Jan 23 (hvc and virtio_console)
On 01/22/13 22:43, Stephen Rothwell wrote: > Hi all, > > Changes since 20130122: > on i386: drivers/built-in.o: In function `in_intr': virtio_console.c:(.text+0x14381e): undefined reference to `hvc_poll' virtio_console.c:(.text+0x14384a): undefined reference to `hvc_kick' drivers/built-in.o: In function `resize_console': virtio_console.c:(.text+0x143f8f): undefined