scsi: Minor cleanups around scsi-disk
PATCH 1/2 block: Clarify documentation of BlockInfo member io-status
In reply to Markus ArmbrusterSay "SCSI except scsi-generic" instead of "scsi-disk", because scsi-disk could mean either scsi-disk.c (which is correct) or device model scsi-disk (which would be incorrect).
--- qapi/block-core.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
qapi/block-core.json +2 -1
@@ -449,7 +449,8 @@ # # @io-status: @BlockDeviceIoStatus. Only present if the device # supports it and the VM is configured to stop on errors -# (supported device models: virtio-blk, ide, scsi-disk) +# (supported device models: virtio-blk, IDE, SCSI except +# scsi-generic) # # @inserted: @BlockDeviceInfo describing the device if media is # present
Signature · 1 line
2.7.4
cover scsi: Minor cleanups around scsi-disk
Markus Armbruster (2):
block: Clarify documentation of BlockInfo member io-status
virtio-scsi-test: Use scsi-hd instead of legacy scsi-disk
qapi/block-core.json | 3 ++- tests/virtio-scsi-test.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.7.4
PATCH 2/2 virtio-scsi-test: Use scsi-hd instead of legacy scsi-disk
--- tests/virtio-scsi-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/virtio-scsi-test.c +1 -1
@@ -149,7 +149,7 @@ static QVirtIOSCSI *qvirtio_scsi_pci_init(int slot) vs->qs =qvirtio_scsi_start ("-drive file=blkdebug::null-co://," "if=none,id=dr1,format=raw,file.align=4k " -"-device scsi-disk,drive=dr1,lun=0,scsi-id=1" ); +"-device scsi-hd,drive=dr1,lun=0,scsi-id=1" ); dev =qvirtio_pci_device_find (vs->qs->pcibus,VIRTIO_ID_SCSI ); vs->dev = (QVirtioDevice *)dev;g_assert (dev !=NULL );
Signature · 1 line
2.7.4
Quoted 8 lines · Markus Armbruster
Markus Armbruster (2):
block: Clarify documentation of BlockInfo member io-status
virtio-scsi-test: Use scsi-hd instead of legacy scsi-diskqapi/block-core.json | 3 ++- tests/virtio-scsi-test.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
Quoted 11 lines · Paolo Bonzini
Quoted 8 lines · Markus Armbruster
Markus Armbruster (2):
block: Clarify documentation of BlockInfo member io-status
virtio-scsi-test: Use scsi-hd instead of legacy scsi-diskqapi/block-core.json | 3 ++- tests/virtio-scsi-test.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)Acked-by Paolo Bonzini <[email protected]>
Thanks!
The canonical path is through your tree, but I could stick it into a miscellaneous pull request if you like.
Quoted 12 lines · Markus Armbruster
Quoted 10 lines · Paolo Bonzini
Quoted 8 lines · Markus Armbruster
Markus Armbruster (2):
block: Clarify documentation of BlockInfo member io-status
virtio-scsi-test: Use scsi-hd instead of legacy scsi-diskqapi/block-core.json | 3 ++- tests/virtio-scsi-test.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
Quoted 6 lines
Quoted 1 line
Acked-by Paolo Bonzini <[email protected]>Thanks!
The canonical path is through your tree, but I could stick it into a miscellaneous pull request if you like.
I saw you posted these two together so I wasn't sure who would do that. :) These are not files that my pull requests touch a lot.
Paolo
Quoted 15 lines · Paolo Bonzini
Quoted 14 lines · Markus Armbruster
Quoted 11 lines · Paolo Bonzini
Quoted 8 lines · Markus Armbruster
Markus Armbruster (2):
block: Clarify documentation of BlockInfo member io-status
virtio-scsi-test: Use scsi-hd instead of legacy scsi-diskqapi/block-core.json | 3 ++- tests/virtio-scsi-test.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)Acked-by Paolo Bonzini <[email protected]>
Quoted 7 lines
Quoted 4 lines
Thanks!
The canonical path is through your tree, but I could stick it into a miscellaneous pull request if you like.
I saw you posted these two together so I wasn't sure who would do that. :) These are not files that my pull requests touch a lot.
I assume that means I should post the pull request myself. Holler if I'm wrong.