qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 00/14] target-i386: Implement MPX extension


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 00/14] target-i386: Implement MPX extension
Date: Wed, 18 Nov 2015 10:43:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/17/2015 06:43 PM, Paolo Bonzini wrote:
Hi Richard, it would be nice to have these patches---or at least the
XSAVE support---in 2.6.  I also have a PKRU implementation for TCG, but
currently I'm only implementing RDPKRU/WRPKRU because I would like to
build the XSAVE support on top of your patches.

Sure.  I'll see about updating that branch this weekend.

Regarding SMM support, there are three ways to go:

1) pester Intel some more so that they disclose the format of the SMM
state save area;

They have done so, and relatively well. Section 34.4.1.1 of the software developer's manual (I'm looking at 325462-055, June 2015).

The issue, perhaps, is that the Intel and AMD layouts are totally different. Now, given that we've been using the AMD layout with Intel emulations maybe that means that it really doesn't matter what layout we use, so long as we're self-consistent.

Is there anything besides BIOS code that runs in SMM anyway? Do we have to be compatible with anything besides SeaBIOS in this area?

2) just place BNDCFGS at a random offset that is left as reserved in
AMD's manual;

3) do not save BNDCFGS at all since no one uses it anyway. *shrug*

I'm not a fan of 3 simply because it means that one can't experiment with it, since turning it on means either that SMM produces weird results or kernel state gets corrupted.

The holes in the computation of KVM's hflags are probably harmless, but
nice to have anyway.  Thanks for fixing them.  Are there others that I
missed?

Not that I saw.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]