mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
qemu: Introduce QEMU_CAPS_VSERPORT_CHANGE
This capability tells if qemu is capable of vserport_change events. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
d5762cc034
commit
0a84286d8f
@ -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[] = {
|
||||
|
@ -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;
|
||||
|
||||
|
@ -159,4 +159,5 @@
|
||||
<flag name='rtl8139'/>
|
||||
<flag name='e1000'/>
|
||||
<flag name='virtio-net'/>
|
||||
<flag name='vserport-change-event'/>
|
||||
</qemuCaps>
|
||||
|
@ -169,4 +169,5 @@
|
||||
<flag name='virtio-input-host'/>
|
||||
<flag name='ich9-disable-s3'/>
|
||||
<flag name='ich9-disable-s4'/>
|
||||
<flag name='vserport-change-event'/>
|
||||
</qemuCaps>
|
||||
|
@ -170,4 +170,5 @@
|
||||
<flag name='virtio-input-host'/>
|
||||
<flag name='ich9-disable-s3'/>
|
||||
<flag name='ich9-disable-s4'/>
|
||||
<flag name='vserport-change-event'/>
|
||||
</qemuCaps>
|
||||
|
@ -172,4 +172,5 @@
|
||||
<flag name='chardev-file-append'/>
|
||||
<flag name='ich9-disable-s3'/>
|
||||
<flag name='ich9-disable-s4'/>
|
||||
<flag name='vserport-change-event'/>
|
||||
</qemuCaps>
|
||||
|
Loading…
x
Reference in New Issue
Block a user