From 2e869f6489113a07300c937e6103a5e019b68f93 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 27 Apr 2011 17:45:31 +0300 Subject: xspice: add SpicePort config option --- src/qxl.h | 3 +++ src/qxl_driver.c | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src') 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 } }; -- cgit v1.2.3