On 06.01.15 14:29, Marcel Apfelbaum wrote: > 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 <mar...@redhat.com>
I think this preserves the logic from a user's perspective quite well. Reviewed-by: Alexander Graf <ag...@suse.de> Alex