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

2018-08-19 Thread Erik Skultety
On Fri, Aug 17, 2018 at 04:30:11PM +0200, Peter Krempa wrote: > On Thu, Aug 16, 2018 at 12:35:17 +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 su

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

2018-08-17 Thread Peter Krempa
On Thu, Aug 16, 2018 at 12:35:17 +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 w

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

2018-08-16 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 co