scsi: refine constants for READ CAPACITY 16
commitf651526271fb0b3d12f07f0810d80512edf384ad
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Sep 2011 10:31:42 +0000 (6 12:31 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 6 Sep 2011 13:14:41 +0000 (6 15:14 +0200)
treed9f3fb88ba656180fa8796059bf0525df49195c4
parent8e321cc622a5583243b7641c84a5aeef66c07bb3
scsi: refine constants for READ CAPACITY 16

Rename SERVICE_ACTION_IN to SERVICE_ACTION_IN_16 to distinguish
from the 12-byte CDB variant, and add a constant for the subcommand.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/scsi-bus.c
hw/scsi-defs.h
hw/scsi-disk.c