I think what they're observing, and I may be wrong, is that either their desktop environment, or Qemu, or their OS, is de-prioritizing Qemu when it loses foreground focus, and causing it to see timer events and processing time at a much lower priority than when it is in the foreground.
Alternative suggestion: Try running the VM either as a user mode or system mode libvirt guest with Qemu? On Wed, Jan 20, 2021, at 12:28 AM, gunnar.wagner wrote: > I am a novice like yourself ... > > Can it be that the guest OS is going to "hibernate" or "suspend" or so > automatically after a defined period of inactivity and you just > misinterpret this as kvm/qemu behavior? > > best ... Gunnar > > On 20.01.21 08:20, Asad Ali wrote: > > I am a novice using qemu to run LUbuntu in a Mac osx host. I used this guide > > https://graspingtech.com/ubuntu-desktop-18.04-virtual-machine-macos-qemu/ > > > > Using this I can run the LUbuntu VM. However, if I minimize the qemu window > > or simply not have it as the active window, the vm slows down to a halt. Is > > there some way to prevent this? > > > > Signs of slowing down: > > 1. ssh into the vm from the mac osx host takes a long time. > > 2. A python script running in the vm monitoring time deltas shows huge > > deltas once the "slowdown" kicks in. > > > > > > Any help would be very very very appreciated! > > Asad