[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb: fail usbdevice_create() when there is no U
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] usb: fail usbdevice_create() when there is no USB bus |
Date: |
Tue, 27 Nov 2012 14:11:17 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.11) Gecko/20121116 Thunderbird/10.0.11 |
On 11/25/12 16:49, Stefan Hajnoczi wrote:
> Report an error instead of segfaulting when attaching a USB device to a
> machine with no USB busses:
>
> $ qemu-system-arm -machine vexpress-a9 \
> -sd Fedora-17-armhfp-vexpress-mmcblk0.img \
> -kernel vmlinuz-3.4.2-3.fc17.armv7hl \
> -initrd initramfs-3.4.2-3.fc17.armv7hl.img \
> -usbdevice disk:format=raw:test.img
>
> Note that the vexpress-a9 machine does not have a USB host controller.
>
> Reported-by: David Abdurachmanov <address@hidden>
> Signed-off-by: Stefan Hajnoczi <address@hidden>
Patch added to usb patch queue.
thanks,
Gerd