summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-04-27 17:45:31 +0300
committerAlon Levy <alevy@redhat.com>2011-07-22 04:37:40 +0300
commit2e869f6489113a07300c937e6103a5e019b68f93 (patch)
tree26f8a4dbc9c62d89a01f43950934462d85731c69 /src
parent3b99e0e25337aa8aecdc7b414ca8021cb12628e1 (diff)
xspice: add SpicePort config option
Diffstat (limited to 'src')
-rw-r--r--src/qxl.h3
-rw-r--r--src/qxl_driver.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/qxl.h b/src/qxl.h
index 6a0138e..fdd2afd 100644
--- a/src/qxl.h
+++ b/src/qxl.h
@@ -96,6 +96,9 @@ typedef struct qxl_surface_t qxl_surface_t;
*/
enum {
+#ifdef XSPICE
+ OPTION_SPICE_PORT = 0,
+#endif
OPTION_COUNT,
};
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 626b1bc..957661a 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -47,6 +47,9 @@
#define CHECK_POINT()
const OptionInfoRec DefaultOptions[] = {
+#ifdef XSPICE
+ { OPTION_SPICE_PORT, "SpicePort", OPTV_INTEGER, {5912}, FALSE },
+#endif
{ -1, NULL, OPTV_NONE, {0}, FALSE }
};