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

[libvirt] [PATCH 0/2] Adjust order of calls during qemuDomainRemoveHostDevice



While reviewing patch:

http://www.redhat.com/archives/libvir-list/2016-March/msg00194.html

I noted that the order of operations during the code path was slightly
different and could cause issues if the reattachment code was called
first. It would seem that resetting the hostdev label and cgroup prior
to reattaching the device to the host would be a better corollary to
the attachment code path which detaches the devices from the host, then
sets the cgroup, then sets the hostdev label.

John Ferlan (2):
  qemu: Restore label before reattach device to host
  qemu: Tear down the cgroup before reattach device to host

 src/qemu/qemu_hotplug.c | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

-- 
2.5.5


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