diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-01-13 20:01:42 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-01-20 12:18:15 +0100 |
commit | 7095563153af0e3481605eb5979ca8e6982d95cc (patch) | |
tree | 94c8deb74a74571478755ed75c079ba4f1724d10 /docs/manual/SpiceUserManual-References.xml | |
parent | 2ea58dd7a7ec2952e85814ead55d1694584aa471 (diff) | |
download | spice-7095563153af0e3481605eb5979ca8e6982d95cc.tar.gz spice-7095563153af0e3481605eb5979ca8e6982d95cc.tar.xz spice-7095563153af0e3481605eb5979ca8e6982d95cc.zip |
Add reference manual
This manual documents how to enable/use various SPICE features when
creating a VM by running QEMU directly, or when using libvirt, or when
using virt-manager.
This is based on work by Lubos Kocman
Diffstat (limited to 'docs/manual/SpiceUserManual-References.xml')
-rw-r--r-- | docs/manual/SpiceUserManual-References.xml | 218 |
1 files changed, 218 insertions, 0 deletions
diff --git a/docs/manual/SpiceUserManual-References.xml b/docs/manual/SpiceUserManual-References.xml new file mode 100644 index 00000000..6fcee02c --- /dev/null +++ b/docs/manual/SpiceUserManual-References.xml @@ -0,0 +1,218 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?oxygen RNGSchema="http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" type="xml"?> + +<chapter xmlns="http://docbook.org/ns/docbook" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"> + <title>QEMU Spice Reference</title> + + <section xml:id="commandline-spice"> + <title>QEMU Spice command line options</title> + <para> + They are covered in <link xlink:href="http://qemu.weilnetz.de/qemu-doc.html#index-g_t_002dspice-58">QEMU online documentation</link>. + Basic syntax is -spice <spice_options> + </para> + + <itemizedlist> + <listitem> + [port=<port>][,tls-port=<tls-port>][,addr=<addr>] + Listen on interface addr <addr> (if given, otherwise any interface) + using port <port> and/or tls-port <tls-port> (at least one of them must be given) + </listitem> + + <listitem> + ipv4=<on|off> + IPv4 only (default:off) + </listitem> + + <listitem> + ipv6=<on|off> + IPv6 only (default:off) + </listitem> + +<!-- Image, video & audio options --> + <listitem> + image-compression=on|auto_glz|auto_lz|quic|glz|lz|off + Set image compression (default=on=auto_glz) + quic is based on the SFALIC algorithm + lz is the Lempel-Ziv algorithm, glz uses lz with history based global dictionary + The auto_[glz/lz] modes choose between the [glz/lz] and quic, + based on the image properties + </listitem> + + <listitem> + streaming-video=<all|filter|off> + Set video streams detection and (lossy) compression (default=filter) + </listitem> + + <listitem> + playback-compression=<on|off> + Set playback compression, using the CELT algorithm (default=on) + </listitem> + + <listitem> + jpeg-wan-compression=<auto|never|always> + (default = auto) + </listitem> + + <listitem> + zlib-glz-wan-compression=<auto|never|always> + (default = auto) + </listitem> + +<!-- Security options --> + <listitem> + disable-ticketing + Enables client connection with no password. + </listitem> + + <listitem> + password=<password> + Set ticket password, which must be used by a client for connection. The passwords never expires. + </listitem> + + <listitem> + sasl=<on|off> + </listitem> + + <listitem> + x509-dir=<dir_name> + </listitem> + + <listitem> + x509-key-file=<key_file> + TLS private key file + </listitem> + + <listitem> + x509-key-password=<pem_password> + Password to open the private key file which is in PEM format + </listitem> + + <listitem> + x509-cert-file=<cert_file> + TLS certificate file + </listitem> + + <listitem> + tls-cacert-file=<ca_file> + SSL certificates file of the trusted CA (certificate authority) and CRL (certificate revocation list) + </listitem> + + <listitem> + x509-dh-key-file=<dh_file> + Symmetric Diffie-Hellman key file + </listitem> + + <listitem> + tls-ciphers=<ciphers> + Cipher suite to use, see http://www.openssl.org/docs/apps/ciphers.html or ciphers(1) + </listitem> + + <listitem> + tls-channel=[all|channel_name] + plaintext-channel=[all|channel_name] + Force TLS/plain text connection on all/specific channels. This option + can be specified multiple times in order to force multiple channels + to use TLS or plain text. + Channels are: main, display, inputs, cursor, playback and record + By default, any channel allows both TLS and plain text connection, depending on the + port and tls-port parameters. + </listitem> + +<!-- Other options --> + + <listitem> + agent-mouse=<on|off> + Define whether spice agent is used for client mouse mode (default=on) + </listitem> + + <listitem> + disable-copy-paste=<on|off> + (default=off) + </listitem> + + <listitem> + disable-agent-file-xfer=<on|off> + (default=off) + </listitem> + + <listitem> + seamless-migration=<on|off> + (default=off) + </listitem> + </itemizedlist> + </section> + + <section xml:id="commandline-qxl"> + <title>QEMU QXL command line options</title> + <itemizedlist> + <listitem> + ram_size + </listitem> + <listitem> + vram_size + </listitem> + <listitem> + revision + </listitem> + <listitem> + debug + </listitem> + <listitem> + guestdebug + </listitem> + <listitem> + cmdlog + </listitem> + <listitem> + ram_size_mb + </listitem> + <listitem> + vram_size_mb + </listitem> + <listitem> + vram64_size_mb + </listitem> + <listitem> + vgamem_mb + </listitem> + <listitem> + surfaces + </listitem> + </itemizedlist> + </section> + + <section xml:id="console-control"> + <title>QEMU Console Spice control commands</title> + <itemizedlist> + <listitem> + set_password spice <password> [keep|disconnect] + Set the spice connection ticket (one time password). An + empty password prevents any connection. keep/disconnect + indicates what to do if a client is already connected + when the command is issued. + </listitem> + + <listitem> + expire_password + </listitem> + + <listitem> + client_migrate_info + </listitem> + + </itemizedlist> + </section> + + <section xml:id="console-info"> + <title>QEMU Console Spice info commands</title> + <itemizedlist> + <listitem> + info spice + Show current spice state + </listitem> + </itemizedlist> + </section> + +</chapter> |