|
@@ -22,7 +22,8 @@
|
|
##
|
|
##
|
|
# @SetPasswordAction:
|
|
# @SetPasswordAction:
|
|
#
|
|
#
|
|
-# An action to take on changing a password on a connection with active clients.
|
|
|
|
|
|
+# An action to take on changing a password on a connection with active
|
|
|
|
+# clients.
|
|
#
|
|
#
|
|
# @keep: maintain existing clients
|
|
# @keep: maintain existing clients
|
|
#
|
|
#
|
|
@@ -40,14 +41,15 @@
|
|
#
|
|
#
|
|
# Options for set_password.
|
|
# Options for set_password.
|
|
#
|
|
#
|
|
-# @protocol: - 'vnc' to modify the VNC server password
|
|
|
|
-# - 'spice' to modify the Spice server password
|
|
|
|
|
|
+# @protocol:
|
|
|
|
+# - 'vnc' to modify the VNC server password
|
|
|
|
+# - 'spice' to modify the Spice server password
|
|
#
|
|
#
|
|
# @password: the new password
|
|
# @password: the new password
|
|
#
|
|
#
|
|
# @connected: How to handle existing clients when changing the
|
|
# @connected: How to handle existing clients when changing the
|
|
-# password. If nothing is specified, defaults to 'keep'.
|
|
|
|
-# For VNC, only 'keep' is currently implemented.
|
|
|
|
|
|
+# password. If nothing is specified, defaults to 'keep'. For VNC,
|
|
|
|
+# only 'keep' is currently implemented.
|
|
#
|
|
#
|
|
# Since: 7.0
|
|
# Since: 7.0
|
|
##
|
|
##
|
|
@@ -63,8 +65,8 @@
|
|
#
|
|
#
|
|
# Options for set_password specific to the VNC procotol.
|
|
# Options for set_password specific to the VNC procotol.
|
|
#
|
|
#
|
|
-# @display: The id of the display where the password should be changed.
|
|
|
|
-# Defaults to the first.
|
|
|
|
|
|
+# @display: The id of the display where the password should be
|
|
|
|
+# changed. Defaults to the first.
|
|
#
|
|
#
|
|
# Since: 7.0
|
|
# Since: 7.0
|
|
##
|
|
##
|
|
@@ -76,8 +78,9 @@
|
|
#
|
|
#
|
|
# Set the password of a remote display server.
|
|
# Set the password of a remote display server.
|
|
#
|
|
#
|
|
-# Returns: - Nothing on success
|
|
|
|
-# - If Spice is not enabled, DeviceNotFound
|
|
|
|
|
|
+# Returns:
|
|
|
|
+# - Nothing on success
|
|
|
|
+# - If Spice is not enabled, DeviceNotFound
|
|
#
|
|
#
|
|
# Since: 0.14
|
|
# Since: 0.14
|
|
#
|
|
#
|
|
@@ -86,7 +89,6 @@
|
|
# -> { "execute": "set_password", "arguments": { "protocol": "vnc",
|
|
# -> { "execute": "set_password", "arguments": { "protocol": "vnc",
|
|
# "password": "secret" } }
|
|
# "password": "secret" } }
|
|
# <- { "return": {} }
|
|
# <- { "return": {} }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'set_password', 'boxed': true, 'data': 'SetPasswordOptions' }
|
|
{ 'command': 'set_password', 'boxed': true, 'data': 'SetPasswordOptions' }
|
|
|
|
|
|
@@ -95,20 +97,22 @@
|
|
#
|
|
#
|
|
# General options for expire_password.
|
|
# General options for expire_password.
|
|
#
|
|
#
|
|
-# @protocol: - 'vnc' to modify the VNC server expiration
|
|
|
|
-# - 'spice' to modify the Spice server expiration
|
|
|
|
|
|
+# @protocol:
|
|
|
|
+# - 'vnc' to modify the VNC server expiration
|
|
|
|
+# - 'spice' to modify the Spice server expiration
|
|
#
|
|
#
|
|
# @time: when to expire the password.
|
|
# @time: when to expire the password.
|
|
#
|
|
#
|
|
-# - 'now' to expire the password immediately
|
|
|
|
-# - 'never' to cancel password expiration
|
|
|
|
-# - '+INT' where INT is the number of seconds from now (integer)
|
|
|
|
-# - 'INT' where INT is the absolute time in seconds
|
|
|
|
|
|
+# - 'now' to expire the password immediately
|
|
|
|
+# - 'never' to cancel password expiration
|
|
|
|
+# - '+INT' where INT is the number of seconds from now (integer)
|
|
|
|
+# - 'INT' where INT is the absolute time in seconds
|
|
#
|
|
#
|
|
-# Notes: Time is relative to the server and currently there is no way to
|
|
|
|
-# coordinate server time with client time. It is not recommended to
|
|
|
|
-# use the absolute time version of the @time parameter unless you're
|
|
|
|
-# sure you are on the same machine as the QEMU instance.
|
|
|
|
|
|
+# Notes: Time is relative to the server and currently there is no way
|
|
|
|
+# to coordinate server time with client time. It is not
|
|
|
|
+# recommended to use the absolute time version of the @time
|
|
|
|
+# parameter unless you're sure you are on the same machine as the
|
|
|
|
+# QEMU instance.
|
|
#
|
|
#
|
|
# Since: 7.0
|
|
# Since: 7.0
|
|
##
|
|
##
|
|
@@ -123,8 +127,8 @@
|
|
#
|
|
#
|
|
# Options for expire_password specific to the VNC procotol.
|
|
# Options for expire_password specific to the VNC procotol.
|
|
#
|
|
#
|
|
-# @display: The id of the display where the expiration should be changed.
|
|
|
|
-# Defaults to the first.
|
|
|
|
|
|
+# @display: The id of the display where the expiration should be
|
|
|
|
+# changed. Defaults to the first.
|
|
#
|
|
#
|
|
# Since: 7.0
|
|
# Since: 7.0
|
|
##
|
|
##
|
|
@@ -136,8 +140,10 @@
|
|
#
|
|
#
|
|
# Expire the password of a remote display server.
|
|
# Expire the password of a remote display server.
|
|
#
|
|
#
|
|
-# Returns: - Nothing on success
|
|
|
|
-# - If @protocol is 'spice' and Spice is not active, DeviceNotFound
|
|
|
|
|
|
+# Returns:
|
|
|
|
+# - Nothing on success
|
|
|
|
+# - If @protocol is 'spice' and Spice is not active,
|
|
|
|
+# DeviceNotFound
|
|
#
|
|
#
|
|
# Since: 0.14
|
|
# Since: 0.14
|
|
#
|
|
#
|
|
@@ -146,7 +152,6 @@
|
|
# -> { "execute": "expire_password", "arguments": { "protocol": "vnc",
|
|
# -> { "execute": "expire_password", "arguments": { "protocol": "vnc",
|
|
# "time": "+60" } }
|
|
# "time": "+60" } }
|
|
# <- { "return": {} }
|
|
# <- { "return": {} }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'expire_password', 'boxed': true, 'data': 'ExpirePasswordOptions' }
|
|
{ 'command': 'expire_password', 'boxed': true, 'data': 'ExpirePasswordOptions' }
|
|
|
|
|
|
@@ -171,14 +176,16 @@
|
|
#
|
|
#
|
|
# @filename: the path of a new file to store the image
|
|
# @filename: the path of a new file to store the image
|
|
#
|
|
#
|
|
-# @device: ID of the display device that should be dumped. If this parameter
|
|
|
|
-# is missing, the primary display will be used. (Since 2.12)
|
|
|
|
|
|
+# @device: ID of the display device that should be dumped. If this
|
|
|
|
+# parameter is missing, the primary display will be used. (Since
|
|
|
|
+# 2.12)
|
|
#
|
|
#
|
|
-# @head: head to use in case the device supports multiple heads. If this
|
|
|
|
-# parameter is missing, head #0 will be used. Also note that the head
|
|
|
|
-# can only be specified in conjunction with the device ID. (Since 2.12)
|
|
|
|
|
|
+# @head: head to use in case the device supports multiple heads. If
|
|
|
|
+# this parameter is missing, head #0 will be used. Also note that
|
|
|
|
+# the head can only be specified in conjunction with the device
|
|
|
|
+# ID. (Since 2.12)
|
|
#
|
|
#
|
|
-# @format: image format for screendump. (default: ppm) (Since 7.1)
|
|
|
|
|
|
+# @format: image format for screendump. (default: ppm) (Since 7.1)
|
|
#
|
|
#
|
|
# Returns: Nothing on success
|
|
# Returns: Nothing on success
|
|
#
|
|
#
|
|
@@ -189,7 +196,6 @@
|
|
# -> { "execute": "screendump",
|
|
# -> { "execute": "screendump",
|
|
# "arguments": { "filename": "/tmp/image" } }
|
|
# "arguments": { "filename": "/tmp/image" } }
|
|
# <- { "return": {} }
|
|
# <- { "return": {} }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'screendump',
|
|
{ 'command': 'screendump',
|
|
'data': {'filename': 'str', '*device': 'str', '*head': 'int',
|
|
'data': {'filename': 'str', '*device': 'str', '*head': 'int',
|
|
@@ -238,16 +244,16 @@
|
|
#
|
|
#
|
|
# Information about a SPICE client channel.
|
|
# Information about a SPICE client channel.
|
|
#
|
|
#
|
|
-# @connection-id: SPICE connection id number. All channels with the same id
|
|
|
|
-# belong to the same SPICE session.
|
|
|
|
|
|
+# @connection-id: SPICE connection id number. All channels with the
|
|
|
|
+# same id belong to the same SPICE session.
|
|
#
|
|
#
|
|
# @channel-type: SPICE channel type number. "1" is the main control
|
|
# @channel-type: SPICE channel type number. "1" is the main control
|
|
-# channel, filter for this one if you want to track spice
|
|
|
|
-# sessions only
|
|
|
|
|
|
+# channel, filter for this one if you want to track spice sessions
|
|
|
|
+# only
|
|
#
|
|
#
|
|
-# @channel-id: SPICE channel ID number. Usually "0", might be different when
|
|
|
|
-# multiple channels of the same type exist, such as multiple
|
|
|
|
-# display channels in a multihead setup
|
|
|
|
|
|
+# @channel-id: SPICE channel ID number. Usually "0", might be
|
|
|
|
+# different when multiple channels of the same type exist, such as
|
|
|
|
+# multiple display channels in a multihead setup
|
|
#
|
|
#
|
|
# @tls: true if the channel is encrypted, false otherwise.
|
|
# @tls: true if the channel is encrypted, false otherwise.
|
|
#
|
|
#
|
|
@@ -268,8 +274,8 @@
|
|
#
|
|
#
|
|
# @server: Mouse cursor position is determined by the server.
|
|
# @server: Mouse cursor position is determined by the server.
|
|
#
|
|
#
|
|
-# @unknown: No information is available about mouse mode used by
|
|
|
|
-# the spice server.
|
|
|
|
|
|
+# @unknown: No information is available about mouse mode used by the
|
|
|
|
+# spice server.
|
|
#
|
|
#
|
|
# Note: spice/enums.h has a SpiceMouseMode already, hence the name.
|
|
# Note: spice/enums.h has a SpiceMouseMode already, hence the name.
|
|
#
|
|
#
|
|
@@ -287,10 +293,10 @@
|
|
# @enabled: true if the SPICE server is enabled, false otherwise
|
|
# @enabled: true if the SPICE server is enabled, false otherwise
|
|
#
|
|
#
|
|
# @migrated: true if the last guest migration completed and spice
|
|
# @migrated: true if the last guest migration completed and spice
|
|
-# migration had completed as well. false otherwise. (since 1.4)
|
|
|
|
|
|
+# migration had completed as well. false otherwise. (since 1.4)
|
|
#
|
|
#
|
|
# @host: The hostname the SPICE server is bound to. This depends on
|
|
# @host: The hostname the SPICE server is bound to. This depends on
|
|
-# the name resolution on the host and may be an IP address.
|
|
|
|
|
|
+# the name resolution on the host and may be an IP address.
|
|
#
|
|
#
|
|
# @port: The SPICE server's port number.
|
|
# @port: The SPICE server's port number.
|
|
#
|
|
#
|
|
@@ -300,13 +306,14 @@
|
|
#
|
|
#
|
|
# @auth: the current authentication type used by the server
|
|
# @auth: the current authentication type used by the server
|
|
#
|
|
#
|
|
-# - 'none' if no authentication is being used
|
|
|
|
-# - 'spice' uses SASL or direct TLS authentication, depending on command
|
|
|
|
-# line options
|
|
|
|
|
|
+# - 'none' if no authentication is being used
|
|
|
|
+# - 'spice' uses SASL or direct TLS authentication, depending on
|
|
|
|
+# command line options
|
|
#
|
|
#
|
|
-# @mouse-mode: The mode in which the mouse cursor is displayed currently. Can
|
|
|
|
-# be determined by the client or the server, or unknown if spice
|
|
|
|
-# server doesn't provide this information. (since: 1.1)
|
|
|
|
|
|
+# @mouse-mode: The mode in which the mouse cursor is displayed
|
|
|
|
+# currently. Can be determined by the client or the server, or
|
|
|
|
+# unknown if spice server doesn't provide this information.
|
|
|
|
+# (since: 1.1)
|
|
#
|
|
#
|
|
# @channels: a list of @SpiceChannel for each active spice channel
|
|
# @channels: a list of @SpiceChannel for each active spice channel
|
|
#
|
|
#
|
|
@@ -361,7 +368,6 @@
|
|
# ]
|
|
# ]
|
|
# }
|
|
# }
|
|
# }
|
|
# }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'query-spice', 'returns': 'SpiceInfo',
|
|
{ 'command': 'query-spice', 'returns': 'SpiceInfo',
|
|
'if': 'CONFIG_SPICE' }
|
|
'if': 'CONFIG_SPICE' }
|
|
@@ -385,7 +391,6 @@
|
|
# "server": { "port": "5920", "family": "ipv4", "host": "127.0.0.1"},
|
|
# "server": { "port": "5920", "family": "ipv4", "host": "127.0.0.1"},
|
|
# "client": {"port": "52873", "family": "ipv4", "host": "127.0.0.1"}
|
|
# "client": {"port": "52873", "family": "ipv4", "host": "127.0.0.1"}
|
|
# }}
|
|
# }}
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'event': 'SPICE_CONNECTED',
|
|
{ 'event': 'SPICE_CONNECTED',
|
|
'data': { 'server': 'SpiceBasicInfo',
|
|
'data': { 'server': 'SpiceBasicInfo',
|
|
@@ -395,8 +400,8 @@
|
|
##
|
|
##
|
|
# @SPICE_INITIALIZED:
|
|
# @SPICE_INITIALIZED:
|
|
#
|
|
#
|
|
-# Emitted after initial handshake and authentication takes place (if any)
|
|
|
|
-# and the SPICE channel is up and running
|
|
|
|
|
|
+# Emitted after initial handshake and authentication takes place (if
|
|
|
|
+# any) and the SPICE channel is up and running
|
|
#
|
|
#
|
|
# @server: server information
|
|
# @server: server information
|
|
#
|
|
#
|
|
@@ -414,7 +419,6 @@
|
|
# "connection-id": 1804289383, "host": "127.0.0.1",
|
|
# "connection-id": 1804289383, "host": "127.0.0.1",
|
|
# "channel-id": 0, "tls": true}
|
|
# "channel-id": 0, "tls": true}
|
|
# }}
|
|
# }}
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'event': 'SPICE_INITIALIZED',
|
|
{ 'event': 'SPICE_INITIALIZED',
|
|
'data': { 'server': 'SpiceServerInfo',
|
|
'data': { 'server': 'SpiceServerInfo',
|
|
@@ -440,7 +444,6 @@
|
|
# "server": { "port": "5920", "family": "ipv4", "host": "127.0.0.1"},
|
|
# "server": { "port": "5920", "family": "ipv4", "host": "127.0.0.1"},
|
|
# "client": {"port": "52873", "family": "ipv4", "host": "127.0.0.1"}
|
|
# "client": {"port": "52873", "family": "ipv4", "host": "127.0.0.1"}
|
|
# }}
|
|
# }}
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'event': 'SPICE_DISCONNECTED',
|
|
{ 'event': 'SPICE_DISCONNECTED',
|
|
'data': { 'server': 'SpiceBasicInfo',
|
|
'data': { 'server': 'SpiceBasicInfo',
|
|
@@ -458,7 +461,6 @@
|
|
#
|
|
#
|
|
# <- { "timestamp": {"seconds": 1290688046, "microseconds": 417172},
|
|
# <- { "timestamp": {"seconds": 1290688046, "microseconds": 417172},
|
|
# "event": "SPICE_MIGRATE_COMPLETED" }
|
|
# "event": "SPICE_MIGRATE_COMPLETED" }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'event': 'SPICE_MIGRATE_COMPLETED',
|
|
{ 'event': 'SPICE_MIGRATE_COMPLETED',
|
|
'if': 'CONFIG_SPICE' }
|
|
'if': 'CONFIG_SPICE' }
|
|
@@ -474,9 +476,9 @@
|
|
#
|
|
#
|
|
# @host: IP address
|
|
# @host: IP address
|
|
#
|
|
#
|
|
-# @service: The service name of the vnc port. This may depend on the host
|
|
|
|
-# system's service database so symbolic names should not be relied
|
|
|
|
-# on.
|
|
|
|
|
|
+# @service: The service name of the vnc port. This may depend on the
|
|
|
|
+# host system's service database so symbolic names should not be
|
|
|
|
+# relied on.
|
|
#
|
|
#
|
|
# @family: address family
|
|
# @family: address family
|
|
#
|
|
#
|
|
@@ -496,8 +498,8 @@
|
|
#
|
|
#
|
|
# The network connection information for server
|
|
# The network connection information for server
|
|
#
|
|
#
|
|
-# @auth: authentication method used for
|
|
|
|
-# the plain (non-websocket) VNC server
|
|
|
|
|
|
+# @auth: authentication method used for the plain (non-websocket) VNC
|
|
|
|
+# server
|
|
#
|
|
#
|
|
# Since: 2.1
|
|
# Since: 2.1
|
|
##
|
|
##
|
|
@@ -512,10 +514,10 @@
|
|
# Information about a connected VNC client.
|
|
# Information about a connected VNC client.
|
|
#
|
|
#
|
|
# @x509_dname: If x509 authentication is in use, the Distinguished
|
|
# @x509_dname: If x509 authentication is in use, the Distinguished
|
|
-# Name of the client.
|
|
|
|
|
|
+# Name of the client.
|
|
#
|
|
#
|
|
# @sasl_username: If SASL authentication is in use, the SASL username
|
|
# @sasl_username: If SASL authentication is in use, the SASL username
|
|
-# used for authentication.
|
|
|
|
|
|
+# used for authentication.
|
|
#
|
|
#
|
|
# Since: 0.14
|
|
# Since: 0.14
|
|
##
|
|
##
|
|
@@ -531,33 +533,41 @@
|
|
#
|
|
#
|
|
# @enabled: true if the VNC server is enabled, false otherwise
|
|
# @enabled: true if the VNC server is enabled, false otherwise
|
|
#
|
|
#
|
|
-# @host: The hostname the VNC server is bound to. This depends on
|
|
|
|
-# the name resolution on the host and may be an IP address.
|
|
|
|
|
|
+# @host: The hostname the VNC server is bound to. This depends on the
|
|
|
|
+# name resolution on the host and may be an IP address.
|
|
#
|
|
#
|
|
-# @family: - 'ipv6' if the host is listening for IPv6 connections
|
|
|
|
-# - 'ipv4' if the host is listening for IPv4 connections
|
|
|
|
-# - 'unix' if the host is listening on a unix domain socket
|
|
|
|
-# - 'unknown' otherwise
|
|
|
|
|
|
+# @family:
|
|
|
|
+# - 'ipv6' if the host is listening for IPv6 connections
|
|
|
|
+# - 'ipv4' if the host is listening for IPv4 connections
|
|
|
|
+# - 'unix' if the host is listening on a unix domain socket
|
|
|
|
+# - 'unknown' otherwise
|
|
#
|
|
#
|
|
# @service: The service name of the server's port. This may depends
|
|
# @service: The service name of the server's port. This may depends
|
|
-# on the host system's service database so symbolic names should not
|
|
|
|
-# be relied on.
|
|
|
|
|
|
+# on the host system's service database so symbolic names should
|
|
|
|
+# not be relied on.
|
|
#
|
|
#
|
|
# @auth: the current authentication type used by the server
|
|
# @auth: the current authentication type used by the server
|
|
#
|
|
#
|
|
-# - 'none' if no authentication is being used
|
|
|
|
-# - 'vnc' if VNC authentication is being used
|
|
|
|
-# - 'vencrypt+plain' if VEncrypt is used with plain text authentication
|
|
|
|
-# - 'vencrypt+tls+none' if VEncrypt is used with TLS and no authentication
|
|
|
|
-# - 'vencrypt+tls+vnc' if VEncrypt is used with TLS and VNC authentication
|
|
|
|
-# - 'vencrypt+tls+plain' if VEncrypt is used with TLS and plain text auth
|
|
|
|
-# - 'vencrypt+x509+none' if VEncrypt is used with x509 and no auth
|
|
|
|
-# - 'vencrypt+x509+vnc' if VEncrypt is used with x509 and VNC auth
|
|
|
|
-# - 'vencrypt+x509+plain' if VEncrypt is used with x509 and plain text auth
|
|
|
|
-# - 'vencrypt+tls+sasl' if VEncrypt is used with TLS and SASL auth
|
|
|
|
-# - 'vencrypt+x509+sasl' if VEncrypt is used with x509 and SASL auth
|
|
|
|
-#
|
|
|
|
-# @clients: a list of @VncClientInfo of all currently connected clients
|
|
|
|
|
|
+# - 'none' if no authentication is being used
|
|
|
|
+# - 'vnc' if VNC authentication is being used
|
|
|
|
+# - 'vencrypt+plain' if VEncrypt is used with plain text
|
|
|
|
+# authentication
|
|
|
|
+# - 'vencrypt+tls+none' if VEncrypt is used with TLS and no
|
|
|
|
+# authentication
|
|
|
|
+# - 'vencrypt+tls+vnc' if VEncrypt is used with TLS and VNC
|
|
|
|
+# authentication
|
|
|
|
+# - 'vencrypt+tls+plain' if VEncrypt is used with TLS and plain
|
|
|
|
+# text auth
|
|
|
|
+# - 'vencrypt+x509+none' if VEncrypt is used with x509 and no auth
|
|
|
|
+# - 'vencrypt+x509+vnc' if VEncrypt is used with x509 and VNC auth
|
|
|
|
+# - 'vencrypt+x509+plain' if VEncrypt is used with x509 and plain
|
|
|
|
+# text auth
|
|
|
|
+# - 'vencrypt+tls+sasl' if VEncrypt is used with TLS and SASL auth
|
|
|
|
+# - 'vencrypt+x509+sasl' if VEncrypt is used with x509 and SASL
|
|
|
|
+# auth
|
|
|
|
+#
|
|
|
|
+# @clients: a list of @VncClientInfo of all currently connected
|
|
|
|
+# clients
|
|
#
|
|
#
|
|
# Since: 0.14
|
|
# Since: 0.14
|
|
##
|
|
##
|
|
@@ -601,8 +611,8 @@
|
|
#
|
|
#
|
|
# @auth: The current authentication type used by the servers
|
|
# @auth: The current authentication type used by the servers
|
|
#
|
|
#
|
|
-# @vencrypt: The vencrypt sub authentication type used by the
|
|
|
|
-# servers, only specified in case auth == vencrypt.
|
|
|
|
|
|
+# @vencrypt: The vencrypt sub authentication type used by the servers,
|
|
|
|
+# only specified in case auth == vencrypt.
|
|
#
|
|
#
|
|
# Since: 2.9
|
|
# Since: 2.9
|
|
##
|
|
##
|
|
@@ -620,17 +630,18 @@
|
|
# @id: vnc server name.
|
|
# @id: vnc server name.
|
|
#
|
|
#
|
|
# @server: A list of @VncBasincInfo describing all listening sockets.
|
|
# @server: A list of @VncBasincInfo describing all listening sockets.
|
|
-# The list can be empty (in case the vnc server is disabled).
|
|
|
|
-# It also may have multiple entries: normal + websocket,
|
|
|
|
-# possibly also ipv4 + ipv6 in the future.
|
|
|
|
|
|
+# The list can be empty (in case the vnc server is disabled). It
|
|
|
|
+# also may have multiple entries: normal + websocket, possibly
|
|
|
|
+# also ipv4 + ipv6 in the future.
|
|
#
|
|
#
|
|
-# @clients: A list of @VncClientInfo of all currently connected clients.
|
|
|
|
-# The list can be empty, for obvious reasons.
|
|
|
|
|
|
+# @clients: A list of @VncClientInfo of all currently connected
|
|
|
|
+# clients. The list can be empty, for obvious reasons.
|
|
#
|
|
#
|
|
-# @auth: The current authentication type used by the non-websockets servers
|
|
|
|
|
|
+# @auth: The current authentication type used by the non-websockets
|
|
|
|
+# servers
|
|
#
|
|
#
|
|
# @vencrypt: The vencrypt authentication type used by the servers,
|
|
# @vencrypt: The vencrypt authentication type used by the servers,
|
|
-# only specified in case auth == vencrypt.
|
|
|
|
|
|
+# only specified in case auth == vencrypt.
|
|
#
|
|
#
|
|
# @display: The display device the vnc server is linked to.
|
|
# @display: The display device the vnc server is linked to.
|
|
#
|
|
#
|
|
@@ -673,7 +684,6 @@
|
|
# ]
|
|
# ]
|
|
# }
|
|
# }
|
|
# }
|
|
# }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'query-vnc', 'returns': 'VncInfo',
|
|
{ 'command': 'query-vnc', 'returns': 'VncInfo',
|
|
'if': 'CONFIG_VNC' }
|
|
'if': 'CONFIG_VNC' }
|
|
@@ -698,8 +708,9 @@
|
|
#
|
|
#
|
|
# Since: 1.1
|
|
# Since: 1.1
|
|
#
|
|
#
|
|
-# Notes: An empty password in this command will set the password to the empty
|
|
|
|
-# string. Existing clients are unaffected by executing this command.
|
|
|
|
|
|
+# Notes: An empty password in this command will set the password to
|
|
|
|
+# the empty string. Existing clients are unaffected by executing
|
|
|
|
+# this command.
|
|
##
|
|
##
|
|
{ 'command': 'change-vnc-password',
|
|
{ 'command': 'change-vnc-password',
|
|
'data': { 'password': 'str' },
|
|
'data': { 'password': 'str' },
|
|
@@ -714,8 +725,8 @@
|
|
#
|
|
#
|
|
# @client: client information
|
|
# @client: client information
|
|
#
|
|
#
|
|
-# Note: This event is emitted before any authentication takes place, thus
|
|
|
|
-# the authentication ID is not provided
|
|
|
|
|
|
+# Note: This event is emitted before any authentication takes place,
|
|
|
|
+# thus the authentication ID is not provided
|
|
#
|
|
#
|
|
# Since: 0.13
|
|
# Since: 0.13
|
|
#
|
|
#
|
|
@@ -728,7 +739,6 @@
|
|
# "client": { "family": "ipv4", "service": "58425",
|
|
# "client": { "family": "ipv4", "service": "58425",
|
|
# "host": "127.0.0.1", "websocket": false } },
|
|
# "host": "127.0.0.1", "websocket": false } },
|
|
# "timestamp": { "seconds": 1262976601, "microseconds": 975795 } }
|
|
# "timestamp": { "seconds": 1262976601, "microseconds": 975795 } }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'event': 'VNC_CONNECTED',
|
|
{ 'event': 'VNC_CONNECTED',
|
|
'data': { 'server': 'VncServerInfo',
|
|
'data': { 'server': 'VncServerInfo',
|
|
@@ -738,8 +748,8 @@
|
|
##
|
|
##
|
|
# @VNC_INITIALIZED:
|
|
# @VNC_INITIALIZED:
|
|
#
|
|
#
|
|
-# Emitted after authentication takes place (if any) and the VNC session is
|
|
|
|
-# made active
|
|
|
|
|
|
+# Emitted after authentication takes place (if any) and the VNC
|
|
|
|
+# session is made active
|
|
#
|
|
#
|
|
# @server: server information
|
|
# @server: server information
|
|
#
|
|
#
|
|
@@ -756,7 +766,6 @@
|
|
# "client": { "family": "ipv4", "service": "46089", "websocket": false,
|
|
# "client": { "family": "ipv4", "service": "46089", "websocket": false,
|
|
# "host": "127.0.0.1", "sasl_username": "luiz" } },
|
|
# "host": "127.0.0.1", "sasl_username": "luiz" } },
|
|
# "timestamp": { "seconds": 1263475302, "microseconds": 150772 } }
|
|
# "timestamp": { "seconds": 1263475302, "microseconds": 150772 } }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'event': 'VNC_INITIALIZED',
|
|
{ 'event': 'VNC_INITIALIZED',
|
|
'data': { 'server': 'VncServerInfo',
|
|
'data': { 'server': 'VncServerInfo',
|
|
@@ -783,7 +792,6 @@
|
|
# "client": { "family": "ipv4", "service": "58425", "websocket": false,
|
|
# "client": { "family": "ipv4", "service": "58425", "websocket": false,
|
|
# "host": "127.0.0.1", "sasl_username": "luiz" } },
|
|
# "host": "127.0.0.1", "sasl_username": "luiz" } },
|
|
# "timestamp": { "seconds": 1262976601, "microseconds": 975795 } }
|
|
# "timestamp": { "seconds": 1262976601, "microseconds": 975795 } }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'event': 'VNC_DISCONNECTED',
|
|
{ 'event': 'VNC_DISCONNECTED',
|
|
'data': { 'server': 'VncServerInfo',
|
|
'data': { 'server': 'VncServerInfo',
|
|
@@ -805,7 +813,8 @@
|
|
#
|
|
#
|
|
# @current: true if this device is currently receiving mouse events
|
|
# @current: true if this device is currently receiving mouse events
|
|
#
|
|
#
|
|
-# @absolute: true if this device supports absolute coordinates as input
|
|
|
|
|
|
+# @absolute: true if this device supports absolute coordinates as
|
|
|
|
+# input
|
|
#
|
|
#
|
|
# Since: 0.14
|
|
# Since: 0.14
|
|
##
|
|
##
|
|
@@ -840,7 +849,6 @@
|
|
# }
|
|
# }
|
|
# ]
|
|
# ]
|
|
# }
|
|
# }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'query-mice', 'returns': ['MouseInfo'] }
|
|
{ 'command': 'query-mice', 'returns': ['MouseInfo'] }
|
|
|
|
|
|
@@ -852,59 +860,96 @@
|
|
# This is used by the @send-key command.
|
|
# This is used by the @send-key command.
|
|
#
|
|
#
|
|
# @unmapped: since 2.0
|
|
# @unmapped: since 2.0
|
|
|
|
+#
|
|
# @pause: since 2.0
|
|
# @pause: since 2.0
|
|
|
|
+#
|
|
# @ro: since 2.4
|
|
# @ro: since 2.4
|
|
|
|
+#
|
|
# @kp_comma: since 2.4
|
|
# @kp_comma: since 2.4
|
|
|
|
+#
|
|
# @kp_equals: since 2.6
|
|
# @kp_equals: since 2.6
|
|
|
|
+#
|
|
# @power: since 2.6
|
|
# @power: since 2.6
|
|
|
|
+#
|
|
# @hiragana: since 2.9
|
|
# @hiragana: since 2.9
|
|
|
|
+#
|
|
# @henkan: since 2.9
|
|
# @henkan: since 2.9
|
|
|
|
+#
|
|
# @yen: since 2.9
|
|
# @yen: since 2.9
|
|
#
|
|
#
|
|
# @sleep: since 2.10
|
|
# @sleep: since 2.10
|
|
|
|
+#
|
|
# @wake: since 2.10
|
|
# @wake: since 2.10
|
|
|
|
+#
|
|
# @audionext: since 2.10
|
|
# @audionext: since 2.10
|
|
|
|
+#
|
|
# @audioprev: since 2.10
|
|
# @audioprev: since 2.10
|
|
|
|
+#
|
|
# @audiostop: since 2.10
|
|
# @audiostop: since 2.10
|
|
|
|
+#
|
|
# @audioplay: since 2.10
|
|
# @audioplay: since 2.10
|
|
|
|
+#
|
|
# @audiomute: since 2.10
|
|
# @audiomute: since 2.10
|
|
|
|
+#
|
|
# @volumeup: since 2.10
|
|
# @volumeup: since 2.10
|
|
|
|
+#
|
|
# @volumedown: since 2.10
|
|
# @volumedown: since 2.10
|
|
|
|
+#
|
|
# @mediaselect: since 2.10
|
|
# @mediaselect: since 2.10
|
|
|
|
+#
|
|
# @mail: since 2.10
|
|
# @mail: since 2.10
|
|
|
|
+#
|
|
# @calculator: since 2.10
|
|
# @calculator: since 2.10
|
|
|
|
+#
|
|
# @computer: since 2.10
|
|
# @computer: since 2.10
|
|
|
|
+#
|
|
# @ac_home: since 2.10
|
|
# @ac_home: since 2.10
|
|
|
|
+#
|
|
# @ac_back: since 2.10
|
|
# @ac_back: since 2.10
|
|
|
|
+#
|
|
# @ac_forward: since 2.10
|
|
# @ac_forward: since 2.10
|
|
|
|
+#
|
|
# @ac_refresh: since 2.10
|
|
# @ac_refresh: since 2.10
|
|
|
|
+#
|
|
# @ac_bookmarks: since 2.10
|
|
# @ac_bookmarks: since 2.10
|
|
#
|
|
#
|
|
# @muhenkan: since 2.12
|
|
# @muhenkan: since 2.12
|
|
|
|
+#
|
|
# @katakanahiragana: since 2.12
|
|
# @katakanahiragana: since 2.12
|
|
#
|
|
#
|
|
# @lang1: since 6.1
|
|
# @lang1: since 6.1
|
|
|
|
+#
|
|
# @lang2: since 6.1
|
|
# @lang2: since 6.1
|
|
#
|
|
#
|
|
# @f13: since 8.0
|
|
# @f13: since 8.0
|
|
|
|
+#
|
|
# @f14: since 8.0
|
|
# @f14: since 8.0
|
|
|
|
+#
|
|
# @f15: since 8.0
|
|
# @f15: since 8.0
|
|
|
|
+#
|
|
# @f16: since 8.0
|
|
# @f16: since 8.0
|
|
|
|
+#
|
|
# @f17: since 8.0
|
|
# @f17: since 8.0
|
|
|
|
+#
|
|
# @f18: since 8.0
|
|
# @f18: since 8.0
|
|
|
|
+#
|
|
# @f19: since 8.0
|
|
# @f19: since 8.0
|
|
|
|
+#
|
|
# @f20: since 8.0
|
|
# @f20: since 8.0
|
|
|
|
+#
|
|
# @f21: since 8.0
|
|
# @f21: since 8.0
|
|
|
|
+#
|
|
# @f22: since 8.0
|
|
# @f22: since 8.0
|
|
|
|
+#
|
|
# @f23: since 8.0
|
|
# @f23: since 8.0
|
|
|
|
+#
|
|
# @f24: since 8.0
|
|
# @f24: since 8.0
|
|
#
|
|
#
|
|
-# 'sysrq' was mistakenly added to hack around the fact that
|
|
|
|
-# the ps2 driver was not generating correct scancodes sequences
|
|
|
|
-# when 'alt+print' was pressed. This flaw is now fixed and the
|
|
|
|
-# 'sysrq' key serves no further purpose. Any further use of
|
|
|
|
-# 'sysrq' will be transparently changed to 'print', so they
|
|
|
|
-# are effectively synonyms.
|
|
|
|
|
|
+# 'sysrq' was mistakenly added to hack around the fact that the ps2
|
|
|
|
+# driver was not generating correct scancodes sequences when
|
|
|
|
+# 'alt+print' was pressed. This flaw is now fixed and the 'sysrq' key
|
|
|
|
+# serves no further purpose. Any further use of 'sysrq' will be
|
|
|
|
+# transparently changed to 'print', so they are effectively synonyms.
|
|
#
|
|
#
|
|
# Since: 1.3
|
|
# Since: 1.3
|
|
##
|
|
##
|
|
@@ -976,16 +1021,17 @@
|
|
#
|
|
#
|
|
# Send keys to guest.
|
|
# Send keys to guest.
|
|
#
|
|
#
|
|
-# @keys: An array of @KeyValue elements. All @KeyValues in this array are
|
|
|
|
-# simultaneously sent to the guest. A @KeyValue.number value is sent
|
|
|
|
-# directly to the guest, while @KeyValue.qcode must be a valid
|
|
|
|
-# @QKeyCode value
|
|
|
|
|
|
+# @keys: An array of @KeyValue elements. All @KeyValues in this array
|
|
|
|
+# are simultaneously sent to the guest. A @KeyValue.number value
|
|
|
|
+# is sent directly to the guest, while @KeyValue.qcode must be a
|
|
|
|
+# valid @QKeyCode value
|
|
#
|
|
#
|
|
-# @hold-time: time to delay key up events, milliseconds. Defaults
|
|
|
|
-# to 100
|
|
|
|
|
|
+# @hold-time: time to delay key up events, milliseconds. Defaults to
|
|
|
|
+# 100
|
|
#
|
|
#
|
|
-# Returns: - Nothing on success
|
|
|
|
-# - If key is unknown or redundant, GenericError
|
|
|
|
|
|
+# Returns:
|
|
|
|
+# - Nothing on success
|
|
|
|
+# - If key is unknown or redundant, GenericError
|
|
#
|
|
#
|
|
# Since: 1.3
|
|
# Since: 1.3
|
|
#
|
|
#
|
|
@@ -996,7 +1042,6 @@
|
|
# { "type": "qcode", "data": "alt" },
|
|
# { "type": "qcode", "data": "alt" },
|
|
# { "type": "qcode", "data": "delete" } ] } }
|
|
# { "type": "qcode", "data": "delete" } ] } }
|
|
# <- { "return": {} }
|
|
# <- { "return": {} }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'send-key',
|
|
{ 'command': 'send-key',
|
|
'data': { 'keys': ['KeyValue'], '*hold-time': 'int' } }
|
|
'data': { 'keys': ['KeyValue'], '*hold-time': 'int' } }
|
|
@@ -1032,6 +1077,7 @@
|
|
# Keyboard input event.
|
|
# Keyboard input event.
|
|
#
|
|
#
|
|
# @key: Which key this event is for.
|
|
# @key: Which key this event is for.
|
|
|
|
+#
|
|
# @down: True for key-down and false for key-up events.
|
|
# @down: True for key-down and false for key-up events.
|
|
#
|
|
#
|
|
# Since: 2.0
|
|
# Since: 2.0
|
|
@@ -1046,6 +1092,7 @@
|
|
# Pointer button input event.
|
|
# Pointer button input event.
|
|
#
|
|
#
|
|
# @button: Which button this event is for.
|
|
# @button: Which button this event is for.
|
|
|
|
+#
|
|
# @down: True for key-down and false for key-up events.
|
|
# @down: True for key-down and false for key-up events.
|
|
#
|
|
#
|
|
# Since: 2.0
|
|
# Since: 2.0
|
|
@@ -1060,8 +1107,9 @@
|
|
# Pointer motion input event.
|
|
# Pointer motion input event.
|
|
#
|
|
#
|
|
# @axis: Which axis is referenced by @value.
|
|
# @axis: Which axis is referenced by @value.
|
|
-# @value: Pointer position. For absolute coordinates the
|
|
|
|
-# valid range is 0 -> 0x7ffff
|
|
|
|
|
|
+#
|
|
|
|
+# @value: Pointer position. For absolute coordinates the valid range
|
|
|
|
+# is 0 -> 0x7ffff
|
|
#
|
|
#
|
|
# Since: 2.0
|
|
# Since: 2.0
|
|
##
|
|
##
|
|
@@ -1108,10 +1156,10 @@
|
|
#
|
|
#
|
|
# @type: the input type, one of:
|
|
# @type: the input type, one of:
|
|
#
|
|
#
|
|
-# - 'key': Input event of Keyboard
|
|
|
|
-# - 'btn': Input event of pointer buttons
|
|
|
|
-# - 'rel': Input event of relative pointer motion
|
|
|
|
-# - 'abs': Input event of absolute pointer motion
|
|
|
|
|
|
+# - 'key': Input event of Keyboard
|
|
|
|
+# - 'btn': Input event of pointer buttons
|
|
|
|
+# - 'rel': Input event of relative pointer motion
|
|
|
|
+# - 'abs': Input event of absolute pointer motion
|
|
#
|
|
#
|
|
# Since: 2.0
|
|
# Since: 2.0
|
|
##
|
|
##
|
|
@@ -1140,8 +1188,10 @@
|
|
# precedence.
|
|
# precedence.
|
|
#
|
|
#
|
|
# @device: display device to send event(s) to.
|
|
# @device: display device to send event(s) to.
|
|
-# @head: head to send event(s) to, in case the
|
|
|
|
-# display device supports multiple scanouts.
|
|
|
|
|
|
+#
|
|
|
|
+# @head: head to send event(s) to, in case the display device supports
|
|
|
|
+# multiple scanouts.
|
|
|
|
+#
|
|
# @events: List of InputEvent union.
|
|
# @events: List of InputEvent union.
|
|
#
|
|
#
|
|
# Returns: Nothing on success.
|
|
# Returns: Nothing on success.
|
|
@@ -1149,9 +1199,9 @@
|
|
# Since: 2.6
|
|
# Since: 2.6
|
|
#
|
|
#
|
|
# Note: The consoles are visible in the qom tree, under
|
|
# Note: The consoles are visible in the qom tree, under
|
|
-# /backend/console[$index]. They have a device link and head property,
|
|
|
|
-# so it is possible to map which console belongs to which device and
|
|
|
|
-# display.
|
|
|
|
|
|
+# /backend/console[$index]. They have a device link and head
|
|
|
|
+# property, so it is possible to map which console belongs to
|
|
|
|
+# which device and display.
|
|
#
|
|
#
|
|
# Examples:
|
|
# Examples:
|
|
#
|
|
#
|
|
@@ -1188,7 +1238,6 @@
|
|
# { "type": "abs", "data" : { "axis": "x", "value" : 20000 } },
|
|
# { "type": "abs", "data" : { "axis": "x", "value" : 20000 } },
|
|
# { "type": "abs", "data" : { "axis": "y", "value" : 400 } } ] } }
|
|
# { "type": "abs", "data" : { "axis": "y", "value" : 400 } } ] } }
|
|
# <- { "return": {} }
|
|
# <- { "return": {} }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'input-send-event',
|
|
{ 'command': 'input-send-event',
|
|
'data': { '*device': 'str',
|
|
'data': { '*device': 'str',
|
|
@@ -1201,19 +1250,20 @@
|
|
# GTK display options.
|
|
# GTK display options.
|
|
#
|
|
#
|
|
# @grab-on-hover: Grab keyboard input on mouse hover.
|
|
# @grab-on-hover: Grab keyboard input on mouse hover.
|
|
|
|
+#
|
|
# @zoom-to-fit: Zoom guest display to fit into the host window. When
|
|
# @zoom-to-fit: Zoom guest display to fit into the host window. When
|
|
-# turned off the host window will be resized instead.
|
|
|
|
-# In case the display device can notify the guest on
|
|
|
|
-# window resizes (virtio-gpu) this will default to "on",
|
|
|
|
-# assuming the guest will resize the display to match
|
|
|
|
-# the window size then. Otherwise it defaults to "off".
|
|
|
|
-# (Since 3.1)
|
|
|
|
-# @show-tabs: Display the tab bar for switching between the various graphical
|
|
|
|
-# interfaces (e.g. VGA and virtual console character devices)
|
|
|
|
-# by default.
|
|
|
|
-# (Since 7.1)
|
|
|
|
-# @show-menubar: Display the main window menubar. Defaults to "on".
|
|
|
|
-# (Since 8.0)
|
|
|
|
|
|
+# turned off the host window will be resized instead. In case the
|
|
|
|
+# display device can notify the guest on window resizes
|
|
|
|
+# (virtio-gpu) this will default to "on", assuming the guest will
|
|
|
|
+# resize the display to match the window size then. Otherwise it
|
|
|
|
+# defaults to "off". (Since 3.1)
|
|
|
|
+#
|
|
|
|
+# @show-tabs: Display the tab bar for switching between the various
|
|
|
|
+# graphical interfaces (e.g. VGA and virtual console character
|
|
|
|
+# devices) by default. (Since 7.1)
|
|
|
|
+#
|
|
|
|
+# @show-menubar: Display the main window menubar. Defaults to "on".
|
|
|
|
+# (Since 8.0)
|
|
#
|
|
#
|
|
# Since: 2.12
|
|
# Since: 2.12
|
|
##
|
|
##
|
|
@@ -1228,8 +1278,8 @@
|
|
#
|
|
#
|
|
# EGL headless display options.
|
|
# EGL headless display options.
|
|
#
|
|
#
|
|
-# @rendernode: Which DRM render node should be used. Default is the first
|
|
|
|
-# available node on the host.
|
|
|
|
|
|
+# @rendernode: Which DRM render node should be used. Default is the
|
|
|
|
+# first available node on the host.
|
|
#
|
|
#
|
|
# Since: 3.1
|
|
# Since: 3.1
|
|
##
|
|
##
|
|
@@ -1243,11 +1293,11 @@
|
|
#
|
|
#
|
|
# @addr: The D-Bus bus address (default to the session bus).
|
|
# @addr: The D-Bus bus address (default to the session bus).
|
|
#
|
|
#
|
|
-# @rendernode: Which DRM render node should be used. Default is the first
|
|
|
|
-# available node on the host.
|
|
|
|
|
|
+# @rendernode: Which DRM render node should be used. Default is the
|
|
|
|
+# first available node on the host.
|
|
#
|
|
#
|
|
# @p2p: Whether to use peer-to-peer connections (accepted through
|
|
# @p2p: Whether to use peer-to-peer connections (accepted through
|
|
-# @add_client).
|
|
|
|
|
|
+# @add_client).
|
|
#
|
|
#
|
|
# @audiodev: Use the specified DBus audiodev to export audio.
|
|
# @audiodev: Use the specified DBus audiodev to export audio.
|
|
#
|
|
#
|
|
@@ -1265,10 +1315,13 @@
|
|
# Display OpenGL mode.
|
|
# Display OpenGL mode.
|
|
#
|
|
#
|
|
# @off: Disable OpenGL (default).
|
|
# @off: Disable OpenGL (default).
|
|
-# @on: Use OpenGL, pick context type automatically.
|
|
|
|
-# Would better be named 'auto' but is called 'on' for backward
|
|
|
|
-# compatibility with bool type.
|
|
|
|
|
|
+#
|
|
|
|
+# @on: Use OpenGL, pick context type automatically. Would better be
|
|
|
|
+# named 'auto' but is called 'on' for backward compatibility with
|
|
|
|
+# bool type.
|
|
|
|
+#
|
|
# @core: Use OpenGL with Core (desktop) Context.
|
|
# @core: Use OpenGL with Core (desktop) Context.
|
|
|
|
+#
|
|
# @es: Use OpenGL with ES (embedded systems) Context.
|
|
# @es: Use OpenGL with ES (embedded systems) Context.
|
|
#
|
|
#
|
|
# Since: 3.0
|
|
# Since: 3.0
|
|
@@ -1294,18 +1347,17 @@
|
|
# Cocoa display options.
|
|
# Cocoa display options.
|
|
#
|
|
#
|
|
# @left-command-key: Enable/disable forwarding of left command key to
|
|
# @left-command-key: Enable/disable forwarding of left command key to
|
|
-# guest. Allows command-tab window switching on the
|
|
|
|
-# host without sending this key to the guest when
|
|
|
|
-# "off". Defaults to "on"
|
|
|
|
|
|
+# guest. Allows command-tab window switching on the host without
|
|
|
|
+# sending this key to the guest when "off". Defaults to "on"
|
|
#
|
|
#
|
|
-# @full-grab: Capture all key presses, including system combos. This
|
|
|
|
-# requires accessibility permissions, since it performs
|
|
|
|
-# a global grab on key events. (default: off)
|
|
|
|
-# See https://support.apple.com/en-in/guide/mac-help/mh32356/mac
|
|
|
|
|
|
+# @full-grab: Capture all key presses, including system combos. This
|
|
|
|
+# requires accessibility permissions, since it performs a global
|
|
|
|
+# grab on key events. (default: off) See
|
|
|
|
+# https://support.apple.com/en-in/guide/mac-help/mh32356/mac
|
|
#
|
|
#
|
|
-# @swap-opt-cmd: Swap the Option and Command keys so that their key codes match
|
|
|
|
-# their position on non-Mac keyboards and you can use Meta/Super
|
|
|
|
-# and Alt where you expect them. (default: off)
|
|
|
|
|
|
+# @swap-opt-cmd: Swap the Option and Command keys so that their key
|
|
|
|
+# codes match their position on non-Mac keyboards and you can use
|
|
|
|
+# Meta/Super and Alt where you expect them. (default: off)
|
|
#
|
|
#
|
|
# Since: 7.0
|
|
# Since: 7.0
|
|
##
|
|
##
|
|
@@ -1331,8 +1383,8 @@
|
|
#
|
|
#
|
|
# SDL2 display options.
|
|
# SDL2 display options.
|
|
#
|
|
#
|
|
-# @grab-mod: Modifier keys that should be pressed together with the
|
|
|
|
-# "G" key to release the mouse grab.
|
|
|
|
|
|
+# @grab-mod: Modifier keys that should be pressed together with the
|
|
|
|
+# "G" key to release the mouse grab.
|
|
#
|
|
#
|
|
# Since: 7.1
|
|
# Since: 7.1
|
|
##
|
|
##
|
|
@@ -1344,36 +1396,35 @@
|
|
#
|
|
#
|
|
# Display (user interface) type.
|
|
# Display (user interface) type.
|
|
#
|
|
#
|
|
-# @default: The default user interface, selecting from the first available
|
|
|
|
-# of gtk, sdl, cocoa, and vnc.
|
|
|
|
|
|
+# @default: The default user interface, selecting from the first
|
|
|
|
+# available of gtk, sdl, cocoa, and vnc.
|
|
#
|
|
#
|
|
-# @none: No user interface or video output display. The guest will
|
|
|
|
-# still see an emulated graphics card, but its output will not
|
|
|
|
-# be displayed to the QEMU user.
|
|
|
|
|
|
+# @none: No user interface or video output display. The guest will
|
|
|
|
+# still see an emulated graphics card, but its output will not be
|
|
|
|
+# displayed to the QEMU user.
|
|
#
|
|
#
|
|
# @gtk: The GTK user interface.
|
|
# @gtk: The GTK user interface.
|
|
#
|
|
#
|
|
# @sdl: The SDL user interface.
|
|
# @sdl: The SDL user interface.
|
|
#
|
|
#
|
|
# @egl-headless: No user interface, offload GL operations to a local
|
|
# @egl-headless: No user interface, offload GL operations to a local
|
|
-# DRI device. Graphical display need to be paired with
|
|
|
|
-# VNC or Spice. (Since 3.1)
|
|
|
|
|
|
+# DRI device. Graphical display need to be paired with VNC or
|
|
|
|
+# Spice. (Since 3.1)
|
|
#
|
|
#
|
|
# @curses: Display video output via curses. For graphics device
|
|
# @curses: Display video output via curses. For graphics device
|
|
-# models which support a text mode, QEMU can display this
|
|
|
|
-# output using a curses/ncurses interface. Nothing is
|
|
|
|
-# displayed when the graphics device is in graphical mode or
|
|
|
|
-# if the graphics device does not support a text
|
|
|
|
-# mode. Generally only the VGA device models support text
|
|
|
|
-# mode.
|
|
|
|
|
|
+# models which support a text mode, QEMU can display this output
|
|
|
|
+# using a curses/ncurses interface. Nothing is displayed when the
|
|
|
|
+# graphics device is in graphical mode or if the graphics device
|
|
|
|
+# does not support a text mode. Generally only the VGA device
|
|
|
|
+# models support text mode.
|
|
#
|
|
#
|
|
# @cocoa: The Cocoa user interface.
|
|
# @cocoa: The Cocoa user interface.
|
|
#
|
|
#
|
|
# @spice-app: Set up a Spice server and run the default associated
|
|
# @spice-app: Set up a Spice server and run the default associated
|
|
-# application to connect to it. The server will redirect
|
|
|
|
-# the serial console and QEMU monitors. (Since 4.0)
|
|
|
|
|
|
+# application to connect to it. The server will redirect the
|
|
|
|
+# serial console and QEMU monitors. (Since 4.0)
|
|
#
|
|
#
|
|
-# @dbus: Start a D-Bus service for the display. (Since 7.0)
|
|
|
|
|
|
+# @dbus: Start a D-Bus service for the display. (Since 7.0)
|
|
#
|
|
#
|
|
# Since: 2.12
|
|
# Since: 2.12
|
|
##
|
|
##
|
|
@@ -1398,9 +1449,16 @@
|
|
# Display (user interface) options.
|
|
# Display (user interface) options.
|
|
#
|
|
#
|
|
# @type: Which DisplayType qemu should use.
|
|
# @type: Which DisplayType qemu should use.
|
|
-# @full-screen: Start user interface in fullscreen mode (default: off).
|
|
|
|
-# @window-close: Allow to quit qemu with window close button (default: on).
|
|
|
|
-# @show-cursor: Force showing the mouse cursor (default: off). (since: 5.0)
|
|
|
|
|
|
+#
|
|
|
|
+# @full-screen: Start user interface in fullscreen mode
|
|
|
|
+# (default: off).
|
|
|
|
+#
|
|
|
|
+# @window-close: Allow to quit qemu with window close button
|
|
|
|
+# (default: on).
|
|
|
|
+#
|
|
|
|
+# @show-cursor: Force showing the mouse cursor (default: off).
|
|
|
|
+# (since: 5.0)
|
|
|
|
+#
|
|
# @gl: Enable OpenGL support (default: off).
|
|
# @gl: Enable OpenGL support (default: off).
|
|
#
|
|
#
|
|
# Since: 2.12
|
|
# Since: 2.12
|
|
@@ -1487,7 +1545,6 @@
|
|
# -> { "execute": "display-reload",
|
|
# -> { "execute": "display-reload",
|
|
# "arguments": { "type": "vnc", "tls-certs": true } }
|
|
# "arguments": { "type": "vnc", "tls-certs": true } }
|
|
# <- { "return": {} }
|
|
# <- { "return": {} }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'display-reload',
|
|
{ 'command': 'display-reload',
|
|
'data': 'DisplayReloadOptions',
|
|
'data': 'DisplayReloadOptions',
|
|
@@ -1510,9 +1567,9 @@
|
|
#
|
|
#
|
|
# Specify the VNC reload options.
|
|
# Specify the VNC reload options.
|
|
#
|
|
#
|
|
-# @addresses: If specified, change set of addresses
|
|
|
|
-# to listen for connections. Addresses configured
|
|
|
|
-# for websockets are not touched.
|
|
|
|
|
|
+# @addresses: If specified, change set of addresses to listen for
|
|
|
|
+# connections. Addresses configured for websockets are not
|
|
|
|
+# touched.
|
|
#
|
|
#
|
|
# Since: 7.1
|
|
# Since: 7.1
|
|
##
|
|
##
|
|
@@ -1549,7 +1606,6 @@
|
|
# [ { "type": "inet", "host": "0.0.0.0",
|
|
# [ { "type": "inet", "host": "0.0.0.0",
|
|
# "port": "5901" } ] } }
|
|
# "port": "5901" } ] } }
|
|
# <- { "return": {} }
|
|
# <- { "return": {} }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'display-update',
|
|
{ 'command': 'display-update',
|
|
'data': 'DisplayUpdateOptions',
|
|
'data': 'DisplayUpdateOptions',
|
|
@@ -1563,9 +1619,13 @@
|
|
# once migration finished successfully. Only implemented for SPICE.
|
|
# once migration finished successfully. Only implemented for SPICE.
|
|
#
|
|
#
|
|
# @protocol: must be "spice"
|
|
# @protocol: must be "spice"
|
|
|
|
+#
|
|
# @hostname: migration target hostname
|
|
# @hostname: migration target hostname
|
|
|
|
+#
|
|
# @port: spice tcp port for plaintext channels
|
|
# @port: spice tcp port for plaintext channels
|
|
|
|
+#
|
|
# @tls-port: spice tcp port for tls-secured channels
|
|
# @tls-port: spice tcp port for tls-secured channels
|
|
|
|
+#
|
|
# @cert-subject: server certificate subject
|
|
# @cert-subject: server certificate subject
|
|
#
|
|
#
|
|
# Since: 0.14
|
|
# Since: 0.14
|
|
@@ -1577,7 +1637,6 @@
|
|
# "hostname": "virt42.lab.kraxel.org",
|
|
# "hostname": "virt42.lab.kraxel.org",
|
|
# "port": 1234 } }
|
|
# "port": 1234 } }
|
|
# <- { "return": {} }
|
|
# <- { "return": {} }
|
|
-#
|
|
|
|
##
|
|
##
|
|
{ 'command': 'client_migrate_info',
|
|
{ 'command': 'client_migrate_info',
|
|
'data': { 'protocol': 'str', 'hostname': 'str', '*port': 'int',
|
|
'data': { 'protocol': 'str', 'hostname': 'str', '*port': 'int',
|