[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 243afe: xhci: flush dequeue pointer to endpoi
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 243afe: xhci: flush dequeue pointer to endpoint context |
Date: |
Mon, 03 Apr 2017 05:00:11 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 243afe858b95765b98d16a1f0dd50dca262858ad
https://github.com/qemu/qemu/commit/243afe858b95765b98d16a1f0dd50dca262858ad
Author: Gerd Hoffmann <address@hidden>
Date: 2017-04-03 (Mon, 03 Apr 2017)
Changed paths:
M hw/usb/hcd-xhci.c
Log Message:
-----------
xhci: flush dequeue pointer to endpoint context
When done processing a endpoint ring we must update the dequeue pointer
in the endpoint context in guest memory. This is needed to make sure
the guest has a correct view of things and also to make live migration
work properly, because xhci post_load restores alot of the state from
xhci data structures in guest memory.
Add xhci_set_ep_state() call to do that.
The recursive calls stopped by commit
ddb603ab6c981c1d67cb42266fc700c33e5b2d8f had the (unintentional) side
effect to hiding this bug. xhci_set_ep_state() was called before
processing, to set the state to running, which updated the dequeue
pointer too.
Reported-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Tested-by: Dr. David Alan Gilbert <address@hidden>
Message-id: address@hidden
Commit: 1684907c924140be00950a8a17740377f477a6a6
https://github.com/qemu/qemu/commit/1684907c924140be00950a8a17740377f477a6a6
Author: Javier Celaya <address@hidden>
Date: 2017-04-03 (Mon, 03 Apr 2017)
Changed paths:
M ui/input-linux.c
Log Message:
-----------
Fix input-linux reading from device
The evdev devices in input-linux.c are read in blocks of one whole
event. If there are not enough bytes available, they are discarded,
instead of being kept for the next read operation. This results in
lost events, of even non-working devices.
This patch keeps track of the number of bytes to be read to fill up
a whole event, and then handle it.
Changes from v1 to v2:
- Fix: Calculate offset on each iteration
Changes from v2 to v3:
- Fix coding style
- Store offset instead of bytes to be read
Signed-off-by: Javier Celaya <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: fa03cb7fd212bc07f0253db9ea436383ddc6c08f
https://github.com/qemu/qemu/commit/fa03cb7fd212bc07f0253db9ea436383ddc6c08f
Author: Marc-André Lureau <address@hidden>
Date: 2017-04-03 (Mon, 03 Apr 2017)
Changed paths:
M ui/vnc.c
Log Message:
-----------
vnc: allow to connect with add_client when -vnc none
Do not skip VNC initialization, in particular of auth method when vnc is
configured without sockets, since we should still allow connections
through QMP add_client.
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1434551
Signed-off-by: Marc-André Lureau <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: f9e46d37bd19b4f3faaedb78a48c53d02ee4197e
https://github.com/qemu/qemu/commit/f9e46d37bd19b4f3faaedb78a48c53d02ee4197e
Author: Peter Maydell <address@hidden>
Date: 2017-04-03 (Mon, 03 Apr 2017)
Changed paths:
M hw/usb/hcd-xhci.c
M ui/input-linux.c
M ui/vnc.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/kraxel/tags/pull-fixes-20170403-1' into
staging
bugfixes: xhci, input-linux and vnc
# gpg: Signature made Mon 03 Apr 2017 11:25:29 BST
# gpg: using RSA key 0x4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg: aka "Gerd Hoffmann <address@hidden>"
# gpg: aka "Gerd Hoffmann (private) <address@hidden>"
# Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138
* remotes/kraxel/tags/pull-fixes-20170403-1:
vnc: allow to connect with add_client when -vnc none
Fix input-linux reading from device
xhci: flush dequeue pointer to endpoint context
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/9eb5adae26b8...f9e46d37bd19
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 243afe: xhci: flush dequeue pointer to endpoint context,
GitHub <=