* [Qemu-devel] [PULL 0/1] virtio-input: ignore events until the guest driver is ready
@ 2015-10-20 7:11 Gerd Hoffmann
2015-10-20 7:11 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
2015-10-20 12:40 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
0 siblings, 2 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2015-10-20 7:11 UTC (permalink / raw)
To: qemu-devel; +Cc: Gerd Hoffmann
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(+)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] [PULL 1/1] virtio-input: ignore events until the guest driver is ready
2015-10-20 7:11 [Qemu-devel] [PULL 0/1] virtio-input: ignore events until the guest driver is ready Gerd Hoffmann
@ 2015-10-20 7:11 ` Gerd Hoffmann
2015-10-20 12:40 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2015-10-20 7:11 UTC (permalink / raw)
To: qemu-devel; +Cc: Michael S. Tsirkin, Gerd Hoffmann, qemu-stable
Cc: qemu-stable@nongnu.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/input/virtio-input.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/input/virtio-input.c b/hw/input/virtio-input.c
index 7b25d27..1f5a40d 100644
--- a/hw/input/virtio-input.c
+++ b/hw/input/virtio-input.c
@@ -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++;
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] virtio-input: ignore events until the guest driver is ready
2015-10-20 7:11 [Qemu-devel] [PULL 0/1] virtio-input: ignore events until the guest driver is ready Gerd Hoffmann
2015-10-20 7:11 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
@ 2015-10-20 12:40 ` Peter Maydell
1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2015-10-20 12:40 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: QEMU Developers
On 20 October 2015 at 08:11, Gerd Hoffmann <kraxel@redhat.com> wrote:
> 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
>
Applied, thanks.
-- PMM
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-20 12:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20 7:11 [Qemu-devel] [PULL 0/1] virtio-input: ignore events until the guest driver is ready Gerd Hoffmann
2015-10-20 7:11 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
2015-10-20 12:40 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).