OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64f6485
)
virtio-scsi: do not report dropped events after reset
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 16 Jul 2012 12:50:27 +0000
(14:50 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 27 Jul 2012 06:25:27 +0000
(08:25 +0200)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/virtio-scsi.c
patch
|
blob
|
history
diff --git
a/hw/virtio-scsi.c
b/hw/virtio-scsi.c
index
d5c5984
..
bf18861
100644
(file)
--- a/
hw/virtio-scsi.c
+++ b/
hw/virtio-scsi.c
@@
-563,6
+563,7
@@
static void virtio_scsi_reset(VirtIODevice *vdev)
s->sense_size = VIRTIO_SCSI_SENSE_SIZE;
s->cdb_size = VIRTIO_SCSI_CDB_SIZE;
+ s->events_dropped = false;
}
/* The device does not have anything to save beyond the virtio data.