scsi-block: Deprecate rotation_rate
commit51f43d5792e3d7a52c0be380e9b855fc4a05a816
authorFam Zheng <famz@redhat.com>
Mon, 17 Sep 2018 08:31:38 +0000 (17 16:31 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Oct 2018 17:09:13 +0000 (2 19:09 +0200)
tree2d1e70ff28db152cd788f6ba0339c82ff598ea94
parent4c3e250627bfa2ed272660d5376ac0f6ff458556
scsi-block: Deprecate rotation_rate

This option is added together with scsi-disk but is never honoured,
becuase we don't emulate the VPD page for scsi-block. We could intercept
and inject the user specified value like for max xfer len, but it's
probably not helpful since the intent of 070f80095ad was for random
entropy aspects, not for performance. If emulated rotation rate is
desired, scsi-hd is more suitable.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20180917083138.3948-1-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/scsi-disk.c