[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC PATCH v2 17/17] libxl: use xenconsoled even for multiple stubdomain's consoles
Since multiple consoles support was added to xenconsoled, use it for stubdomain. This makes it possible to have HVM without qemu in dom0 at al. As long as no other feature requiring qemu in dom0 is used, like VNC or qdisk. Signed-off-by: Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx> --- tools/libxl/libxl_dm.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index ab851cc..582f122 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -2144,7 +2144,9 @@ static void spawn_stub_launch_dm(libxl__egc *egc, for (i = 0; i < num_console; i++) { console[i].devid = i; - console[i].consback = LIBXL__CONSOLE_BACKEND_IOEMU; + /* will be changed back to LIBXL__CONSOLE_BACKEND_IOEMU if qemu + * will be in use */ + console[i].consback = LIBXL__CONSOLE_BACKEND_XENCONSOLED; /* STUBDOM_CONSOLE_LOGGING (console 0) is for minios logging * STUBDOM_CONSOLE_SAVE (console 1) is for writing the save file * STUBDOM_CONSOLE_RESTORE (console 2) is for reading the save file @@ -2160,9 +2162,6 @@ static void spawn_stub_launch_dm(libxl__egc *egc, if (ret) goto out; console[i].output = GCSPRINTF("file:%s", filename); free(filename); - /* will be changed back to LIBXL__CONSOLE_BACKEND_IOEMU if qemu - * will be in use */ - console[i].consback = LIBXL__CONSOLE_BACKEND_XENCONSOLED; break; case STUBDOM_CONSOLE_SAVE: console[i].output = GCSPRINTF("file:%s", -- git-series 0.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |