desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #33369
[Bug 870024] Re: suspend on idle should be disabled when running inside a VM
There are ways to detect this in a VM, yes. It is my understanding that Windows looks at the video card driver. lspci should give enough info for this. Eg with the 'vmvga' and 'cirrus' kvm drivers (there are others that can be added):
$ lspci | grep VGA
00:02.0 VGA compatible controller: VMware SVGA II Adapter
$ lspci | grep VGA
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/870024
Title:
suspend on idle should be disabled when running inside a VM
Status in “gnome-settings-daemon” package in Ubuntu:
New
Bug description:
Suspend on idle does not work with our preferred virtualization
technology of libvirt/qemu-kvm. The machine suspends, but there is no
way to make it resume. I don't know if qemu-kvm and the VM bios
supports it or if it is simply a bug in libvirt, but suspending in a
VM by default is pointless as it only gets in the way of people's
work. If I walk away from my computer, the host should suspend if I
choose for it to do so, not the VM. Suspending/resuming the host with
running VMs has worked fine for years so there should be no problem
with this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/870024/+subscriptions
References