[libvirt] [PATCH 1/4] tests: sev: Test launch-security with specific QEMU version

Peter Krempa pkrempa at redhat.com
Wed Aug 15 15:55:08 UTC 2018


On Wed, Aug 15, 2018 at 17:02:05 +0200, Erik Skultety wrote:
> In order to test SEV we need real QEMU capabilities. Ideally, this would
> be tested with -latest capabilities, however, our capabilities are
> currently tied to Intel HW, even the 2.12.0 containing SEV were edited by
> hand, so we can only use that one for now, as splitting the capabilities
> according to the vendor is a refactor for another day. The need for real

Yeah, that won't be pretty. Or will require adding a new testing macro
for non-mainstream arches.

> capabilities comes from the extended SEV platform data (PDH, cbitpos,
> etc.) we'll need to cache/parse.
> 
> Signed-off-by: Erik Skultety <eskultet at redhat.com>
> ---
>  ...ev.args => launch-security-sev.x86_64-2.12.0.args} | 19 ++++++++++++-------
>  tests/qemuxml2argvtest.c                              |  4 +---
>  2 files changed, 13 insertions(+), 10 deletions(-)
>  rename tests/qemuxml2argvdata/{launch-security-sev.args => launch-security-sev.x86_64-2.12.0.args} (54%)

ACK, it's good to see more of the real caps tests.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180815/21099cdc/attachment-0001.sig>


More information about the libvir-list mailing list