From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgVws-0002Yl-8D for qemu-devel@nongnu.org; Mon, 28 Sep 2015 06:46:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgVwr-0001x3-Ak for qemu-devel@nongnu.org; Mon, 28 Sep 2015 06:46:22 -0400 References: <1443284532-8634-1-git-send-email-laurent@vivier.eu> <1443284532-8634-3-git-send-email-laurent@vivier.eu> From: Thomas Huth Message-ID: <56091A74.6050904@redhat.com> Date: Mon, 28 Sep 2015 12:46:12 +0200 MIME-Version: 1.0 In-Reply-To: <1443284532-8634-3-git-send-email-laurent@vivier.eu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 02/10][TRIVIAL] cmd646: add to storage category List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-trivial@nongnu.org Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, Alexander Graf , qemu-ppc@nongnu.org, Paolo Bonzini , John Snow On 26/09/15 18:22, Laurent Vivier wrote: > cmd646 is an IDE controller, so add it to the > storage category. > > Signed-off-by: Laurent Vivier > --- > hw/ide/cmd646.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c > index 66fb9d9..27f3da2 100644 > --- a/hw/ide/cmd646.c > +++ b/hw/ide/cmd646.c > @@ -417,6 +417,7 @@ static void cmd646_ide_class_init(ObjectClass *klass, void *data) > k->config_read = cmd646_pci_config_read; > k->config_write = cmd646_pci_config_write; > dc->props = cmd646_ide_properties; > + set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); > } Reviewed-by: Thomas Huth