Re: [libvirt-users] LXC + USB passthrough = Operation not permitted

2014-04-14 Thread WANG Cheng D
Hi Filip, I just checked about my machine. 1) Just like you said, in my container, the read/write permission of the exposed PCIe device is also different from the host machine. Only the root can read/write the PCIe card. Other users/groups are not allowed to access the card. 2) Both

Re: [libvirt-users] Changing dnsmasq DNS settings for virtual machines

2014-04-14 Thread Johannes Kastl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Laine, thanks for the fast answer. On 14.04.14 11:23 Laine Stump wrote: > On 04/13/2014 10:23 PM, Johannes Kastl wrote: [/var/lib/libvirt/dnsmasq/.conf] >> I was just not sure if this gets overwritten, each time I change >> a setting in the netw

Re: [libvirt-users] LXC + USB passthrough = Operation not permitted

2014-04-14 Thread Filip Maj
I'd also like to point out that, when setting up a linux container with _just_ the lxc tools available in ubuntu, all that was needed to be done was whitelist the appropriate cgroups for the Android devices. The lxc tools seem to create the appropriate character devices when you detach/attach the A

Re: [libvirt-users] LXC + USB passthrough = Operation not permitted

2014-04-14 Thread Filip Maj
So, if I remove the hostdev element related to the USB device, running `lsusb` and `usb-devices` inside the container lists the proper device, but I do not see the appropriate character device bus for the Android device under /dev/bus/usb. We are not entirely sure that `lsusb` and `usb-devices` que

Re: [libvirt-users] Is it possible to get the vm which is using a storage pool's volume?

2014-04-14 Thread Eric Blake
On 04/14/2014 02:52 AM, Pasquale Dir wrote: > Hello, > how can I programmatically get the vm which is currently using a storage > volume? I looked at the apis but I can't find anything about it. No one has contributed such an API yet, although I think it would be a welcome addition. For now, the

Re: [libvirt-users] libvirt and glusterfs integrate problem

2014-04-14 Thread Eric Blake
On 04/13/2014 08:45 PM, lyz_pro wrote: > Hi everyone > > I have a problem when use libvirt and glusterfs. > When I use libvirt to start a vm with glusterfs disk. the operation will > block. I've seen similar reports; the problem is in glusterfs and not in libvirt. Something in qemu's use of gl

Re: [libvirt-users] Changing dnsmasq DNS settings for virtual machines

2014-04-14 Thread Laine Stump
On 04/13/2014 10:23 PM, Johannes Kastl wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Laine, > > thanks for the answer. > > On 13.04.14 16:13 Laine Stump wrote: > >> There is no provision for that. If you want additional hosts to be >> known by the libvcirt instance of dnsmasq, you

[libvirt-users] Is it possible to get the vm which is using a storage pool's volume?

2014-04-14 Thread Pasquale Dir
Hello, how can I programmatically get the vm which is currently using a storage volume? I looked at the apis but I can't find anything about it. Pasquale ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libv

Re: [libvirt-users] libvirt Java - vmware (esx driver)

2014-04-14 Thread Mihai Cazacu
It seems that I need to compile the libvirt with "esx" support. ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users