Re: [libvirt] [PATCH 3/4] qemu: Fix probing of AMD SEV support

2018-08-16 Thread Erik Skultety
On Wed, Aug 15, 2018 at 06:06:26PM +0200, Peter Krempa wrote: > On Wed, Aug 15, 2018 at 17:02:07 +0200, Erik Skultety wrote: > > So the procedure to detect SEV support works like this: > > 1) we detect that sev-guest is among the QOM types and set the cap flag > > 2) we probe the monitor for SEV

Re: [libvirt] [PATCH 3/4] qemu: Fix probing of AMD SEV support

2018-08-15 Thread Peter Krempa
On Wed, Aug 15, 2018 at 17:02:07 +0200, Erik Skultety wrote: > So the procedure to detect SEV support works like this: > 1) we detect that sev-guest is among the QOM types and set the cap flag > 2) we probe the monitor for SEV support > - this is tricky, because QEMU with compiled SEV support

[libvirt] [PATCH 3/4] qemu: Fix probing of AMD SEV support

2018-08-15 Thread Erik Skultety
So the procedure to detect SEV support works like this: 1) we detect that sev-guest is among the QOM types and set the cap flag 2) we probe the monitor for SEV support - this is tricky, because QEMU with compiled SEV support will always report -object sev-guest and query-sev-capabilities