On 16.12.2011 16:07, Eric Blake wrote: > 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. > Thanks, pushed. -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list