Files
qemu/hw
Marcel Apfelbaum c760dbb9dc hw/ppc: modified the condition for usb controllers to be created for some ppc machines
Some ppc machines create a default usb controller based on a 'machine condition'.
Until now the logic was: create the usb controller if:
 -  the usb option was supplied in cli and value is true or
 -  the usb option was absent and both set_defaults and the machine
    condition were true.

Modified the logic to:
Create the usb controller if:
 - the machine condition is true and defaults are enabled or
 - the usb option is supplied and true.

The main for this is to simplify the usb_enabled method.

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>
2015-01-07 16:16:28 +01:00
..
2014-09-29 10:20:05 +02:00
2014-08-15 19:12:48 +04:00
2014-11-04 23:26:12 +01:00
2014-09-02 22:38:16 +04:00
2014-12-19 13:17:06 +00:00
2014-10-24 12:19:11 +01:00
2014-12-15 17:34:44 +01:00
2014-12-11 20:57:11 +03:00
2014-12-22 10:37:27 -07:00