kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nVMX regression v3.13+, bisected
@ 2014-02-26 19:43 Stefan Bader
  2014-02-26 20:25 ` Paolo Bonzini
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Bader @ 2014-02-26 19:43 UTC (permalink / raw)
  To: kvm; +Cc: Anthoine Bourgeois, Paolo Bonzini

[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]

Hi,

I was looking at a bug report[1] about a regression on nested VMX that started
with kernel v3.13 (same issue still existed with v3.14-rc4). The problem shows
up when running a v3.13 kernel in L0 and then trying to launch a L2 (L1 was
either a v3.2 kernel or v3.13, so seemed to have no immediate influence). L2 is
trying to boot a iso image and hangs before the isolinux boot loader displays
anything. A preinstalled hd image fails to boot, too.

I bisected this and ended up on the following commit which, when reverted made
the launch work again:

Author: Anthoine Bourgeois <bourgeois@bertin.fr>
Date:   Wed Nov 13 11:45:37 2013 +0100

    kvm, vmx: Fix lazy FPU on nested guest

    If a nested guest does a NM fault but its CR0 doesn't contain the TS
    flag (because it was already cleared by the guest with L1 aid) then we
    have to activate FPU ourselves in L0 and then continue to L2. If TS flag
    is set then we fallback on the previous behavior, forward the fault to
    L1 if it asked for.

    Signed-off-by: Anthoine Bourgeois <bourgeois@bertin.fr>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

The condition to exit to L0 seems to be according to what the description says.
Could it be that the handling in L0 is doing something wrong?

-Stefan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-02-27 21:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-26 19:43 nVMX regression v3.13+, bisected Stefan Bader
2014-02-26 20:25 ` Paolo Bonzini
2014-02-26 20:27   ` Stefan Bader
2014-02-26 20:44     ` Kashyap Chamarthy
2014-02-27 12:10       ` Kashyap Chamarthy
2014-02-27 15:55         ` Kashyap Chamarthy
2014-02-27 10:51     ` Paolo Bonzini
2014-02-27 13:41       ` anthoine.bourgeois
2014-02-27 17:01       ` anthoine.bourgeois
2014-02-27 16:58         ` Paolo Bonzini
2014-02-27 21:34           ` Kashyap Chamarthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).