All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: "Michał Zegan" <webczat@outlook.com>
Cc: kvm@vger.kernel.org, Maxim Levitsky <mlevitsk@redhat.com>
Subject: Re: Fwd: Windows 11 guest crashing supposedly in smm after some time of use
Date: Thu, 16 Feb 2023 10:37:09 -0800	[thread overview]
Message-ID: <Y+531ch/dAfdJbYV@google.com> (raw)
In-Reply-To: <BYAPR12MB3014D1E557077CB76DEA019DA0A09@BYAPR12MB3014.namprd12.prod.outlook.com>

+Maxim

On Thu, Feb 16, 2023, Michał Zegan wrote:
> What these issues were? I don't have a quick ability to test kernel 6.2, but
> fedora will receive it, so I will definitely get a chance. Can you give me
> any pointers so that I can see whether it could be related?

I don't know the details, we (Google) don't rely on emulating SMM to support secure
boot.

Maxim, do you have any pointers for determining whether or not the KVM SMM issues
might be related?

> W dniu 16.02.2023 o 19:29, Sean Christopherson pisze:
> > On Thu, Feb 16, 2023, Michał Zegan wrote:
> > > Resending to kvm mailing list, in case someone here might help... Also will
> > > try again with newer ovmf, but assume it happens.
> > > I have windows11 installed on a vm. This vm generally works properly, but
> > > then might crash unexpectedly at any point, this includes situation like
> > > logging onto the system and leaving it intact for like an hour or less. This
> > > can be reproduced by waiting long enough but there is no single known action
> > > causing it.
> > > 
> > > What could be the problem?
> > > 
> > > 
> > > Configuration and error details:
> > > 
> > > My host is a msi vector gp76 laptop with intel core i7 12700h, 32gb of
> > > memory, host os is fedora linux 37 with custom compiled linux kernel (fedora
> > > patches). Current kernel version is 6.1.10 but when I installed the vm it
> > > was 6.0 or less, don't quite remember exactly, and this bug was present. Not
> > > sure if bios is up to date, but microcode is, if that matters.
> > ...
> > 
> > > Guest is windows 11 pro 64 bit.
> > > 
> > > What crashes is qemu itself, not that the guest is bsod'ing.
> > Can you try a 6.2 or later kernel?  E.g. Linus' HEAD, linux-next, kvm/queue, etc.
> > KVM had a pile of SMM fixes[*] merged for 6.2 specifically aimed at fixing issues
> > with secure boot of Windows 11 guest.  They aren't likely to be backported to LTS
> > kernels as they aren't easily consumable (though I'm guessing software vendors
> > will end up backporting to their supported kernels).
> > 
> > [*] https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Fall%2F20221025124741.228045-1-mlevitsk%40redhat.com&data=05%7C01%7C%7Ced887369e7a446c55aa208db104bc18f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638121689771499220%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oTa%2BDEScxiIn%2Fqd3KRUtqiegCv2J8p6RpZ%2Flnm%2F1f1I%3D&reserved=0
> 

      reply	other threads:[~2023-02-16 18:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c0bf0011-a697-da29-c2d2-8c16e9df21cf@outlook.com>
2023-02-13 14:58 ` Windows 11 guest crashing supposedly in smm after some time of use Michał Zegan
2023-02-16 18:06 ` Fwd: " Michał Zegan
2023-02-16 18:29   ` Sean Christopherson
2023-02-16 18:32     ` Michał Zegan
2023-02-16 18:37       ` Sean Christopherson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y+531ch/dAfdJbYV@google.com \
    --to=seanjc@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=mlevitsk@redhat.com \
    --cc=webczat@outlook.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.