Bug 5048

Summary: [runqemu] failure when already in use tap interface
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mihai Prica <mihai.prica>
Component: coreAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: liezhi.yang, meta.mr.watcher, meta.watcher, Qi.Chen, sgw, yi.zhao
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Mihai Prica 2013-08-26 14:39:08 UTC
1. Start a VM with a tap interface. Qemu can be used for this.
(ex: qemu-system-x86_64 -net nic,model=virtio -net tap,vlan=0,ifname=tap0,script=no,downscript=no,vhost=on ***Image***)
2. In parallel, run a yocto image using runqemu.

The script will fail because it will try to acquire the tap interface set up by the VM started at 1.
Comment 1 Chen Qi 2013-08-27 06:51:25 UTC
In such situation, I think what we can do is to provide the user more information.

And at a minimal, we should let the user know how to make runqemu skip a specific tap interface.

//Chen Qi
Comment 2 Chen Qi 2013-09-02 01:52:45 UTC
Branch: master
Commit: ec08d92641cc51c567cc3745937b1839d3faa095
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ec08d92641cc51c567cc3745937b1839d3faa095