virtio-input: ignore events until the guest driver is ready
Hi,
One more pretty small queue, input with a single bugfix.
please pull,
Gerd
The following changes since commit 26c7be842637ee65a79cd77f96a99c23ddcd90ad:
Merge remote-tracking branch 'remotes/sstabellini/tags/2015-10-19-tag' into staging (2015-10-19 12:13:27 +0100)
are available in the git repository at:
git://git.kraxel.org/qemu tags/pull-input-20151020-1
for you to fetch changes up to d9460a7557672af9c4d9d4f153200d1075ed5a78:
virtio-input: ignore events until the guest driver is ready (2015-10-20 08:53:40 +0200)
----------------------------------------------------------------
virtio-input: ignore events until the guest driver is ready
----------------------------------------------------------------
Gerd Hoffmann (1):
virtio-input: ignore events until the guest driver is ready
hw/input/virtio-input.c | 4 ++++ 1 file changed, 4 insertions(+)
--- hw/input/virtio-input.c | 4 ++++ 1 file changed, 4 insertions(+)
hw/input/virtio-input.c +4 -0
@@ -20,6 +20,10 @@ void virtio_input_send(VirtIOInput *vinput, virtio_input_event *event)unsigned have, need;int i, len; +if (!vinput->active) { +return ; + } +/* queue up events ... */ if (vinput->qindex == vinput->qsize) { vinput->qsize++;
Signature · 1 line
1.8.3.1
Peter Maydell
AppliedQuoted 14 lines · Gerd Hoffmann
Hi,
One more pretty small queue, input with a single bugfix.
please pull,
GerdThe following changes since commit
26c7be842637ee65a79cd77f96a99c23ddcd90ad:Merge remote-tracking branch 'remotes/sstabellini/tags/2015-10-19-tag' into staging (2015-10-19 12:13:27 +0100)
are available in the git repository at:
Quoted 9 lines
git://git.kraxel.org/qemutags/pull-input-20151020-1for you to fetch changes up to
d9460a7557672af9c4d9d4f153200d1075ed5a78:virtio-input: ignore events until the guest driver is ready (2015-10-20 08:53:40 +0200)
----------------------------------------------------------------
virtio-input: ignore events until the guest driver is ready
Applied, thanks.
-- PMM