From patchwork Tue Aug 22 09:49:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roger Pau Monne X-Patchwork-Id: 9914643 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BBBCE600C5 for ; Tue, 22 Aug 2017 09:51:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CCFCD28861 for ; Tue, 22 Aug 2017 09:51:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C1A5A28863; Tue, 22 Aug 2017 09:51:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3F07128864 for ; Tue, 22 Aug 2017 09:51:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dk5p8-0006M9-0A; Tue, 22 Aug 2017 09:50:14 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dk5p6-0006In-Am for xen-devel@lists.xenproject.org; Tue, 22 Aug 2017 09:50:12 +0000 Received: from [193.109.254.147] by server-7.bemta-6.messagelabs.com id 3F/F5-03557-35EFB995; Tue, 22 Aug 2017 09:50:11 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRWlGSWpSXmKPExsXitHRDpG7wv9m RBh9f8lt83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBkzD39lKVgoUPG/oZelgfEGbxcjJ4eEgL/E 1BlbWEFsNgEdiYtzd7J1MXJwiAioSNzea9DFyMXBLLCGUeL8nD/sIHFhAUeJvTclQEwWAVWJ+ VcyQDp5Bawk/s5sZ4GYqCfxduILRhCbEyh+eO8TMFtIwFJi48efrBD1ghInZz4Bq2cW0JRo3f 6bHcKWl2jeOpsZol5Ron/eA7YJjHyzkLTMQtIyC0nLAkbmVYzqxalFZalFuoZ6SUWZ6RkluYm ZObqGBmZ6uanFxYnpqTmJScV6yfm5mxiBYcYABDsYdz53OsQoycGkJMo7+fvsSCG+pPyUyozE 4oz4otKc1OJDjDIcHEoSvGx/gXKCRanpqRVpmTnAgIdJS3DwKInwPv4DlOYtLkjMLc5Mh0idY lSUEuf9AZIQAElklObBtcGi7BKjrJQwLyPQIUI8BalFuZklqPKvGMU5GJWEeZVAtvNk5pXATX 8FtJgJaLFh6zSQxSWJCCmpBkbNmQvbyz4/Uqy6sPdBelzb3rmh27QVrJoDrVlL5f238Lz7mP4 3LEX71frSdzyWDtH+YrW/I2Y6GboorTHZW3agSmfqo475q95lz5VN2nhe+XX4pBVvbvS5iG3x eLd04vVkX82iubnhIlLlr0zSlpj49yx9/lHee/sDD7Vr/K3iH64srk9Yt0KJpTgj0VCLuag4E QCwtD8QrQIAAA== X-Env-Sender: prvs=400f1e73e=roger.pau@citrix.com X-Msg-Ref: server-12.tower-27.messagelabs.com!1503395408!111409993!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 20737 invoked from network); 22 Aug 2017 09:50:10 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-12.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 22 Aug 2017 09:50:10 -0000 X-IronPort-AV: E=Sophos;i="5.41,411,1498521600"; d="scan'208";a="436366321" From: Roger Pau Monne To: Date: Tue, 22 Aug 2017 10:49:20 +0100 Message-ID: <20170822094920.70151-20-roger.pau@citrix.com> X-Mailer: git-send-email 2.11.0 (Apple Git-81) In-Reply-To: <20170822094920.70151-1-roger.pau@citrix.com> References: <20170822094920.70151-1-roger.pau@citrix.com> MIME-Version: 1.0 Cc: Wei Liu , boris.ostrovsky@oracle.com, Roger Pau Monne , Ian Jackson Subject: [Xen-devel] [PATCH 19/19] libxl: remove device model "none" from IDL X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP And the xl.cfg man page documentation. Signed-off-by: Roger Pau Monné --- Cc: Ian Jackson Cc: Wei Liu --- 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 e95b9e9ca5..1f199a912c 100644 --- a/docs/man/xl.cfg.pod.5.in +++ b/docs/man/xl.cfg.pod.5.in @@ -2271,11 +2271,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 3aee26ff53..2508232fc5 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -996,14 +996,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 * * If this is defined, then libxl_checkpointed_stream exists. diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl index 0475bddc59..34abb997fe 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", [