spice: increase the verbosity of spice section in "qemu --help"
PATCH 1/1 spice: increase the verbosity of spice section in "qemu --help"
Added all spice options to the help string. This can be used by libvirt to determine which spice related features are supported by qemu.
--- qemu-options.hx | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-)
qemu-options.hx +17 -1
@@ -835,7 +835,23 @@ Enable SDL. ETEXI DEF("spice", HAS_ARG, QEMU_OPTION_spice, - "-spice <args> enable spice\n", QEMU_ARCH_ALL) + "-spice [port=port][,tls-port=secured-port][,x509-dir=<dir>]\n" + " [,x509-key-file=<file>][,x509-key-password=<file>]\n" + " [,x509-cert-file=<file>][,x509-cacert-file=<file>]\n" + " [,x509-dh-key-file=<file>][,addr=addr][,ipv4|ipv6]\n" + " [,tls-ciphers=<list>]\n" + " [,tls-channel=[main|display|cursor|inputs|record|playback]]\n" + " [,plaintext-channel=[main|display|cursor|inputs|record|playback]]\n" + " [,sasl][,password=<secret>][,disable-ticketing]\n" + " [,image-compression=[auto_glz|auto_lz|quic|glz|lz|off]]\n" + " [,jpeg-wan-compression=[auto|never|always]]\n" + " [,zlib-glz-wan-compression=[auto|never|always]]\n" + " [,streaming-video=[off|all|filter]][,disable-copy-paste]\n" + " [,agent-mouse=[on|off]][,playback-compression=[on|off]]\n" + " [,seamless-migration=[on|off]]\n" + " enable spice\n" + " at least one of {port, tls-port} is mandatory\n", + QEMU_ARCH_ALL) STEXI @item -spice @var{option}[,@var{option}[,...]] @findex -spice
Signature · 1 line
1.7.7.6
Quoted 2 lines · Yonit Halperin
Added all spice options to the help string. This can be used by libvirt to determine which spice related features are supported by qemu.
Patch added to spice patch queue.
thanks,
Gerd
Quoted 2 lines · Yonit Halperin
Added all spice options to the help string. This can be used by libvirt to determine which spice related features are supported by qemu.
For older released, this is true; but for future versions of qemu, libvirt would much rather learn this information from QMP commands than from scraping -help output. Can we get at all of this information from QMP?
Signature · 2 lines
Eric Blake [email protected] +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 8 lines · Eric Blake
Quoted 2 lines · Yonit Halperin
Added all spice options to the help string. This can be used by libvirt to determine which spice related features are supported by qemu.
For older released, this is true; but for future versions of qemu, libvirt would much rather learn this information from QMP commands than from scraping -help output. Can we get at all of this information from QMP?
No, we don't have qmp commands for any of spice config options. I don't think it should be in the scope of this patch.
Quoted 5 lines · Yonit Halperin
Quoted 4 lines · Eric Blake
Quoted 2 lines · Yonit Halperin
Added all spice options to the help string. This can be used by libvirt to determine which spice related features are supported by qemu.
Quoted 7 lines
Quoted 5 lines
For older released, this is true; but for future versions of qemu, libvirt would much rather learn this information from QMP commands than from scraping -help output. Can we get at all of this information from QMP?
No, we don't have qmp commands for any of spice config options. I don't think it should be in the scope of this patch.
But since we have already declared that 1.2 is the last release where libvirt will be scraping -help output, and that 1.3 and later will allow libvirt to query all configuration information via QMP commands, I think that you really _do_ need to consider QMP commands in the scope of this patch series, if you expect libvirt to be able to react to this information in qemu 1.3.
Signature · 2 lines
Eric Blake [email protected] +1-919-301-3266 Libvirt virtualization library http://libvirt.org