allwinner-ahci: Remove user_creatable flag
commitc803129ce51401e56981e771aa93a258fac7c0ea
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 3 May 2017 20:35:54 +0000 (3 17:35 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 17 May 2017 13:37:01 +0000 (17 10:37 -0300)
treec262fc501d8325d2432ee12cfe3b3e2eada36532
parenta081ab8f7b7b9eb72ead9201b5ece14d09fcc1c4
allwinner-ahci: Remove user_creatable flag

allwinner-ahci needs its IRQ to be connected and mmio to be
mapped (this is done by the alwinner-a10 device realize method),
and won't work with -device. Remove the user_creatable flag from
the device class.

Cc: John Snow <jsnow@redhat.com>
Cc: qemu-block@nongnu.org
Cc: Beniamino Galvani <b.galvani@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-arm@nongnu.org
Cc: Marcel Apfelbaum <marcel@redhat.com>
Acked-by: John Snow <jsnow@redhat.com>
Acked-by: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170503203604.31462-12-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/ide/ahci.c