]> git.proxmox.com Git - qemu.git/commit - hw/scsi-disk.c
scsi-disk: restruct emulation: READ_CAPACITY
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Nov 2009 14:34:09 +0000 (15:34 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:39 +0000 (09:41 -0600)
commite7e25e32693b052b29edb8396dbc577e1bf2a09f
tree92b13f8417f92935da5d0621baf621c027ce3d85
parentc68b9f34c136ce4ff77fc165227596b267e15fa1
scsi-disk: restruct emulation: READ_CAPACITY

Move READ_CAPACITY emulation from scsi_send_command() to
scsi_disk_emulate_command().

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/scsi-disk.c