From nobody Mon May 6 00:24:43 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1576863355; cv=none; d=zohomail.com; s=zohoarc; b=jI7eNI7xgTfDnfRhYGydSH9bTNd2h+hECC7x9XRGriX2/vWzZMRW/VPUFufqVmEK6qCU4HO/KQaBybjpRJEfev7gJCgLVcVR5hxUPQzeXbDqrrCl8x2lGl4Qp4GE14LHH0xRBR9KWBGatRgZLgG7JsYpSpOzZVA3TSCbnyl2eRc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1576863355; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=aXPVQtldzTM5nlBvcw6UPFVGbKuH6pD5OMjuc3kpyAY=; b=V4JIf6Ej356talQtFiUrNzpCa6ue8K1DArFf3YD2Xqt5agzXDlqHnikgrp74XgDyPA8YOyudrM2Fr4hTff5/apqYoEmOfDxDFtsIA52kfzN1jJVnT4OgnixD+fAkGCv8TvReocVLzWzEFqcCsLS3zYq1EGoBHaPfCDfJtcInF3M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1576863355143871.9321686799617; Fri, 20 Dec 2019 09:35:55 -0800 (PST) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iiMBJ-0000HU-1U; Fri, 20 Dec 2019 17:35:17 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iiMBH-0000HP-VX for xen-devel@lists.xenproject.org; Fri, 20 Dec 2019 17:35:15 +0000 Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 102f3e42-234f-11ea-88e7-bc764e2007e4; Fri, 20 Dec 2019 17:35:07 +0000 (UTC) X-Inumbo-ID: 102f3e42-234f-11ea-88e7-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1576863307; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Mz7nvhztl5VSXMf/lORVJzUH8CjuyFpyPSn42oNYLeQ=; b=C8Vg9BjRffOogDAmm5FmIkUuponL1YepJa67qlTTzZZQ9uc/NYcRm71J 0Qae3hId5+IMiW41nT4TrSxT72oimtPslalh36UGiGGhXDKXEG9N8QHpG YTaxnYiClW9bMGHFiM9rXz2UnbYO6I+syvQpzcUpre6xoPZO6SSR8TjVJ M=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=andrew.cooper3@citrix.com; spf=Pass smtp.mailfrom=Andrew.Cooper3@citrix.com; spf=None smtp.helo=postmaster@mail.citrix.com Received-SPF: none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of andrew.cooper3@citrix.com) identity=pra; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="andrew.cooper3@citrix.com"; x-conformance=sidf_compatible Received-SPF: Pass (esa5.hc3370-68.iphmx.com: domain of Andrew.Cooper3@citrix.com designates 162.221.158.21 as permitted sender) identity=mailfrom; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="Andrew.Cooper3@citrix.com"; x-conformance=sidf_compatible; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:209.167.231.154 ip4:178.63.86.133 ip4:195.66.111.40/30 ip4:85.115.9.32/28 ip4:199.102.83.4 ip4:192.28.146.160 ip4:192.28.146.107 ip4:216.52.6.88 ip4:216.52.6.188 ip4:162.221.158.21 ip4:162.221.156.83 ip4:168.245.78.127 ~all" Received-SPF: None (esa5.hc3370-68.iphmx.com: no sender authenticity information available from domain of postmaster@mail.citrix.com) identity=helo; client-ip=162.221.158.21; receiver=esa5.hc3370-68.iphmx.com; envelope-from="Andrew.Cooper3@citrix.com"; x-sender="postmaster@mail.citrix.com"; x-conformance=sidf_compatible IronPort-SDR: F0HU4DPCdJJfo9DJAAyjs7kdRoB+y4d+vG/+kF8zBuCXmAviJnfXV5ZNu3jmSw9wDzbnb0P0rf ZB7MM8QuPT+kbJedygDlTFQhFmTtwrxkJqrSPQhfKa6kejiU6GNQvYoXHXOoIGvvfwV+py9xNS yu9+lrHA3Z0M6yjEtz14q6IYHcBBJA3Mj8VLy/HBCRDpTQuYCcdlQtny9rbKHbMx8izErCQLy0 SAqSVyK4Fl1+VYAr5vaGCj8kqZ2YKm4+tUjx7Vq7APLI70dCpCKdQl9RCEqWUa3+gWO38/+Bm7 Od0= X-SBRS: 2.7 X-MesageID: 10368934 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.69,336,1571716800"; d="scan'208";a="10368934" From: Andrew Cooper To: Xen-devel Date: Fri, 20 Dec 2019 17:35:02 +0000 Message-ID: <20191220173502.15615-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH] libxc/migration: Drop unimplemneted domain types X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Jan Beulich , Ian Jackson Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) x86 PVH is completely obsolete - it was intended for legacy PVH before that idea was abandoned. There was an RFC series for ARM in 2015, but there is plenty of outstanding work which hasn't been done yet. No functional change. New types can be (re)introduced with the code which actually implements them. Signed-off-by: Andrew Cooper Acked-by: Ian Jackson Acked-by: Julien Grall Acked-by: Wei Liu --- CC: George Dunlap CC: Ian Jackson CC: Jan Beulich CC: Konrad Rzeszutek Wilk CC: Stefano Stabellini CC: Wei Liu CC: Julien Grall CC: Marek Marczykowski-G=C3=B3recki --- docs/specs/libxc-migration-stream.pandoc | 6 +----- tools/libxc/xc_sr_common.c | 2 -- tools/libxc/xc_sr_stream_format.h | 2 -- tools/python/xen/migration/libxc.py | 4 ---- 4 files changed, 1 insertion(+), 13 deletions(-) diff --git a/docs/specs/libxc-migration-stream.pandoc b/docs/specs/libxc-mi= gration-stream.pandoc index 313be3e80d..a7a8a08936 100644 --- a/docs/specs/libxc-migration-stream.pandoc +++ b/docs/specs/libxc-migration-stream.pandoc @@ -160,11 +160,7 @@ type 0x0000: Reserved. =20 0x0002: x86 HVM. =20 - 0x0003: x86 PVH. - - 0x0004: ARM. - - 0x0005 - 0xFFFFFFFF: Reserved. + 0x0003 - 0xFFFFFFFF: Reserved. =20 page_shift Size of a guest page as a power of two. =20 diff --git a/tools/libxc/xc_sr_common.c b/tools/libxc/xc_sr_common.c index 370d98d94a..46fd928de2 100644 --- a/tools/libxc/xc_sr_common.c +++ b/tools/libxc/xc_sr_common.c @@ -8,8 +8,6 @@ static const char *dhdr_types[] =3D { [DHDR_TYPE_X86_PV] =3D "x86 PV", [DHDR_TYPE_X86_HVM] =3D "x86 HVM", - [DHDR_TYPE_X86_PVH] =3D "x86 PVH", - [DHDR_TYPE_ARM] =3D "ARM", }; =20 const char *dhdr_type_to_str(uint32_t type) diff --git a/tools/libxc/xc_sr_stream_format.h b/tools/libxc/xc_sr_stream_f= ormat.h index 051afa7dcd..37a7da6eab 100644 --- a/tools/libxc/xc_sr_stream_format.h +++ b/tools/libxc/xc_sr_stream_format.h @@ -43,8 +43,6 @@ struct xc_sr_dhdr =20 #define DHDR_TYPE_X86_PV 0x00000001U #define DHDR_TYPE_X86_HVM 0x00000002U -#define DHDR_TYPE_X86_PVH 0x00000003U -#define DHDR_TYPE_ARM 0x00000004U =20 /* * Record Header diff --git a/tools/python/xen/migration/libxc.py b/tools/python/xen/migrati= on/libxc.py index 70bcb8d15b..432750c9fa 100644 --- a/tools/python/xen/migration/libxc.py +++ b/tools/python/xen/migration/libxc.py @@ -32,14 +32,10 @@ =20 DHDR_TYPE_x86_pv =3D 0x00000001 DHDR_TYPE_x86_hvm =3D 0x00000002 -DHDR_TYPE_x86_pvh =3D 0x00000003 -DHDR_TYPE_arm =3D 0x00000004 =20 dhdr_type_to_str =3D { DHDR_TYPE_x86_pv : "x86 PV", DHDR_TYPE_x86_hvm : "x86 HVM", - DHDR_TYPE_x86_pvh : "x86 PVH", - DHDR_TYPE_arm : "ARM", } =20 # Records --=20 2.11.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel