From nobody Mon Feb 9 13:59:11 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1623307609; cv=none; d=zohomail.com; s=zohoarc; b=F4UBR3+VGR7ZB3jZWzUwdaEJIDNVVmR4Wm1kucrp1Mrk3pITb0BGaaOWmiPqBMw7/8d0dmE68Reh5aSFNGgaR8qGnbOG/8zhgkQ09i+ePjM92AgiIQaZ1KIsPI9fEKbxrCz3YCA7MnUsLtRjws8aU0MA3UYkAYvyHsc18IYdU4I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1623307609; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=bsDSEZHNo/Alerya/rQccn2RkvkTAbWl3TalIqQPVK0=; b=AbeGC1nhMNLO+rIkNGfNG2BfGk51eqschy1BtdBq+GW4CObsZV3nrpZGd+/4ptAS7wT3TWZfVD389PrFslIrc+tvibx+3d5vUIgSdeARQeJU3xEAI+MmOQtnxJ/HFSTfMwOyqGbZCVtTB9Cw2l0fpU/0NbS5KjNcrsOma8IAJvA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 162330760981792.65810118120112; Wed, 9 Jun 2021 23:46:49 -0700 (PDT) Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-460-ArNMD3FQPOWF5QlBmhfpjw-1; Thu, 10 Jun 2021 02:46:47 -0400 Received: by mail-wr1-f72.google.com with SMTP id r17-20020a5d52d10000b0290119976473fcso418028wrv.15 for ; Wed, 09 Jun 2021 23:46:47 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (235.red-83-57-168.dynamicip.rima-tde.net. [83.57.168.235]) by smtp.gmail.com with ESMTPSA id b8sm8979812wmd.35.2021.06.09.23.46.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jun 2021 23:46:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623307608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bsDSEZHNo/Alerya/rQccn2RkvkTAbWl3TalIqQPVK0=; b=M5zbnJ/fn5kazmjISKEK3DRvPp+fCyumBYvCVKDgu/DPoOjkpZFcNoBB4vBTMhSBIwRmSv mHdx8BJ9otfKEBz297CwuN4dJ6NO5dSFDOz+fnDgx+cYzHUYWSgWG4xnu3cri18vxIp/k3 8wYWSvhL6oXysfYZ3rIarP43e2mQVfg= X-MC-Unique: ArNMD3FQPOWF5QlBmhfpjw-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bsDSEZHNo/Alerya/rQccn2RkvkTAbWl3TalIqQPVK0=; b=albZrVThG4VERhAXUOKRDIQ12P6rRJbcqB81u7eX2easp9e8LxvbcgFh0LWQThlNzx ClMe5HoGyEb3h+ZSxe+2fVqls9aNRQN9vUtcqQFAGkWT36AN2GQ9YZ9fwY+tlLGPAuMQ sUrqMJLBP8YEEG5hiXEbRY8T9SMfVmTF0pal7MDIsNJ7nuV14LXRO3SLt6AD1ah7lu9y 8G5eeQ/JwL9GtNrvCbDlIUhdXbEY0vQ4ZKv9DbqEwZaBoVnCLQ/lESFKHYBZ8hJAVL2D Oq/nGdDGi4jtc2+pz74df0fAU/XSncqMsOhTqc8cIrQr+YYX8R8rk5C2mlni/eRzvTNR knkA== X-Gm-Message-State: AOAM533UnepH9dR3oSaF/Nk9mtaYxBxONU+xL1iKMuJ9MHKa36jeFUJv 3iLgjsADNZFrBgZs8q+LALsy+FmIU+R0Q7dGMTynq9JrGGVIw/FFx/8AiszLdZM2yH/Ev5Oc//3 uBEQ1PhOVPeZ6NA== X-Received: by 2002:a5d:6e0d:: with SMTP id h13mr3639751wrz.118.1623307606504; Wed, 09 Jun 2021 23:46:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoMqBQzSEIDPhtn+U1WPKOViLtnTR8w/NhzGhlY/FbON1/5ZMe5byPybtrz6pp4xv4o53j3g== X-Received: by 2002:a5d:6e0d:: with SMTP id h13mr3639737wrz.118.1623307606396; Wed, 09 Jun 2021 23:46:46 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: "Dr . David Alan Gilbert" , Connor Kuehl , Markus Armbruster , Brijesh Singh , Eric Blake , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH 11/11] monitor: Restrict 'info sev' to x86 targets Date: Thu, 10 Jun 2021 08:45:56 +0200 Message-Id: <20210610064556.1421620-12-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210610064556.1421620-1-philmd@redhat.com> References: <20210610064556.1421620-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/monitor/hmp-target.h | 1 + include/monitor/hmp.h | 1 - target/i386/sev-sysemu-stub.c | 2 +- target/i386/sev.c | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/monitor/hmp-target.h b/include/monitor/hmp-target.h index 60fc92722ae..20adbea5154 100644 --- a/include/monitor/hmp-target.h +++ b/include/monitor/hmp-target.h @@ -49,5 +49,6 @@ void hmp_info_tlb(Monitor *mon, const QDict *qdict); void hmp_mce(Monitor *mon, const QDict *qdict); void hmp_info_local_apic(Monitor *mon, const QDict *qdict); void hmp_info_io_apic(Monitor *mon, const QDict *qdict); +void hmp_info_sev(Monitor *mon, const QDict *qdict); =20 #endif /* MONITOR_HMP_TARGET_H */ diff --git a/include/monitor/hmp.h b/include/monitor/hmp.h index 605d57287ae..ac03adc6f0a 100644 --- a/include/monitor/hmp.h +++ b/include/monitor/hmp.h @@ -124,7 +124,6 @@ void hmp_info_ramblock(Monitor *mon, const QDict *qdict= ); void hmp_hotpluggable_cpus(Monitor *mon, const QDict *qdict); void hmp_info_vm_generation_id(Monitor *mon, const QDict *qdict); void hmp_info_memory_size_summary(Monitor *mon, const QDict *qdict); -void hmp_info_sev(Monitor *mon, const QDict *qdict); void hmp_info_replay(Monitor *mon, const QDict *qdict); void hmp_replay_break(Monitor *mon, const QDict *qdict); void hmp_replay_delete_break(Monitor *mon, const QDict *qdict); diff --git a/target/i386/sev-sysemu-stub.c b/target/i386/sev-sysemu-stub.c index 7a35f0432b2..aba02f3c332 100644 --- a/target/i386/sev-sysemu-stub.c +++ b/target/i386/sev-sysemu-stub.c @@ -13,7 +13,7 @@ =20 #include "qemu/osdep.h" #include "monitor/monitor.h" -#include "monitor/hmp.h" +#include "monitor/hmp-target.h" #include "qapi/qapi-commands-misc-target.h" #include "qapi/qmp/qerror.h" #include "qapi/error.h" diff --git a/target/i386/sev.c b/target/i386/sev.c index b4d7c41d3fb..0103b28c396 100644 --- a/target/i386/sev.c +++ b/target/i386/sev.c @@ -32,7 +32,7 @@ #include "migration/blocker.h" #include "qom/object.h" #include "monitor/monitor.h" -#include "monitor/hmp.h" +#include "monitor/hmp-target.h" #include "qapi/qapi-commands-misc-target.h" #include "qapi/qmp/qerror.h" #include "exec/confidential-guest-support.h" --=20 2.31.1