unimplemented-device: Remove user_creatable flag
commit68aecefcd4b348533b809ba77daa337931231e9a
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 3 May 2017 20:35:56 +0000 (3 17:35 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 17 May 2017 13:37:01 +0000 (17 10:37 -0300)
tree7524ab81edc6cf72ec39b69ae7c9d4dce700bda8
parent0980a1c0e2563701424d88e46b080dc09e85d75f
unimplemented-device: Remove user_creatable flag

unimplemented-device needs to be created and mapped using
create_unimplemented_device() (or equivalent code), and won't
work with -device. Remove the user_creatable flag from the device
class.

Cc: Marcel Apfelbaum <marcel@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170503203604.31462-14-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/misc/unimp.c