scsi-disk: restruct emulation: SYNCHRONIZE_CACHE
commitfc903943f8df1226294783b0df607c928393bae4
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 26 Nov 2009 14:34:10 +0000 (26 15:34 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:39 +0000 (3 09:41 -0600)
tree5cfa09dc0ddd9f0e2664d1f84ca3c793622d37fe
parente7e25e32693b052b29edb8396dbc577e1bf2a09f
scsi-disk: restruct emulation: SYNCHRONIZE_CACHE

Move SYNCHRONIZE_CACHE 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