usb-hid: fix tablet activation
Activate usb hid pointer devices (mouse+tablet) unconditionallyon polls, even if we NAK the poll due to lack of new events.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
usb-ehci: fix reset
Two reset fixes: * pick up s->usbcmd value after ehci_reset call to make sure it keeps the reset value and doesn't get rubbish filled in when val is written back to the mmio register array later on. * make sure the frame timer is zapped on reset....
optimize screendump for the common non-switch case
switch console only if needed, also pass down whenever the console wasswitched or not because a displaysurface redraw is only needed in casethe console was switched.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>...
nic: zap obsolote romloading bits from ne2k + pcnet
These days one just needs to specify the romfile in PCiDeviceInfo andeverything magically works. It also allows to disable pxe rom loadingvia "romfile=<emptystring>" like it is possible for all other nics....
suspend: make acpi timer wakeup the guest.
Make the acpi timer wake up the guest.Guests can enable/disable this via acpi too.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vga: simplify screendump
The displaychangelistener isn't needed at all, we can simply save theimage when vga_hw_update is done instead of hooking into the updateprocess.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Remove screendump dummy functions.
The code in console.c verifies whenever a screen_dump functionpointer is present before calling it, so there is no need to supply andummy function. Remove them. Also report an error to notify the userthat he didn't got a screenshot....
suspend: make ps/2 devices wakeup the guest
This patch adds wakeup support to ps/2 emulation. Any key press on theps/2 keyboard will wakeup the guest. Likewise any mouse button presswill wakeup the guest. Mouse moves are ignored, so the guest will not...
suspend: make serial ports wakeup the guest.
Add a 'wakeup' property to the serial port. It is off by default. Whenenabled any incoming character on the serial line will wake up theguest. Useful for guests which have a serial console configured.
suspend: make rtc alarm wakeup the guest.
Make the rtc wake up the guest when the alarm fires.Add acpi windup to property support RTC_EN, so guestscan enable and disable this.
View revisions
Also available in: Atom