[libvirt] [PATCH 0/2] Don't overwrite security labels

Michal Privoznik mprivozn at redhat.com
Mon Jun 11 14:29:27 UTC 2012


If we have a running domain A with a PCI/USB device X passthrough,
and user wants to start domain B with again device X, we
reject start however, call qemuProcessStop to perform rollback.
This however does not do any rollback just cleanup therefore
rewrite labels on device X leaving domain A in silly situation.

Michal Privoznik (2):
  qemuProcessStop: Switch to flags
  qemu: Don't overwrite security labels

 src/qemu/qemu_driver.c    |   16 ++++++++--------
 src/qemu/qemu_migration.c |   20 +++++++++++++-------
 src/qemu/qemu_process.c   |   28 +++++++++++++++++-----------
 src/qemu/qemu_process.h   |    9 +++++++--
 4 files changed, 45 insertions(+), 28 deletions(-)

-- 
1.7.8.5




More information about the libvir-list mailing list