mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-13 08:58:33 +03:00
qemu: probe for -vnc power-control option support
Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
f84f04350b
commit
bad5280a53
@ -618,6 +618,9 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
"memory-backend-file.x-use-canonical-path-for-ramblock-id",
|
||||
"vnc-opts",
|
||||
"migration-param.block-bitmap-mapping",
|
||||
|
||||
/* 395 */
|
||||
"vnc-power-control",
|
||||
);
|
||||
|
||||
|
||||
@ -3300,6 +3303,7 @@ static struct virQEMUCapsCommandLineProps virQEMUCapsCommandLine[] = {
|
||||
{ "fw_cfg", "file", QEMU_CAPS_FW_CFG },
|
||||
{ "fsdev", "fmode", QEMU_CAPS_FSDEV_CREATEMODE }, /* Could have also checked fsdev->dmode */
|
||||
{ "vnc", "display", QEMU_CAPS_VNC_OPTS },
|
||||
{ "vnc", "power-control", QEMU_CAPS_VNC_POWER_CONTROL },
|
||||
};
|
||||
|
||||
static int
|
||||
|
@ -599,6 +599,9 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_VNC_OPTS, /* -vnc uses QemuOpts parser instead of custom code */
|
||||
QEMU_CAPS_MIGRATION_PARAM_BLOCK_BITMAP_MAPPING, /* block-bitmap-mapping in migrate-set-parameters */
|
||||
|
||||
/* 395 */
|
||||
QEMU_CAPS_VNC_POWER_CONTROL, /* -vnc power-control option */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
||||
|
@ -257,6 +257,7 @@
|
||||
<flag name='memory-backend-file.x-use-canonical-path-for-ramblock-id'/>
|
||||
<flag name='vnc-opts'/>
|
||||
<flag name='migration-param.block-bitmap-mapping'/>
|
||||
<flag name='vnc-power-control'/>
|
||||
<version>5002050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
|
Loading…
x
Reference in New Issue
Block a user