All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1738507] [NEW] qemu sometimes stuck when booting windows 10
@ 2017-12-16  1:07 webczat
  2017-12-16  1:08 ` [Qemu-devel] [Bug 1738507] " webczat
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: webczat @ 2017-12-16  1:07 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I am using qemu-2.10.1, or actually libvirt, to create a virtual machine, running microsoft windows 10 pro operating system.
It installed fine and was actually working, however sometimes when trying to boot the vm, the whole boot process gets stuck.
For some reason, it seemed to happen only when enough physical memory is taken so that, when booting a windows vm that has 4gb of available ram, host starts swapping some other processes. It is not always happening there, but often it happens, and I do not remember seeing any case of this happening when not swapping, maybe a kind of a timing issue?
When this happens, I usually try to hard reset the machine by libvirt reset command or equivalent system_reset on qemu monitor, however the whole reset does not happen, and the command is a noop. That makes me think it is a qemu bug, not windows refusing operation. At the time of this event, qemu monitor and spice server are working correctly, are not stuck, and even doing things like system reset does not result in a monitor hang. It is also possible to quit qemu normally.
I tried to workaround the bug by guessing what may cause it. Switched from bios to uefi, changed virtio-scsi to ahci temporarily, and disabled virtio-balloon in case it would be buggy, with no visible change.
I will attach a libvirt log, because it contains qemu command line. I will also attach an example qemu backtrace.
>From what i know, both vcpu threads are working normally, at least none of them is stuck in a vcpu, nor deadlocked, etc. So backtrace could be different each time I tried to get it.

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "example qemu backtrace from all threads"
   https://bugs.launchpad.net/bugs/1738507/+attachment/5023250/+files/backtrace.txt

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1738507

Title:
  qemu sometimes stuck when booting windows 10

Status in QEMU:
  New

Bug description:
  I am using qemu-2.10.1, or actually libvirt, to create a virtual machine, running microsoft windows 10 pro operating system.
  It installed fine and was actually working, however sometimes when trying to boot the vm, the whole boot process gets stuck.
  For some reason, it seemed to happen only when enough physical memory is taken so that, when booting a windows vm that has 4gb of available ram, host starts swapping some other processes. It is not always happening there, but often it happens, and I do not remember seeing any case of this happening when not swapping, maybe a kind of a timing issue?
  When this happens, I usually try to hard reset the machine by libvirt reset command or equivalent system_reset on qemu monitor, however the whole reset does not happen, and the command is a noop. That makes me think it is a qemu bug, not windows refusing operation. At the time of this event, qemu monitor and spice server are working correctly, are not stuck, and even doing things like system reset does not result in a monitor hang. It is also possible to quit qemu normally.
  I tried to workaround the bug by guessing what may cause it. Switched from bios to uefi, changed virtio-scsi to ahci temporarily, and disabled virtio-balloon in case it would be buggy, with no visible change.
  I will attach a libvirt log, because it contains qemu command line. I will also attach an example qemu backtrace.
  From what i know, both vcpu threads are working normally, at least none of them is stuck in a vcpu, nor deadlocked, etc. So backtrace could be different each time I tried to get it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1738507/+subscriptions

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

end of thread, other threads:[~2021-01-10  4:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-16  1:07 [Qemu-devel] [Bug 1738507] [NEW] qemu sometimes stuck when booting windows 10 webczat
2017-12-16  1:08 ` [Qemu-devel] [Bug 1738507] " webczat
2020-11-10 18:02 ` Thomas Huth
2021-01-10  4:17 ` Launchpad Bug Tracker

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.