Statistics
| Branch: | Revision:

root / hw / virtio-scsi.c @ 16fd921b

History | View | Annotate | Download (18.6 kB)

# Date Author Comment
619d7ae9 07/02/2012 12:27 pm Paolo Bonzini

virtio-scsi: do not crash on adding buffers to the event queue

The event queue is not supported yet and the handler does not
have to do much anyway when buffers are added. However, the
handler is called unconditionally by the virtio layer, and this
results in a crash as soon as buffers are added to the event...

0866aca1 06/18/2012 04:14 pm Anthony Liguori

qbus: Make child devices links

Make qbus children show up as link<> properties. There is no stable
addressing for qbus children so we use an unstable naming convention.

This is okay in QOM though because the composition name is expected to
be what's stable....

2a633c46 05/21/2012 11:40 pm Orit Wassermann

virtio: check virtio_load return code

Otherwise we crash on error.

Signed-off-by: Ulrich Obergfell <>
Signed-off-by: Orit Wassermann <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

fcf104a7 04/19/2012 11:31 am Paolo Bonzini

virtio-scsi: prepare migration format for multiqueue

In order to restore requests correctly from a multitude of virtqueues,
we need to store the id of the request queue that each request came
from.

Do this even for single-queue, by storing a hard-coded zero, to...

d2ad7dd4 04/19/2012 11:31 am Paolo Bonzini

virtio-scsi: add multiqueue capability

Adding multiqueue is as simple as creating more than one virtqueues,
and saving the queue number for each request.

Signed-off-by: Paolo Bonzini <>

eb2fa764 03/19/2012 05:35 pm Paolo Bonzini

virtio-scsi: call unregister_savevm properly

This fixes a use-after-free when migrating after hot-unplug.

Signed-off-by: Paolo Bonzini <>

06114d72 02/24/2012 03:54 pm Paolo Bonzini

virtio-scsi: process control queue requests

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>

5db1764c 02/24/2012 03:54 pm Paolo Bonzini

virtio-scsi: add migration support

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>

326799c0 02/22/2012 02:40 pm Stefan Hajnoczi

virtio-scsi: Add basic request processing infrastructure

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>

2ccdcd8d 02/22/2012 02:40 pm Paolo Bonzini

virtio-scsi: add basic SCSI bus operation

Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>

973abc7f 02/22/2012 02:39 pm Stefan Hajnoczi

virtio-scsi: Add virtio-scsi stub device

Add a useless virtio SCSI HBA device:

qemu -device virtio-scsi-pci

Signed-off-by: Stefan Hajnoczi <>
Reviewed-by: Stefan Hajnoczi <>
Signed-off-by: Paolo Bonzini <>