From 038478370d5c7ed8f66fc9523bf3f60b8800fe86 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 9 Jul 2012 12:11:04 +0200 Subject: [PATCH] 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: Paolo Bonzini --- hw/scsi-disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c index 525816cb76..8907197d59 100644 --- a/hw/scsi-disk.c +++ b/hw/scsi-disk.c @@ -2040,7 +2040,7 @@ static TypeInfo scsi_cd_info = { #ifdef __linux__ static Property scsi_block_properties[] = { - DEFINE_SCSI_DISK_PROPERTIES(), + DEFINE_PROP_DRIVE("drive", SCSIDiskState, qdev.conf.bs), DEFINE_PROP_END_OF_LIST(), };