From: Fam Zheng <famz@redhat.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] scsi: mptsas: Mark as storage device
Date: Wed, 1 Aug 2018 09:23:11 +0800 [thread overview]
Message-ID: <20180801012311.GB14577@lemon.usersys.redhat.com> (raw)
In-Reply-To: <1533076133-22745-1-git-send-email-linux@roeck-us.net>
On Tue, 07/31 15:28, Guenter Roeck wrote:
> mptsas1068 is currently listed as uncategorized device.
> Mark it as storage device.
>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> hw/scsi/mptsas.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/scsi/mptsas.c b/hw/scsi/mptsas.c
> index 4176e87..929404f 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 = {
> --
> 2.7.4
>
Reviewed-by: Fam Zheng <famz@redhat.com>
next prev parent reply other threads:[~2018-08-01 1:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-31 22:28 [Qemu-devel] [PATCH] scsi: mptsas: Mark as storage device Guenter Roeck
2018-08-01 1:23 ` Fam Zheng [this message]
2018-08-01 14:04 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180801012311.GB14577@lemon.usersys.redhat.com \
--to=famz@redhat.com \
--cc=linux@roeck-us.net \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).