]> xenbits.xensource.com Git - xen.git/commitdiff
libxl: set PVH guests to use the PV console
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 9 Jan 2018 12:18:48 +0000 (12:18 +0000)
committerRoger Pau Monne <roger.pau@citrix.com>
Fri, 12 Jan 2018 17:56:47 +0000 (17:56 +0000)
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Ported over move to libxl_console.c

tools/libxl/libxl.c

index 003f377a1b86f1c3dd06d40db102b6fc590e6efd..1dfb85b9618c7d4c39000d063f19a67de4dbf5d1 100644 (file)
@@ -1859,6 +1859,7 @@ static int libxl__primary_console_find(libxl_ctx *ctx, uint32_t domid_vm,
             *cons_num = 0;
             *type = LIBXL_CONSOLE_TYPE_SERIAL;
             break;
+        case LIBXL_DOMAIN_TYPE_PVH:
         case LIBXL_DOMAIN_TYPE_PV:
             *domid = domid_vm;
             *cons_num = 0;