[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] Changing device owner
- From: Shahar Havivi <shaharh redhat com>
- To: Alex Williamson <alex williamson redhat com>
- Cc: libvirt-list redhat com
- Subject: Re: [libvirt] Changing device owner
- Date: Sat, 30 Jul 2011 17:19:20 +0300
On 30.07.11 07:20, Alex Williamson wrote:
> On Sat, 2011-07-30 at 12:12 +0300, Shahar Havivi wrote:
> > Alex,
> >
> > Regarding vdsm changing a device owner,
> > Last time I asked in #virt for using usb device in vdsm hook in
> > /dev/bus/usb/<addr> I was told that vdsm should change the owner to qemu:kvm.
> > So for the sr-iov device /sys/bus/pci/devices/<addr>/resource*, rom, and reset
> > libvirt should change the owner and not vdsm?
>
> I'm not in any position to say who should do what between vdsm and
> libvirt. However, the end result for device assignment to work with an
> unprivileged guest is that someone needs to change file ownership on
> those pci sysfs files before qemu is launched or before devices are hot
> added to a guest. libvirt does this for a purely libvirt managed guest.
> In the example we saw yesterday, nobody was doing it. Thanks,
>
> Alex
Ok,
as far as I know vdsm need to change its devices.
in our sr-iov example you change the reset and the resource* owner, did you
change any other file?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]