[Spice-devel] [RFC 26/33] xspice: add SpicePort config option
Alon Levy
alevy at redhat.com
Wed Apr 27 08:56:15 PDT 2011
---
src/qxl.h | 3 +++
src/qxl_driver.c | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/qxl.h b/src/qxl.h
index 4b78076..2dc4cf9 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 eeff535..e6fbb93 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 }
};
--
1.7.4.4
More information about the Spice-devel
mailing list