summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2016-07-13 09:51:49 +0200
committerPavel Grunt <pgrunt@redhat.com>2016-07-13 09:51:49 +0200
commitd00314dd53aee7a1d107162a859f34e9a0590397 (patch)
tree19035577b7446ab5a9915aa1ece9c3a6351d8228
parent16d54a6cc80f37a7957301a5b031217e27d6da0e (diff)
Fix syntax highlight
-rw-r--r--content/pages/multiple-clients.rst33
-rw-r--r--spice-space/static/css/main.css3
2 files changed, 20 insertions, 16 deletions
diff --git a/content/pages/multiple-clients.rst b/content/pages/multiple-clients.rst
index cad2be8..b2b5dcf 100644
--- a/content/pages/multiple-clients.rst
+++ b/content/pages/multiple-clients.rst
@@ -1,6 +1,9 @@
Simultaneous clients connection
###############################################################################
+.. role:: bash(code)
+ :language: bash
+
:slug: multiple-clients
:modified: 2016-01-06 15:20
@@ -13,32 +16,30 @@ This feature is still experimental, it is not expected to work correctly under d
To enable:
-.Using libvirt
-
-Modify the xml definition of the virtual machine to use SPICE_DEBUG_ALLOW_MC environment variable:
+Using libvirt
+^^^^^^^^^^^^^
-.. code-block:: xml
+Modify the xml definition of the virtual machine to use :bash:`SPICE_DEBUG_ALLOW_MC` environment variable:
- <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
- ....
- <qemu:commandline>
- <qemu:env name='SPICE_DEBUG_ALLOW_MC' value='1'/>
- </qemu:commandline>
- </domain>
+.. code-block:: XML
-.Using QEMU
+ <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
+ ....
+ <qemu:commandline>
+ <qemu:env name='SPICE_DEBUG_ALLOW_MC' value='1'/>
+ </qemu:commandline>
+ </domain>
-.. code-block:: sh
+Using QEMU
+^^^^^^^^^^
- export SPICE_DEBUG_ALLOW_MC=1
+:bash:`export SPICE_DEBUG_ALLOW_MC=1`
Launch qemu vm as usual.
The stdout will contain an additional line:
-.. code-block:: sh
-
- spice: allowing multiple client connections
+:bash:`spice: allowing multiple client connections`
You can then launch clients as usual. A second client connection will not disconnect any of the previous clients. There is no set limit. The behavior of each channel in multiple client mode:
diff --git a/spice-space/static/css/main.css b/spice-space/static/css/main.css
index 44e9f12..f121dc0 100644
--- a/spice-space/static/css/main.css
+++ b/spice-space/static/css/main.css
@@ -7,6 +7,9 @@
Licensed by: Smashing Media GmbH <http://www.smashingmagazine.com/>
Original author: Enrique Ramírez <http://enrique-ramirez.com/>
*/
+
+@import url("pygment.css");
+
/***** Global *****/
/* Body */
body {