]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Introduce QEMU_CAPS_VSERPORT_CHANGE
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 5 Jan 2016 13:05:15 +0000 (14:05 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 11 Jan 2016 16:17:52 +0000 (17:17 +0100)
This capability tells if qemu is capable of vserport_change
events.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_2.1.1-1.caps
tests/qemucapabilitiesdata/caps_2.4.0-1.caps
tests/qemucapabilitiesdata/caps_2.5.0-1.caps
tests/qemucapabilitiesdata/caps_2.6.0-1.caps

index 92f42dc75976fc3a8b5ae3e4d311e086f874bd51..4583a8a53e44007b483086a5616b42caca559fba 100644 (file)
@@ -311,6 +311,8 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
               "chardev-file-append",
               "ich9-disable-s3",
               "ich9-disable-s4",
+
+              "vserport-change-event", /* 210 */
     );
 
 
@@ -1482,6 +1484,7 @@ struct virQEMUCapsStringFlags virQEMUCapsEvents[] = {
     { "SPICE_MIGRATE_COMPLETED", QEMU_CAPS_SEAMLESS_MIGRATION },
     { "DEVICE_DELETED", QEMU_CAPS_DEVICE_DEL_EVENT },
     { "MIGRATION", QEMU_CAPS_MIGRATION_EVENT },
+    { "VSERPORT_CHANGE", QEMU_CAPS_VSERPORT_CHANGE },
 };
 
 struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
index 336031dd088d1015ae0d0a93079800392e9543ae..d0b941e85e84a8c90429c003e3feebe1bc6065a1 100644 (file)
@@ -339,6 +339,9 @@ typedef enum {
     QEMU_CAPS_ICH9_DISABLE_S3, /* -M q35 S3 BIOS Advertisement on/off */
     QEMU_CAPS_ICH9_DISABLE_S4, /* -M q35 S4 BIOS Advertisement on/off */
 
+    /* 210 */
+    QEMU_CAPS_VSERPORT_CHANGE, /* VSERPORT_CHANGE event */
+
     QEMU_CAPS_LAST /* this must always be the last item */
 } virQEMUCapsFlags;
 
index 1098dcf0404493bd3e741f45130767cf3e4cd941..332b85abeb2e62402925687cb42e1072c6a13963 100644 (file)
     <flag name='rtl8139'/>
     <flag name='e1000'/>
     <flag name='virtio-net'/>
+    <flag name='vserport-change-event'/>
   </qemuCaps>
index ffc09c686369442c574505bfca40cbadb6b683a0..97ac90118fbdf60bc7969e579b3261c2e0939df2 100644 (file)
     <flag name='virtio-input-host'/>
     <flag name='ich9-disable-s3'/>
     <flag name='ich9-disable-s4'/>
+    <flag name='vserport-change-event'/>
   </qemuCaps>
index 2a4f5c0ae67ec6c6587a28bf4a3f721477ea036b..1d49d9d236ee2bb9a74ffaa858c9d3f54e070361 100644 (file)
     <flag name='virtio-input-host'/>
     <flag name='ich9-disable-s3'/>
     <flag name='ich9-disable-s4'/>
+    <flag name='vserport-change-event'/>
   </qemuCaps>
index 944208e9cf7743f4f713d20860417ee3ecb212a3..10c07cdf27d5e6403197f8ca6708622c562df126 100644 (file)
     <flag name='chardev-file-append'/>
     <flag name='ich9-disable-s3'/>
     <flag name='ich9-disable-s4'/>
+    <flag name='vserport-change-event'/>
   </qemuCaps>