From nobody Mon Feb 9 17:06:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1623876311; cv=none; d=zohomail.com; s=zohoarc; b=b6lSTCG3gTBfQ2MgWRK1UIUPnddMDwRYebOA8YIcJrr+3FrzqIWHzdSeoCNETQMGbiDVs+moSTrRcZDFbYIMVd22DQUpHmL85EBiT2ujLGBfE1OLgDQvzdm5Lt80MFQCPx/ggz01xKLin7qDm3VUyowVD5E2Cm9Vp5KVNBEbuLk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1623876311; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=3bGf8QhwYTyqtZDoJsvakD6t0hbGYHq/YSQMhMqEONQ=; b=RugFAj2srXUjU6v6ETAE17m5BSD+PrKhgrHxUCgBxnsIBIhBonuTRx2nsWOrcCXDARitBHjL80DR1F+nU9/ELv2ztvRfUs9tIBUwFBrSGcPF+b5C/kSqPeYf0m0FaTgOaqg1PI/Aw0wtDb4jZXPR6NBhMXWicx9S4DWBTD1cWVY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1623876311130418.41562123365; Wed, 16 Jun 2021 13:45:11 -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-453-YUxNI4oUOU-qkoGERjDUsg-1; Wed, 16 Jun 2021 16:45:04 -0400 Received: by mail-wr1-f72.google.com with SMTP id n2-20020adfb7420000b029010e47b59f31so1850432wre.9 for ; Wed, 16 Jun 2021 13:45:04 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.. (93.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.93]) by smtp.gmail.com with ESMTPSA id x7sm3370919wre.8.2021.06.16.13.45.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 13:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623876310; 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=3bGf8QhwYTyqtZDoJsvakD6t0hbGYHq/YSQMhMqEONQ=; b=JAR2Hwz3iqMM4EE9IuXCgifFQy1uj4PEpK4FiWdZvYJf/1l652Kj0qd/vaQXhvqyciIqGD oSFaj5w9ZvwaJ4FInREKJHPu25JsDCEWDBZoYj7KzDvAg/xwoEBxOOmoP8/YZxs/BciX0B hwkPWyx1fQ2uEYlNqWqOLju+vIl8oKc= X-MC-Unique: YUxNI4oUOU-qkoGERjDUsg-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=3bGf8QhwYTyqtZDoJsvakD6t0hbGYHq/YSQMhMqEONQ=; b=clEcfK3TovtNvnc4N+1N584GcTu9UF2N2L4C2WcjQSe+6hfRNEKqPNLU6jo3bPnHgX /7DJ/lTKJbVzCC4GGbNtL5GLI0629698D8pXrY0/35jN5KH5F8WOXU2aq/NSj9vQkOkl 0cAR0W877pW+nCKIvLcIBZMki1pVW5O3Yrvajlpret8l+ZccJLpSHNVmfHgW6+G/z+x0 0sITd7e60mHY7+IcYfm0M2FwWWz1JX0eoLvvBhRhvJpEEYgryz/TZW3DIfXyCi4UWCR8 4Ai+6GCPKdVb6dFVUsc9pdJ87a1vfk+thTnYvr0tRwwPLNsTQXxCpkn2BD9iwoF/oGtQ VG+Q== X-Gm-Message-State: AOAM531hzPiv6hZUjRMgNBGoHa2KHlvDNoB3SFWwxsvxcnkl1HakRd+m 0jjdtai4g8sqSG7yLQPyq/NrXX6Rc+o4MptIK0prScihvTb4PbGdQROf2rqwtxdKCSfl73IUK5L LmoPGppjMsqc8KQ== X-Received: by 2002:a5d:6409:: with SMTP id z9mr1113385wru.279.1623876303545; Wed, 16 Jun 2021 13:45:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynwZXpcVLlZib7B8sx/BV0PpHR0qDK53qhbU9+sYtzFjcVbaZzc4WW1jr+vva0jaTmh1HbvQ== X-Received: by 2002:a5d:6409:: with SMTP id z9mr1113354wru.279.1623876303416; Wed, 16 Jun 2021 13:45:03 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Paolo Bonzini , Connor Kuehl , Gerd Hoffmann , Brijesh Singh , "Dr . David Alan Gilbert" , Eric Blake , Eduardo Habkost , Markus Armbruster , Igor Mammedov , James Bottomley , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Sergio Lopez , Marcel Apfelbaum , "Michael S. Tsirkin" , Laszlo Ersek , Dov Murik Subject: [PATCH v2 16/23] monitor: Restrict 'info sev' to x86 targets Date: Wed, 16 Jun 2021 22:43:21 +0200 Message-Id: <20210616204328.2611406-17-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210616204328.2611406-1-philmd@redhat.com> References: <20210616204328.2611406-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 3baa1058e2c..6bc27639e01 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 faa3a4015c4..339564ad2c8 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