Bug 5048 - [runqemu] failure when already in use tap interface
Summary: [runqemu] failure when already in use tap interface
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5
Hardware: x86 x86_64
: Medium normal
Target Milestone: 1.5 M5
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-08-26 14:39 UTC by Mihai Prica
Modified: 2013-09-02 01:52 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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