[libvirt-users] File permissions on VNC unix sockets

2014-08-07 Thread Landon Gilbert-Bland
I am using kvm libvirt/qemu, and am trying to get VNC working with unix sockets. I'm using the following in my XML: This works, it creates the unix socket and I can use it for VNC. But it creates the socket with 755 permissions, and owned by libvirt-qemu:kvm. Ideally, I would like it to be 770 r

Re: [libvirt-users] Understanding Libvirt Java API in order to get CPU usage of a VM

2014-08-07 Thread Richard W.M. Jones
On Thu, Aug 07, 2014 at 01:01:56AM -0700, Restituto Marcus Arevalo wrote: > I'm having a problemin understanding the Libvirt Java API. Here is my > sourcein reading some of the classes: http://libvirt.org/sources/java/javadoc/ > > I have no idea where to start in order for me to get the CPU usage

[libvirt-users] Passing literal -cpu model string to qemu

2014-08-07 Thread Richard W.M. Jones
On aarch64 with -M virt, the default CPU model is cortex-a15 (a 32 bit CPU). This is IMHO a stupid default, but there we are. Therefore most users will need to pass the `-cpu cortex-a53' or `-cpu cortex-a57' flag to qemu, depending on a complex formula of their host CPU and if they are using TCG

Re: [libvirt-users] [help] Does "virsh blockpull" works on live virtual machine

2014-08-07 Thread chenyan...@keytonecloud.com
Thanks, Eric! However, I met more problems today. I tried blockpull with an test env. And virsh command returned an error: error: failed to query job for disk /test/over_5_1.qcow2 error: internal error: client socket is closed error: One or more references were leaked after disconnect from the hyp

[libvirt-users] Understanding Libvirt Java API in order to get CPU usage of a VM

2014-08-07 Thread Restituto Marcus Arevalo
I'm having a problemin understanding the Libvirt Java API. Here is my sourcein reading some of the classes: http://libvirt.org/sources/java/javadoc/ I have no idea where to start in order for me to get the CPU usage. Can anybody help? Or at least give me some points on where to start in order fo