[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 21/22] xl: add PVH as a guest type
And remove device model "none". Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> --- Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Cc: Wei Liu <wei.liu2@xxxxxxxxxx> --- tools/xl/xl_parse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/xl/xl_parse.c b/tools/xl/xl_parse.c index 9f9e810c64..fb26db2e1c 100644 --- a/tools/xl/xl_parse.c +++ b/tools/xl/xl_parse.c @@ -906,6 +906,8 @@ void parse_config_data(const char *config_source, c_info->type = LIBXL_DOMAIN_TYPE_HVM; else if (!strncmp(buf, "pv", strlen(buf))) c_info->type = LIBXL_DOMAIN_TYPE_PV; + else if (!strncmp(buf, "pvh", strlen(buf))) + c_info->type = LIBXL_DOMAIN_TYPE_PVH; else { fprintf(stderr, "Invalid domain type %s.\n", buf); exit(1); @@ -1357,6 +1359,7 @@ void parse_config_data(const char *config_source, } break; + case LIBXL_DOMAIN_TYPE_PVH: case LIBXL_DOMAIN_TYPE_PV: { /* @@ -2063,8 +2066,6 @@ skip_usbdev: } else if (!strcmp(buf, "qemu-xen")) { b_info->device_model_version = LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN; - } else if (!strcmp(buf, "none")) { - b_info->device_model_version = LIBXL_DEVICE_MODEL_VERSION_NONE; } else { fprintf(stderr, "Unknown device_model_version \"%s\" specified\n", buf); -- 2.13.5 (Apple Git-94) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |