diff options
author | Marcel Apfelbaum <marcel@redhat.com> | 2015-01-06 15:29:13 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-01-07 16:16:28 +0100 |
commit | 759bf45d81a892c359fa1a3848c36dcd74b6a42b (patch) | |
tree | ae076114b4aa9bc6adb1fb4625acc811560635f0 /include/hw | |
parent | c760dbb9dc4dfceeb5d4ae07876b10da58d4c630 (diff) | |
download | qemu-759bf45d81a892c359fa1a3848c36dcd74b6a42b.tar.gz qemu-759bf45d81a892c359fa1a3848c36dcd74b6a42b.tar.bz2 qemu-759bf45d81a892c359fa1a3848c36dcd74b6a42b.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>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/hw')
-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 |