qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] spice: increase the verbosity of spice section in "qemu --help"
@ 2012-08-21 10:54 Yonit Halperin
  2012-08-21 11:06 ` Gerd Hoffmann
  2012-08-21 12:31 ` Eric Blake
  0 siblings, 2 replies; 5+ messages in thread
From: Yonit Halperin @ 2012-08-21 10:54 UTC (permalink / raw)
  To: qemu-devel; +Cc: mprivozn, Yonit Halperin, kraxel

Added all spice options to the help string. This can be used by libvirt
to determine which spice related features are supported by qemu.

Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
---
 qemu-options.hx |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/qemu-options.hx b/qemu-options.hx
index 0727f4f..3872e70 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -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
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] spice: increase the verbosity of spice section in "qemu --help"
  2012-08-21 10:54 [Qemu-devel] [PATCH] spice: increase the verbosity of spice section in "qemu --help" Yonit Halperin
@ 2012-08-21 11:06 ` Gerd Hoffmann
  2012-08-21 12:31 ` Eric Blake
  1 sibling, 0 replies; 5+ messages in thread
From: Gerd Hoffmann @ 2012-08-21 11:06 UTC (permalink / raw)
  To: Yonit Halperin; +Cc: mprivozn, qemu-devel

On 08/21/12 12:54, Yonit Halperin wrote:
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] spice: increase the verbosity of spice section in "qemu --help"
  2012-08-21 10:54 [Qemu-devel] [PATCH] spice: increase the verbosity of spice section in "qemu --help" Yonit Halperin
  2012-08-21 11:06 ` Gerd Hoffmann
@ 2012-08-21 12:31 ` Eric Blake
  2012-08-26  6:38   ` Yonit Halperin
  1 sibling, 1 reply; 5+ messages in thread
From: Eric Blake @ 2012-08-21 12:31 UTC (permalink / raw)
  To: Yonit Halperin; +Cc: mprivozn, qemu-devel, kraxel

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

On 08/21/2012 04:54 AM, Yonit Halperin wrote:
> 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?

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 620 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] spice: increase the verbosity of spice section in "qemu --help"
  2012-08-21 12:31 ` Eric Blake
@ 2012-08-26  6:38   ` Yonit Halperin
  2012-08-27 14:56     ` Eric Blake
  0 siblings, 1 reply; 5+ messages in thread
From: Yonit Halperin @ 2012-08-26  6:38 UTC (permalink / raw)
  To: Eric Blake; +Cc: mprivozn, qemu-devel, kraxel

On 08/21/2012 03:31 PM, Eric Blake wrote:
> On 08/21/2012 04:54 AM, Yonit Halperin wrote:
>> 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH] spice: increase the verbosity of spice section in "qemu --help"
  2012-08-26  6:38   ` Yonit Halperin
@ 2012-08-27 14:56     ` Eric Blake
  0 siblings, 0 replies; 5+ messages in thread
From: Eric Blake @ 2012-08-27 14:56 UTC (permalink / raw)
  To: Yonit Halperin; +Cc: mprivozn, qemu-devel, kraxel

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

On 08/26/2012 12:38 AM, Yonit Halperin wrote:
> On 08/21/2012 03:31 PM, Eric Blake wrote:
>> On 08/21/2012 04:54 AM, Yonit Halperin wrote:
>>> 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.

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.

-- 
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 620 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-27 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-21 10:54 [Qemu-devel] [PATCH] spice: increase the verbosity of spice section in "qemu --help" Yonit Halperin
2012-08-21 11:06 ` Gerd Hoffmann
2012-08-21 12:31 ` Eric Blake
2012-08-26  6:38   ` Yonit Halperin
2012-08-27 14:56     ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).