提交 03847837 编写于 作者: P Paolo Bonzini

scsi-block: remove properties that are not relevant for passthrough

scsi-block is a passthrough device and does not allow customization
of vendor, product, removable, DPOFUA, block size or any other piece of
information.  Thus, drop DEFINE_SCSI_DISK_PROPERTIES() from the
list of qdev properties.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 8f6e699d
...@@ -2040,7 +2040,7 @@ static TypeInfo scsi_cd_info = { ...@@ -2040,7 +2040,7 @@ static TypeInfo scsi_cd_info = {
#ifdef __linux__ #ifdef __linux__
static Property scsi_block_properties[] = { static Property scsi_block_properties[] = {
DEFINE_SCSI_DISK_PROPERTIES(), DEFINE_PROP_DRIVE("drive", SCSIDiskState, qdev.conf.bs),
DEFINE_PROP_END_OF_LIST(), DEFINE_PROP_END_OF_LIST(),
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册