qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] f8b6f8: hw/ppc: modified the condition for us


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] f8b6f8: hw/ppc: modified the condition for usb controllers...
Date: Fri, 09 Jan 2015 07:30:09 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f8b6f8edac926bb979bd2b1d21d896c219b522c2
      
https://github.com/qemu/qemu/commit/f8b6f8edac926bb979bd2b1d21d896c219b522c2
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2015-01-08 (Thu, 08 Jan 2015)

  Changed paths:
    M hw/ppc/mac_newworld.c
    M hw/ppc/spapr.c
    M include/sysemu/sysemu.h
    M vl.c

  Log Message:
  -----------
  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 <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 5e97b623c254a2c7b1f67b21f7aede93d995f4bd
      
https://github.com/qemu/qemu/commit/5e97b623c254a2c7b1f67b21f7aede93d995f4bd
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2015-01-08 (Thu, 08 Jan 2015)

  Changed paths:
    M hw/core/machine.c
    M include/hw/boards.h

  Log Message:
  -----------
  hw/machine: added machine_usb wrapper

Following QOM convention, object properties should
not be accessed directly.

Signed-off-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: de77a243b3e703adae0a5c981914ff87cb99bdf6
      
https://github.com/qemu/qemu/commit/de77a243b3e703adae0a5c981914ff87cb99bdf6
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2015-01-08 (Thu, 08 Jan 2015)

  Changed paths:
    M hw/arm/nseries.c
    M hw/arm/pxa2xx.c
    M hw/arm/realview.c
    M hw/arm/versatilepb.c
    M hw/i386/pc_piix.c
    M hw/i386/pc_q35.c
    M hw/ppc/mac_newworld.c
    M hw/ppc/mac_oldworld.c
    M hw/ppc/prep.c
    M hw/ppc/spapr.c
    M include/sysemu/sysemu.h
    M vl.c

  Log Message:
  -----------
  hw/usb: simplified usb_enabled

The argument is not longer used and the implementation
uses now QOM instead of QemuOpts.

Signed-off-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: b1c2fb9b29c325a6944ce4ddddef9fe7e9af26bd
      
https://github.com/qemu/qemu/commit/b1c2fb9b29c325a6944ce4ddddef9fe7e9af26bd
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2015-01-08 (Thu, 08 Jan 2015)

  Changed paths:
    M hw/ppc/mac_newworld.c

  Log Message:
  -----------
  hw/ppc/mac_newworld: QOMified mac99 machines

Signed-off-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: d941fba0b5fa75604503aac9b3bcc2aa38b03cd0
      
https://github.com/qemu/qemu/commit/d941fba0b5fa75604503aac9b3bcc2aa38b03cd0
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2015-01-08 (Thu, 08 Jan 2015)

  Changed paths:
    M hw/ppc/spapr.c

  Log Message:
  -----------
  hw/ppc/spapr: simplify usb controller creation logic

Signed-off-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 59a0419856c9ed24e9ecd033db092b2e8f81a728
      
https://github.com/qemu/qemu/commit/59a0419856c9ed24e9ecd033db092b2e8f81a728
  Author: Marcel Apfelbaum <address@hidden>
  Date:   2015-01-08 (Thu, 08 Jan 2015)

  Changed paths:
    M hw/ppc/mac_newworld.c

  Log Message:
  -----------
  hw/ppc/mac_newworld: simplify usb controller creation logic

Signed-off-by: Marcel Apfelbaum <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: Alexander Graf <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/ab0302ee764f...59a0419856c9

reply via email to

[Prev in Thread] Current Thread [Next in Thread]