qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Bug#922612: qemu-system: black screen when guest goes t


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] Bug#922612: qemu-system: black screen when guest goes to powersave, does not come back
Date: Thu, 21 Feb 2019 14:47:19 +0100
User-agent: NeoMutt/20180716

  Hi,

> > That is, when I run either a standard ubuntu 17.10 or windows 10 (with
> > qxl-dod driver), then by default they switch off the screen after a while,
> > which results in black screen in qemu, as expected.

Just the screen saver I guess.

> > If I let the systems idle for longer (say, half an hour), then they seem
> > to go into a deeper powersave, and pressing a key or moving the mouse does
> > NOT restore the screen - it stays black.

Probably "systemctl suspend".

> > When the vm is in this state, I have not found a way to get the display
> > back, the only way that works is to quit qemu and start it again (meaning
> > boot the guest again in a new qemu instance, I have not tried to
> > suspend/resume a vm).
> > 
> > I have verified that mouse inputs and keypresses are registered correctly
> > by the guest in this state, so I assume it does try to switch on the
> > virtual monitor.

Doesn't reproduce.

Can you log into the machine (serial console, network)?
If so: anything suspicious in the kernel log?

Also: it is possible to disable suspend support (libvirt xml):

  <pm>
    <suspend-to-mem enabled='no'/>
    <suspend-to-disk enabled='no'/>
  </pm>

Suspending virtual machines typically adds little benefit and isn't
tested that well, so I'd recommend doing that.

Bugs can be in both host (qemu) and guest (linux kernel driver).   Often
it is quite difficult to debug and to figure who is actually at fault
here.

cheers,
  Gerd




reply via email to

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