From nobody Sun Nov 24 16:22:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1717055653; cv=none; d=zohomail.com; s=zohoarc; b=EMnGKEIX/8uxyMZusDiyzzUShtmwVnnTodut/GzoBmbSs9+d6y8v1CUA+6DnHRL37cM6l6t3+wqerlFo3qxQD0gdAVO2w+Xw5bAH0TqHSe0CJz4VKBJc+YvaULuaSQlsAjpJNCNbw+I84W8GZ6dzxyHYv+ppiTI5UHlBRUnLrTM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1717055653; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=li5PB+SVoxtb4ME8F/9PRui3RwKWJvCvwTggjmT/4Xc=; b=OBCUF/Q79J3WQMPTNFwEZKQljudEGk/va4IA/js8TWyovYXQc2oDc4wp/Xg/k0NsvmzwEdhH6SIqBA1JseT4YtobzZhREPcLrne3RrMQDbq88Q7H50KhxwMfCqE/aENmQi9l3MzJPajkQJAnmBWi9Iy+qoN3fI3mxECqSGXsdqI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1717055653059299.00478773465807; Thu, 30 May 2024 00:54:13 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.732498.1138476 (Exim 4.92) (envelope-from ) id 1sCabb-0003iD-GW; Thu, 30 May 2024 07:53:47 +0000 Received: by outflank-mailman (output) from mailman id 732498.1138476; Thu, 30 May 2024 07:53:47 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sCabb-0003i6-Dg; Thu, 30 May 2024 07:53:47 +0000 Received: by outflank-mailman (input) for mailman id 732498; Thu, 30 May 2024 07:53:45 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sCabZ-0003hy-Pb for xen-devel@lists.xenproject.org; Thu, 30 May 2024 07:53:45 +0000 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [2a00:1450:4864:20::432]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id bcf37c54-1e59-11ef-90a1-e314d9c70b13; Thu, 30 May 2024 09:53:44 +0200 (CEST) Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-354ba5663c9so652058f8f.0 for ; Thu, 30 May 2024 00:53:44 -0700 (PDT) Received: from localhost ([213.195.114.223]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35579d7db97sm16555229f8f.24.2024.05.30.00.53.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 00:53:42 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: bcf37c54-1e59-11ef-90a1-e314d9c70b13 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1717055623; x=1717660423; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=li5PB+SVoxtb4ME8F/9PRui3RwKWJvCvwTggjmT/4Xc=; b=T8W25XZv0yVjrVjpsHgbM7eKCwedRQWNsemubFoFA/0mU0aWF7g3e6rqzBS3DSZ1kL HryDspJ6ZpXHDsLJ6w0Vwc6ejupzG9Mbo/zGkpXYnE6M0kkY9RWHV1VKciyob4kk29eg 8aj0UBLNGWGhLYtyNXVVbQpUXS3X0foosXoAg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717055623; x=1717660423; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=li5PB+SVoxtb4ME8F/9PRui3RwKWJvCvwTggjmT/4Xc=; b=SlQntR7xK9eNaRJ3bXqgX4tlyFXXfgZXAEbb7yOrNJtaqyfUucrU7vEqYujhgb2GOc 4p7hOvhcu+RF/Tip2mvMbyWmDHqCEC/H4Rz2OuCUxye1l3D53jyUUXuXjIX1e0wt8vC+ G/vKNDuGOibi3+GyGTI58DwjsERTCSBQjMQqNC9ClYXyh72K2ypccXDb9Mxfk1KM7wOi T4Ddm5LyJ87lOTaY03/2UupqUIOJGq/We1UkhVKdbHODqijTwcWNbiBGxyl6YFjJ2MOz WpEJUrFLW4xcTvaZRyytQJeOQobULNi2grrrsvX5+YdiTt5aORjIiT0oXFtTosBe6Coi 174A== X-Gm-Message-State: AOJu0Ywnrf1ke/XldWHvoqW3zBR3ahssIbvlosjvLo0B9tUdV7L7dnr+ acm1w6XpUTl8GjlfZz3UjQWdIC0t83XhbeVewih3OxtNmUc5sM1roT7Cy9LhY8LrEVyZdHDTeYl p X-Google-Smtp-Source: AGHT+IEYFUcZuJopx1tsUk/xX1jaKtL8IvQTQ4cwdFMDlC5+LAT/CxxX6AETi7v2js7CfgUTXXSspg== X-Received: by 2002:a05:6000:1751:b0:354:f622:fc5b with SMTP id ffacd0b85a97d-35dc00908fbmr726685f8f.23.1717055623085; Thu, 30 May 2024 00:53:43 -0700 (PDT) From: Roger Pau Monne To: xen-devel@lists.xenproject.org Cc: Roger Pau Monne , Jan Beulich , Andrew Cooper Subject: [PATCH] x86/hvm: allow XENMEM_machine_memory_map Date: Thu, 30 May 2024 09:53:18 +0200 Message-ID: <20240530075318.67491-1-roger.pau@citrix.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1717055655132100001 For HVM based control domains XENMEM_machine_memory_map must be available so that the `e820_host` xl.cfg option can be used. Signed-off-by: Roger Pau Monn=C3=A9 Acked-by: Andrew Cooper --- xen/arch/x86/hvm/hypercall.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/arch/x86/hvm/hypercall.c b/xen/arch/x86/hvm/hypercall.c index 14679dd82971..7fb3136f0c7c 100644 --- a/xen/arch/x86/hvm/hypercall.c +++ b/xen/arch/x86/hvm/hypercall.c @@ -25,7 +25,6 @@ long hvm_memory_op(unsigned long cmd, XEN_GUEST_HANDLE_PA= RAM(void) arg) =20 switch ( cmd & MEMOP_CMD_MASK ) { - case XENMEM_machine_memory_map: case XENMEM_machphys_mapping: return -ENOSYS; } --=20 2.44.0