xhci: add {get,set}_field macros & enum for pls
Add {get,set}_field macros (simliar to ehci) to read and updatesome bits of a word. Put them into use for updating pls (portlink state) values. Also add a enum for pls values.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
xhci: s/xhci_update_port/xhci_port_update/
Rename the function for xhci_port_* naming scheme, also dropthe xhci parameter as port carries a pointer to xhci anyway.
xhci: add xhci_port_have_device
Factor out the code which checks whenever a usb device is attachedto the port in question. No functional change.
xhci: add xhci_port_notify
Create a function to notify the guest about portstatus changes and put it into use.
xhci: add xhci_port_reset
Move port reset logic to its own function.
xhci: set pls in xhci_port_update & xhci_port_reset
Set the port link state to the correct values in xhci_port_update andxhci_port_reset functions.
Merge branch 'qspi.2' of git://developer.petalogix.com/public/qemu
Merge branch 's390-for-upstream' of git://repo.or.cz/qemu/agraf
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
virtio,pci infrastructure
This includes infrastructure patches that don't do much by themselvesbut should help vfio and q35 make progress.Also included is rework of virtio-net to use iovec APIs...
s390: sclp ascii console support
This code adds console support by implementing SCLP's ASCII ConsoleData event. This is the same console as LPARs ASCII console or z/VMssysascii.
The console can be specified manually with something like-chardev stdio,id=charconsole0 -device sclpconsole,chardev=charconsole0,id=console0...
View revisions
Also available in: Atom