Displaying 20 results from an estimated 1000 matches similar to: "virDomainMemoryStats available tags"
2015 Nov 02
1
Re: virDomainMemoryStats missing counters ...
Hi,
Thx for answer .
By using these releases ,
libvirt-gconfig-0.1.7-3.el7.x86_64
libvirt-daemon-config-nwfilter-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-storage-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-network-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-qemu-1.2.8-16.el7_1.3.x86_64
libvirt-daemon-driver-secret-1.2.8-16.el7_1.3.x86_64
2015 Oct 30
2
virDomainMemoryStats missing counters ...
Hi,
In which libvirt version are these virDomainMemoryStats() counters handled ?
VIR_DOMAIN_MEMORY_STAT_SWAP_OUT
VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULT
VIR_DOMAIN_MEMORY_STAT_MINOR_FAULT
VIR_DOMAIN_MEMORY_STAT_UNUSED
VIR_DOMAIN_MEMORY_STAT_AVAILABLE
Thanks.
Regards,
J.P. Ribeauville
P: +33.(0).1.47.17.20.49
.
Puteaux 3 Etage 5 Bureau 4
2015 Oct 30
0
GUEST Memory statistics secret revealed ...
Hi,
I'm wondering how to explain following metrics I got from libvirt,
regarding memory stats for the two GUESTS running on my host.
1) virDomainGetXMLDesc() shows these values :
memmax (1024000.000000) memcurrent(1024000.000000)
memmax (2048000.000000) .memcurrent(2048000.000000)
2) As values returned by virDomainMemoryStats(), I got these values :
2016 Feb 18
0
VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON meaning
Hi,
I'm wondering what means the VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON value .
On a Windows Guest , rammap tool gives me following information :
Driver Locked size 6.6 Giga
This value is relevant with virsh dominfo of this Guest (equal to Max memory - Used memory):
Max memory: 8704000 KiB
Used memory: 2097152 KiB
>From libvirt API , VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON
2015 Nov 09
2
availability of target type state within a dumpxml result
Hi,
I'm trying to find out what is the minimum release I need to use to have this field 'state' available ?
<channel type='unix'>
<source mode='bind' path='//var/lib/libvirt/qemu/dummy_agent'/>
<target type='virtio' name=dummy' state='connected'/>
<alias name='channel0'/>
<address
2014 Jul 03
3
memoryStats question
Hello,
I'm trying to get memory usage statistic inside a guest machine using
virDomainMemoryStats function at libvirt.
According to
http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
structure could have a lot of useful memory statistic but the amount of
parameters depends on the hypervisor and the driver.
However using KVM I'm able to get
2016 Jan 08
2
Re: operation forbidden Read Only Access
Hi,
I found an answer :
Use virConnectOpenAuth() instead of virConnectOpenReadOnly().
As my piece of code is running silently (without user connected) , by using virConnectOpenAuth() ,
is it possible to avoid to prompt user to get user /password ?
Thx.
J.P.
-----Message d'origine-----
De : libvirt-users-bounces@redhat.com [mailto:libvirt-users-bounces@redhat.com] De la part de
2014 Jul 03
2
Re: memoryStats question
At Thu, 3 Jul 2014 15:58:41 +0200,
Martin Kletzander wrote:
>
> On Thu, Jul 03, 2014 at 04:31:46PM +0300, Gleb Voronich wrote:
> >Hello,
> >
> >I'm trying to get memory usage statistic inside a guest machine using
> >virDomainMemoryStats function at libvirt.
> >According to
> >http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
2015 Aug 26
0
Re: On which /dev/pts/x is channel source
Hi,
I just tested by using "unix virtio" channel instead of pty.
It looks easier to handle.
Thx for help.
Regards,
J.P.
-----Message d'origine-----
De : libvirt-users-bounces@redhat.com [mailto:libvirt-users-bounces@redhat.com] De la part de libvirt-users-request@redhat.com
Envoyé : mercredi 26 août 2015 15:38
À : libvirt-users@redhat.com
Objet : libvirt-users Digest, Vol 68,
2015 Aug 26
2
Virtio serial exposition
Hi,
I try to exchange datas between host and Guest by adding these lines in a guest .xml conf file :
<channel type='pty'>
<target type='virtio' name='arbitrary.virtio.serial.port.name'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
Then
2012 Jul 18
1
virDomainMemoryStats call
Hi,
I'm using the API virDomainMemoryStats to fetch memory stats for a domain/guest on Fedora 16/RHEL 6.3 . I don't get these counters filled up
VIR_DOMAIN_MEMORY_STAT_UNUSED, VIR_DOMAIN_MEMORY_STAT_ACTUAL_BALLOON,VIR_DOMAIN_MEMORY_STAT_AVAILABLE , VIR_DOMAIN_MEMORY_STAT_MAJOR_FAULT and VIR_DOMAIN_MEMORY_STAT_MINOR_FAULT. The version of libvirt 0.9.11 on Fedora 16 . How to get all the
2014 Jul 03
2
Re: memoryStats question
On 07/03/2014 07:58 AM, Martin Kletzander wrote:
> On Thu, Jul 03, 2014 at 04:31:46PM +0300, Gleb Voronich wrote:
>> Hello,
>>
>> I'm trying to get memory usage statistic inside a guest machine using
>> virDomainMemoryStats function at libvirt.
>> According to
>> http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
>> structure
2016 Jan 12
2
vdsm hook issues
Hi,
1) is it enough to add a hook.py in /usr/libexec/vdsm/hooks/before_vm_start directory , and then shut down and reboot a guest to
see this hook.py invoked ?
2) when running manually my hook.py, I got following error :
ImportError: No module named hooking
Do I have to install anything to solve this issue ?
Thanks for help.
Regards,
J.P. Ribeauville
P:
2015 Sep 24
1
Guest cpuacct counters and others location
Hi,
My piece of code ( C langage) uses cgroups to retrieve counters related to cpu and memory usage related to KVM guests hosted by the host where this code runs.
I noticed that depending on the O.S. running on the host , these counters are not found at the same location :
CentOS 7 :
ls /sys/fs/cgroup/cpuacct/machine.slice/machine-qemu\\x2drhel6.0.scope/vcpu0
cgroup.clone_children
2014 Jul 03
0
Re: memoryStats question
On Thu, Jul 03, 2014 at 04:31:46PM +0300, Gleb Voronich wrote:
>Hello,
>
>I'm trying to get memory usage statistic inside a guest machine using
>virDomainMemoryStats function at libvirt.
>According to
>http://libvirt.org/html/libvirt-libvirt.html#virDomainMemoryStatTags the
>structure could have a lot of useful memory statistic but the amount of
>parameters depends on
2016 Jan 12
2
Re: libvirt-users Digest, Vol 73, Issue 12 ] Failure when attaching a device
Hi,
I think that issue is due to the fact that my Guest is a transient domain.
When shutting down it or migrating to another host , then virsh list --all doesn't show this Guest anymore.
How may I make this Guest a persistent one ?
( i.e. this Guest has been created via RHEV-M GUI)
Thx for hlep.
Regards,
J.P.
-----Message d'origine-----
De : libvirt-users-bounces@redhat.com
2015 Oct 29
2
How to retrieve legacy cgroups location ?
Hi,
As told in "Control Groups Resource Management" libvirt page :
Legacy cgroups layout
Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy libvirt/{qemu,lxc}/$VMNAME which was rooted at the point in the hierarchy where libvirtd itself was
2016 Jan 07
3
Unable to retrieve Guest IP Addresses via libvirt API
Hi ,
Despite the fact that my Guest has an IP address , by running this piece of code on a KVM host :
ifaces_count = F_virDomainInterfaceAddresses(domain, &ifaces,VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_LEASE, NULL);
ifaces_count = F_virDomainInterfaceAddresses(domain, &ifaces,VIR_DOMAIN_INTERFACE_ADDRESSES_SRC_AGENT, NULL);
I'm not able to get a ifaces_count different from
2015 Nov 04
2
Retrieving datas sent by host within the Guest
Hi,
I' trying to read datas sent by my KVM host within the Guest.
Host send these datas trough a channel UNIX type , by using AF_UNIX socket stuff.
If i try to retrive the datas by using such type of thing in the Guest :
#define NAME "/dev/virtio-ports/agent"
sock = socket(AF_UNIX, SOCK_STREAM, 0);
12 if (sock < 0) {
13 perror("opening stream socket");
2015 Oct 29
0
Re: How to retrieve legacy cgroups location ?
On Thu, Oct 29, 2015 at 10:40:44AM +0000, Jean-Pierre Ribeauville wrote:
>Hi,
>
>As told in "Control Groups Resource Management" libvirt page :
>Legacy cgroups layout
>Prior to libvirt 1.0.5, the cgroups layout created by libvirt was different from that described above, and did not allow for administrator customization. Libvirt used a fixed, 3-level hierarchy