From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Marcel Apfelbaum <marcel@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/2] Eliminate usb_enabled()
Date: Wed, 8 Jun 2016 17:50:23 -0300 [thread overview]
Message-ID: <1465419025-21519-1-git-send-email-ehabkost@redhat.com> (raw)
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
next reply other threads:[~2016-06-08 20:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-08 20:50 Eduardo Habkost [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465419025-21519-1-git-send-email-ehabkost@redhat.com \
--to=ehabkost@redhat.com \
--cc=marcel@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).