diff options
| author | Marcel Apfelbaum | 2015-01-06 14:29:13 +0100 |
|---|---|---|
| committer | Peter Maydell | 2015-01-08 18:32:27 +0100 |
| commit | 5e97b623c254a2c7b1f67b21f7aede93d995f4bd (patch) | |
| tree | 97b7da05aebd989ad14e0bef456fad3f415c378b /include | |
| parent | hw/ppc: modified the condition for usb controllers to be created for some ppc... (diff) | |
| download | qemu-5e97b623c254a2c7b1f67b21f7aede93d995f4bd.tar.gz qemu-5e97b623c254a2c7b1f67b21f7aede93d995f4bd.tar.xz qemu-5e97b623c254a2c7b1f67b21f7aede93d995f4bd.zip | |
hw/machine: added machine_usb wrapper
Following QOM convention, object properties should
not be accessed directly.
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
Message-id: 1420550957-22337-3-git-send-email-marcel@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/boards.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index e0a67903ef..3ddc449bb6 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -65,6 +65,8 @@ int qemu_register_machine(QEMUMachine *m); MachineClass *find_default_machine(void); extern MachineState *current_machine; +bool machine_usb(MachineState *machine); + /** * MachineClass: * @qemu_machine: #QEMUMachine |
