From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/qemu: enable usb passthrough on host variant
Date: Thu, 24 Oct 2019 22:36:39 +0200 [thread overview]
Message-ID: <20191024223639.28125bf8@windsurf.home> (raw)
In-Reply-To: <20191024202820.18814-1-angelo@amarulasolutions.com>
On Thu, 24 Oct 2019 22:28:20 +0200
Angelo Compagnucci <angelo.compagnucci@gmail.com> wrote:
> Usb passthrough is a useful feature while using qemu for debugging
> purpose.
>
> Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
> ---
> package/qemu/qemu.mk | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
> index 1d3759a850..4cf1c60030 100644
> --- a/package/qemu/qemu.mk
> +++ b/package/qemu/qemu.mk
> @@ -264,6 +264,11 @@ else
> HOST_QEMU_OPTS += --disable-virtfs
> endif
>
> +ifeq ($(BR2_PACKAGE_LIBUSB),y)
So, if the target libusb package is enabled...
> +HOST_QEMU_OPTS += --enable-libusb
> +HOST_QEMU_DEPENDENCIES += host-libusb
... you assume the user wants libusb support in host-qemu.
Sorry, but this is not good. Add an option in
package/qemu/Config.in.host to enable USB passthrough, and use that in
qemu.mk.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-10-24 20:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-24 20:28 [Buildroot] [PATCH] package/qemu: enable usb passthrough on host variant Angelo Compagnucci
2019-10-24 20:36 ` Thomas Petazzoni [this message]
2019-10-24 21:30 ` Peter Korsgaard
2019-10-25 20:40 ` Arnout Vandecappelle
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=20191024223639.28125bf8@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/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