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

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



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


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