History | View | Annotate | Download (18.5 kB)
qbus: Make child devices links
Make qbus children show up as link<> properties. There is no stableaddressing for qbus children so we use an unstable naming convention.
This is okay in QOM though because the composition name is expected tobe what's stable....
virtio: check virtio_load return code
Otherwise we crash on error.
Signed-off-by: Ulrich Obergfell <uobergfe@redhat.com>Signed-off-by: Orit Wassermann <owasserm@redhat.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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 camefrom.
Do this even for single-queue, by storing a hard-coded zero, to...
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 <pbonzini@redhat.com>
virtio-scsi: call unregister_savevm properly
This fixes a use-after-free when migrating after hot-unplug.
virtio-scsi: process control queue requests
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virtio-scsi: add migration support
virtio-scsi: Add basic request processing infrastructure
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virtio-scsi: add basic SCSI bus operation
virtio-scsi: Add virtio-scsi stub device
Add a useless virtio SCSI HBA device:
qemu -device virtio-scsi-pci