[libvirt] [PATCH 2/5] Introduce SMM feature

Laszlo Ersek lersek at redhat.com
Mon Aug 1 14:40:36 UTC 2016

On 08/01/16 14:28, Gerd Hoffmann wrote:
>   Hi,
>> ... Gerd's above metadata change is dated 2016-03-21, at which point
>> both QEMU v2.4.0 and v2.5.0 had been tagged (on 2015-08-11 and on
>> 2015-12-16, respectively). I guess Gerd may have mis-remembered the
>> exact QEMU release which included SMM support?
> Either that, or because some of the bits needed for secure boot didn't
> made it into 2.4 (and secure boot being *the* use case for smm
> emulation).

Good point.

>> ... Anyway, looking over your patch quickly, I think it really only
>> concerns itself with "-machine smm=on", and for that, the 2.4 version
>> check should suffice. It's only OVMF that needs a lot more than that.
> Well, in kvm mode there is also a kernel support for smm required ...

Indeed; I just assumed libvirt didn't try to confirm host kernel (KVM)
features as well.

If it does, then the host kernel should be 4.4 or later. (If we want to
capture version numbers, then for each minor release, the latest patch
level should be required: 4.4.16, 4.5.7, 4.6.5, 4.7.0, because there
have been a number of KVM tweaks and stable backports for SMM support.)


More information about the libvir-list mailing list