diff options
| author | Guenter Roeck | 2018-08-01 00:28:53 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2018-08-23 13:32:50 +0200 |
| commit | a736d719e75db57f05f7be4103a226851d4887e7 (patch) | |
| tree | 0e4a7ec0f98f36570ec0f2ffd7eb2ba49c873c29 /hw/scsi | |
| parent | tests: virtio: separate ccw tests from libqos (diff) | |
| download | qemu-a736d719e75db57f05f7be4103a226851d4887e7.tar.gz qemu-a736d719e75db57f05f7be4103a226851d4887e7.tar.xz qemu-a736d719e75db57f05f7be4103a226851d4887e7.zip | |
scsi: mptsas: Mark as storage device
mptsas1068 is currently listed as uncategorized device.
Mark it as storage device.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Message-Id: <1533076133-22745-1-git-send-email-linux@roeck-us.net>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi')
| -rw-r--r-- | hw/scsi/mptsas.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/scsi/mptsas.c b/hw/scsi/mptsas.c index 4176e871e1..929404fb48 100644 --- a/hw/scsi/mptsas.c +++ b/hw/scsi/mptsas.c @@ -1431,6 +1431,7 @@ static void mptsas1068_class_init(ObjectClass *oc, void *data) dc->reset = mptsas_reset; dc->vmsd = &vmstate_mptsas; dc->desc = "LSI SAS 1068"; + set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); } static const TypeInfo mptsas_info = { |
