]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Introduce pr-manager-helper capability
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 19 Feb 2018 06:41:25 +0000 (07:41 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 11 May 2018 07:02:56 +0000 (09:02 +0200)
The capability tracks if qemu has pr-manager-helper object. At
this time don't actually detect if qemu has the capability. Not
just yet. Only after the code is written the feature will be
enabled.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h

index 920a5961764d6b597cc799a7a691b10fbbed3a00..58ac3571821bf328aa421dfe92df85b44611fe7e 100644 (file)
@@ -475,6 +475,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
               "disk-write-cache",
               "nbd-tls",
               "tpm-crb",
+              "pr-manager-helper",
     );
 
 
index b9628b82663b5c87598eb757b5a97bddf7081ba8..6e3e2e0003402a4231a50e536cbf5402ed361403 100644 (file)
@@ -459,6 +459,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
     QEMU_CAPS_DISK_WRITE_CACHE, /* qemu block frontends support write-cache param */
     QEMU_CAPS_NBD_TLS, /* NBD server supports TLS transport */
     QEMU_CAPS_DEVICE_TPM_CRB, /* -device tpm-crb */
+    QEMU_CAPS_PR_MANAGER_HELPER, /* -object pr-manager-helper */
 
     QEMU_CAPS_LAST /* this must always be the last item */
 } virQEMUCapsFlags;