segmentation fault when using usb-net and -netdev tap

Bug #1050823 reported by Paolo Bonzini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

The following command causes a Segmentation fault:

qemu-kvm -usb -device usb-net,netdev=net0 -netdev tap,id=net0
Segmentation fault

The following command does not:

qemu-kvm -usb -device usb-net,netdev=net0 -netdev user,id=net0

Program received signal SIGSEGV, Segmentation fault.
usbnet_can_receive (nc=0x55555657dc20)
    at /home/pbonzini/work/upstream/qemu/hw/usb/dev-network.c:1292
1292 if (is_rndis(s) && s->rndis_state != RNDIS_DATA_INITIALIZED) {

First reported at https://bugzilla.redhat.com/show_bug.cgi?id=843310

Revision history for this message
Thomas Huth (th-huth) wrote :

Patch has been included here:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=278412d0e710e2e848c
... so I think it should be OK now to close this ticket.

Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.