From 6d1a9bcb5e58cae3de8488df55bfc3a0184d7748 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Tue, 9 Jan 2018 15:31:48 +0000 Subject: [PATCH] libxl: remove device model "none" from IDL MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit And the xl.cfg man page documentation. It should be possible to re-introduce it in the future with a proper implementation, in order to create a HVM guest without a device model, which is slightly different from a PVHv2 guest. Signed-off-by: Roger Pau Monné Acked-by: Ian Jackson --- docs/man/xl.cfg.pod.5.in | 5 ----- tools/libxl/libxl.h | 8 -------- tools/libxl/libxl_types.idl | 1 - 3 files changed, 14 deletions(-) diff --git a/docs/man/xl.cfg.pod.5.in b/docs/man/xl.cfg.pod.5.in index cbabe2738e..d8b5fc74d5 100644 --- a/docs/man/xl.cfg.pod.5.in +++ b/docs/man/xl.cfg.pod.5.in @@ -2122,11 +2122,6 @@ This device-model is the default for Linux dom0. Use the device-model based upon the historical Xen fork of Qemu. This device-model is still the default for NetBSD dom0. -=item B - -Don't use any device model. This requires a kernel capable of booting -without emulated devices. - =back It is recommended to accept the default value for new guests. If diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index 2c939a18b1..097e54be63 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -1043,14 +1043,6 @@ void libxl_mac_copy(libxl_ctx *ctx, libxl_mac *dst, const libxl_mac *src); */ #define LIBXL_HAVE_GFX_PASSTHRU_KIND -/* - * LIBXL_HAVE_DEVICE_MODEL_VERSION_NONE - * - * In the case that LIBXL_HAVE_DEVICE_MODEL_VERSION_NONE is set libxl - * allows the creation of HVM guests without a device model. - */ -#define LIBXL_HAVE_DEVICE_MODEL_VERSION_NONE 1 - /* * LIBXL_HAVE_CHECKPOINTED_STREAM * diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl index 1e9621c76f..70ce42944c 100644 --- a/tools/libxl/libxl_types.idl +++ b/tools/libxl/libxl_types.idl @@ -99,7 +99,6 @@ libxl_device_model_version = Enumeration("device_model_version", [ (0, "UNKNOWN"), (1, "QEMU_XEN_TRADITIONAL"), # Historical qemu-xen device model (qemu-dm) (2, "QEMU_XEN"), # Upstream based qemu-xen device model - (3, "NONE"), # No device model ]) libxl_console_type = Enumeration("console_type", [ -- 2.39.5