Re: [Qemu-devel] [PATCH] usb: fail usbdevice_create() when there is no USB bus

2012-11-27 Thread Gerd Hoffmann
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 \ >

[Qemu-devel] [PATCH] usb: fail usbdevice_create() when there is no USB bus

2012-11-26 Thread Stefan Hajnoczi
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 \ -us