OSDN Git Service

virtio-scsi: move request-related items from .h to .c
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 27 Apr 2022 14:35:41 +0000 (15:35 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 9 May 2022 09:45:04 +0000 (10:45 +0100)
commit3dc584abeef0e1277c2de8c1c1974cb49444eb0a
tree08ca13e7fd3453ba46c21cf1378171dd16174832
parentad482b57ef841b2d4883c5079d20ba44ff5e4b3e
virtio-scsi: move request-related items from .h to .c

There is no longer a need to expose the request and related APIs in
virtio-scsi.h since there are no callers outside virtio-scsi.c.

Note the block comment in VirtIOSCSIReq has been adjusted to meet the
coding style.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20220427143541.119567-7-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/scsi/virtio-scsi.c
include/hw/virtio/virtio-scsi.h