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

Re: [libvirt] [PATCH v2 5/5] qemu: make qemu processes to retain capabilities



On 2011年12月22日 15:07, Taku Izumi wrote:

This patch revises qemuProcessStart() function for qemu
processes to retain arbitrary capabilities.

Signed-off-by: Taku Izumi<izumi taku jp fujitsu com>
Signed-off-by: Shota Hirae<m11g1401 hibikino ne jp>
---
  src/qemu/qemu_process.c |    1 +
  1 file changed, 1 insertion(+)

Index: libvirt/src/qemu/qemu_process.c
===================================================================
--- libvirt.orig/src/qemu/qemu_process.c
+++ libvirt/src/qemu/qemu_process.c
@@ -3145,6 +3145,7 @@ int qemuProcessStart(virConnectPtr conn,
                driver->clearEmulatorCapabilities);
      if (driver->clearEmulatorCapabilities)
          virCommandClearCaps(cmd);
+    virCommandAllowCap(cmd, vm->def->capabilities);

Looks fine, ACK


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