aboutsummaryrefslogtreecommitdiff
path: root/hw/vmmouse.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-02-12 17:44:11 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-02-12 17:44:11 +0000
commit8668f61d20eac971d116ebbe8436b4ae963884a8 (patch)
tree1c2967cf1cb4d4a19aee8c70b80edf35b257bd71 /hw/vmmouse.c
parentdd703b991cce99271a032a975885dd37d8c07a94 (diff)
vmmouse: fix queue_size field initialization
Initialize the field queue_size, dropped by 91c9e09147ba1f3604a3d5d29b4de7702082a33f. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/vmmouse.c')
-rw-r--r--hw/vmmouse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vmmouse.c b/hw/vmmouse.c
index 11b125c7af..ab8dbd6ccb 100644
--- a/hw/vmmouse.c
+++ b/hw/vmmouse.c
@@ -253,6 +253,7 @@ static void vmmouse_reset(DeviceState *d)
VMMouseState *s = container_of(d, VMMouseState, dev.qdev);
s->status = 0xffff;
+ s->queue_size = VMMOUSE_QUEUE_SIZE;
}
static int vmmouse_initfn(ISADevice *dev)