segmentation fault when using usb-net and -netdev tap

Bug #1050823 reported by Paolo Bonzini on 2012-09-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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

Thomas Huth (th-huth) wrote :

Patch has been included here:;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  Edit
Everyone can see this information.

Other bug subscribers