Re: [PATCH] qemu: Don't drop hostdev config until security label restore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/15/2011 10:12 AM, Michal Privoznik wrote:
> Currently, on device detach, we parse given XML, find the device
> in domain object, free it and try to restore security labels.
> However, in some cases (e.g. usb hostdev) parsed XML contains
> less information than freed device. In usb case it is bus & device
> IDs. These are needed during label restoring as a symlink into
> /dev/bus is generated from them. Therefore don't drop device
> configuration until security labels are restored.
> ---
>  src/qemu/qemu_hotplug.c |   38 ++++++++++++++++++++++++++------------
>  src/qemu/qemu_hotplug.h |    6 ------
>  2 files changed, 26 insertions(+), 18 deletions(-)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]