From: Christian Ludwig <christian_ludwig@genua.de>
To: <pve-devel@lists.proxmox.com>
Subject: [PATCH pve-manager 5/7] api: register SEV capabilities endpoint
Date: Thu, 24 Sep 2026 16:14:08 +0200 [thread overview]
Message-ID: <cb820adbfe9aafde74a90ef65a953bcdff2f3bcc.1790236104.git@genua.de> (raw)
In-Reply-To: <chipid.1790235905.git@genua.de>
[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]
Wire up PVE::API2::Qemu::Sev from qemu-server, which exposes the SEV
chip ID and reported SNP TCB security patch levels.
Signed-off-by: Christian Ludwig <christian_ludwig@genua.de>
---
PVE/API2/Capabilities.pm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/PVE/API2/Capabilities.pm b/PVE/API2/Capabilities.pm
index 30b03c2d..43d67fbe 100644
--- a/PVE/API2/Capabilities.pm
+++ b/PVE/API2/Capabilities.pm
@@ -9,6 +9,7 @@ use PVE::RESTHandler;
use PVE::API2::Qemu::CPU;
use PVE::API2::Qemu::CPUFlags;
use PVE::API2::Qemu::Machine;
+use PVE::API2::Qemu::Sev;
use PVE::API2::NodeCapabilities::Qemu::Migration;
use base qw(PVE::RESTHandler);
@@ -28,6 +29,11 @@ __PACKAGE__->register_method({
path => 'qemu/machines',
});
+__PACKAGE__->register_method({
+ subclass => "PVE::API2::Qemu::Sev",
+ path => 'qemu/sev',
+});
+
__PACKAGE__->register_method({
subclass => 'PVE::API2::NodeCapabilities::Qemu::Migration',
path => 'qemu/migration',
@@ -94,6 +100,7 @@ __PACKAGE__->register_method({
{ name => 'cpu-flags' },
{ name => 'machines' },
{ name => 'migration' },
+ { name => 'sev' },
];
return $result;
--
2.34.1
next prev parent reply other threads:[~2026-09-24 14:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-24 14:14 [PATCH 0/7] SEV: Expose chip ID and reported TCB versions Christian Ludwig
2026-09-24 14:14 ` [PATCH pve-common 1/7] procfs: read CPU model and stepping from cpuinfo Christian Ludwig
2026-09-24 14:14 ` [PATCH qemu-server 2/7] sev: Detect SEV- Christian Ludwig
2026-09-24 14:14 ` [PATCH qemu-server 3/7] sev: Expose chip ID and reported TCB versions Christian Ludwig
2026-09-24 14:14 ` [PATCH qemu-server 4/7] api: add endpoint for SEV attestation data Christian Ludwig
2026-09-24 14:14 ` Christian Ludwig [this message]
2026-09-24 14:14 ` [PATCH pve-docs 6/7] qm: Describe ASIDs for SEV Christian Ludwig
2026-09-24 14:14 ` [PATCH pve-docs 7/7] sev: Describe VCEK retieval Christian Ludwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cb820adbfe9aafde74a90ef65a953bcdff2f3bcc.1790236104.git@genua.de \
--to=christian_ludwig@genua.de \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox