summary refs log tree commit diff stats
path: root/hw/usb/dev-uas.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-11-08 11:43:20 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-11-26 09:21:17 +0100
commitf1f8bc218a422081f36f0b325b3de5e6a5078b74 (patch)
treefdb759a1b48dcf8b27956d33a732643f80050ed7 /hw/usb/dev-uas.c
parentde9de157fbb9aa66380ab1973dd6ecf12fbd8b25 (diff)
downloadfocaccia-qemu-f1f8bc218a422081f36f0b325b3de5e6a5078b74.tar.gz
focaccia-qemu-f1f8bc218a422081f36f0b325b3de5e6a5078b74.zip
xhci: add support for suspend/resume
The OS can ask the xhci controller to save and restore its
internal state, which is used by the OS when the system is
suspended and resumed.

This patch handles writes to the save + restore bits in the
command register.  Only thing it does is updating the
restore error bit in the status register to signal an error
on restore.  The guest OS should do a full reinitialization
after resume then.

This is the minimal patch which gets S3 going with xhci.
Implementing full save/restore support is TBD.

https://bugzilla.redhat.com/show_bug.cgi?id=1012365

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/dev-uas.c')
0 files changed, 0 insertions, 0 deletions