qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] Eliminate usb_enabled()
@ 2016-06-08 20:50 Eduardo Habkost
  2016-06-08 20:50 ` [Qemu-devel] [PATCH v2 1/2] pxa2xx: Unconditionally enable USB controller Eduardo Habkost
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Eduardo Habkost @ 2016-06-08 20:50 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Marcel Apfelbaum

usb_enabled() is just a wrapper for machine_usb(current_machine)
and is not necessary, replace all usages of usb_enabled() with
machine_usb().

In the case of pxa2xx, just remove usb_enabled() usage
completely.

Eduardo Habkost (2):
  pxa2xx: Unconditionally enable USB controller
  vl: Eliminate usb_enabled()

 hw/arm/nseries.c        |  2 +-
 hw/arm/pxa2xx.c         | 12 ++++--------
 hw/arm/realview.c       |  2 +-
 hw/arm/versatilepb.c    |  2 +-
 hw/i386/pc_piix.c       |  2 +-
 hw/i386/pc_q35.c        |  2 +-
 hw/ppc/mac_oldworld.c   |  2 +-
 hw/ppc/prep.c           |  2 +-
 include/sysemu/sysemu.h |  1 -
 vl.c                    | 11 +++--------
 10 files changed, 14 insertions(+), 24 deletions(-)

-- 
2.5.5

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-13 11:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08 20:50 [Qemu-devel] [PATCH v2 0/2] Eliminate usb_enabled() Eduardo Habkost
2016-06-08 20:50 ` [Qemu-devel] [PATCH v2 1/2] pxa2xx: Unconditionally enable USB controller Eduardo Habkost
2016-06-09 16:21   ` Peter Maydell
2016-06-08 20:50 ` [Qemu-devel] [PATCH v2 2/2] vl: Eliminate usb_enabled() Eduardo Habkost
2016-06-09  5:58   ` Marcel Apfelbaum
2016-06-09  6:43   ` Thomas Huth
2016-06-13 11:21 ` [Qemu-devel] [PATCH v2 0/2] " Gerd Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).