]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: load direct kernel config from libvirt
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 6 Oct 2022 11:35:40 +0000 (12:35 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 15 Nov 2022 11:09:30 +0000 (11:09 +0000)
commit7d55c815c63fc2a794bc6467f673afbdda932ea4
tree75b7a4eda3c4da76707659df0cf8945cb26eaca3
parent0b9e70b1419023c9d5445667940a346a2cafc7f5
tools: load direct kernel config from libvirt

When connected to libvirt we can validate that the guest configuration
has the kernel hashes property enabled, otherwise including the kernel
GUID table in our expected measurements is not likely to match the
actual measurement.

When running locally we can also automatically detect the kernel/initrd
paths, along with the cmdline string from the XML.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
docs/manpages/virt-qemu-sev-validate.rst
tools/virt-qemu-sev-validate