[Top][All Lists]

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

Re: [PATCH v3] hw/mips: Improve the default USB settings in the loongson

From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v3] hw/mips: Improve the default USB settings in the loongson3-virt machine
Date: Fri, 14 Jul 2023 16:36:20 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 14/7/23 12:49, Thomas Huth wrote:
It's possible to compile QEMU without the USB devices (e.g. when using
"--without-default-devices" as option for the "configure" script).
To be still able to run the loongson3-virt machine in default mode with
such a QEMU binary, we have to check here for the availability of the
OHCI controller first before instantiating the USB devices.

Signed-off-by: Thomas Huth <thuth@redhat.com>
  v3: Back to runtime detection, but more simple this time compared to v1
      (checking for OHCI should be enough, since this implies CONFIG_USB
       which is the switch that usb-kbd and usb-tablet are depending on)

  hw/mips/loongson3_virt.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

And queued to mips-fixes, thanks!

reply via email to

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