qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: VoidCC <raidsmainacc@gmail.com>, qemu-devel@nongnu.org
Subject: Re: qemu/kvm tianocore restart stuck
Date: Fri, 23 Apr 2021 12:30:03 +0200	[thread overview]
Message-ID: <4034d473-9902-1a51-0e5a-103109a51e86@redhat.com> (raw)
In-Reply-To: <CABZ9ZfUNmxTPxOBh0SCvaxBFRHKkTfmwAQjqFin=20CwMK64_g@mail.gmail.com>

On 04/22/21 22:04, VoidCC wrote:
> Hello,
> 
> I'm hitting a hard wall with qemu and efi.
> I'm running multiple windows server 2019 vms which usually reboot on
> updates.
> 
> The issue is, efi breaks on reboot.
> It randomly(race condition?, does not occur consistently) ends up in a
> blackscreen: no bootloader, no efi screen and the only way to get out of
> that state is to destroy the vm.
> moving the host mouse cursor above the console in virt-manager results in a
> flashing mouse cursor.
> there are no physical devices attached and there is currently no virtio
> attachment in use (os has virtio drivers installed)
> 
> 
> Machine is Q35 with tianocore/ovmf efi.
> I managed to reproduce the same behaviour on rhel 8.3 as well as
> voidlinux (kernel 5.11)
> 
> gdb output of qemu is showing nothing worrisome, else ive compiled ovmf
> manually for debug output.
> libvirt logs don't show any issues.
> 
> root · Slexy.org Pastebin <https://slexy.org/view/s2w8CdNBx5>
> 

Please capture the firmware debug log. It's possible that you have
rebooted the VM many times, and the variable store got fragmented, at
the "Fault Tolerant Write" level. During one of these boots, an FTW
"reclaim" (a kind of "defrag") may run, and that's time consuming, if
you're not used to it. The firmware log could help. See the
OvmfPkg/README file for QEMU command line options, for capturing the
OVMF debug log.

Please include your QEMU command lines too, in the issue report.

Thanks
Laszlo



      parent reply	other threads:[~2021-04-23 10:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22 20:04 qemu/kvm tianocore restart stuck VoidCC
2021-04-23  9:51 ` Philippe Mathieu-Daudé
2021-04-23 10:30 ` Laszlo Ersek [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=4034d473-9902-1a51-0e5a-103109a51e86@redhat.com \
    --to=lersek@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=raidsmainacc@gmail.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 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).