Received: from eggs.gnu.org ([2001:4830:134:3::10]:49272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cw3p7-0002dW-Im for qemu-devel@nongnu.org; Thu, 06 Apr 2017 05:35:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cw3p6-0004V5-DK for qemu-devel@nongnu.org; Thu, 06 Apr 2017 05:35:25 -0400 References: <20170404202429.14643-1-ehabkost@redhat.com> <20170404202429.14643-6-ehabkost@redhat.com> From: Thomas Huth Message-ID: <7a5885d9-5944-eab9-70f4-88fbb5a5294a@redhat.com> Date: Thu, 6 Apr 2017 11:35:13 +0200 MIME-Version: 1.0 In-Reply-To: <20170404202429.14643-6-ehabkost@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 05/21] fdc: Remove user_creatable flag from sysbus-fdc & SUNW, fdtwo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost , qemu-devel@nongnu.org Cc: Laszlo Ersek , Alexander Graf , Peter Maydell , Marcel Apfelbaum , Markus Armbruster , John Snow , Kevin Wolf , Max Reitz , qemu-block@nongnu.org On 04.04.2017 22:24, Eduardo Habkost wrote: > sysbus-fdc and SUNW,fdtwo devices need IRQs to be wired and mmio > to be mapped, and can't be used with -device. Unset > user_creatable on their device classes. > > Cc: John Snow > Cc: Kevin Wolf > Cc: Max Reitz > Cc: qemu-block@nongnu.org > Cc: Thomas Huth > Signed-off-by: Eduardo Habkost > --- > Changes v1 -> v2: > * Commit message rewrite only > --- > hw/block/fdc.c | 10 ---------- > 1 file changed, 10 deletions(-) > > diff --git a/hw/block/fdc.c b/hw/block/fdc.c > index 3d05565628..a328693d15 100644 > --- a/hw/block/fdc.c > +++ b/hw/block/fdc.c > @@ -2880,11 +2880,6 @@ static void sysbus_fdc_class_init(ObjectClass *klass, void *data) > > dc->props = sysbus_fdc_properties; > set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); > - /* > - * FIXME: Set only because we are not sure yet if this device > - * will be outside the q35 sysbus whitelist. > - */ > - dc->user_creatable = true; > } > > static const TypeInfo sysbus_fdc_info = { > @@ -2911,11 +2906,6 @@ static void sun4m_fdc_class_init(ObjectClass *klass, void *data) > > dc->props = sun4m_fdc_properties; > set_bit(DEVICE_CATEGORY_STORAGE, dc->categories); > - /* > - * FIXME: Set only because we are not sure yet if this device > - * will be outside the q35 sysbus whitelist. > - */ > - dc->user_creatable = true; > } > > static const TypeInfo sun4m_fdc_info = { > Reviewed-by: Thomas Huth