runqemu: add ability to skip using an existing tap device
authorScott Garman <scott.a.garman@intel.com>
Sat, 15 Feb 2014 19:04:47 +0000 (11:04 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Feb 2014 15:37:17 +0000 (15:37 +0000)
commit31b163d8ba05c50b7f9c9ab5b72c3a3a41225c46
tree11458136a7adcbf4696fe438769492dab1049cc2
parent0b2f03a1a9c81c58faac49393b4f01960dd92888
runqemu: add ability to skip using an existing tap device

Support the sitauation where a user could have another VM running
which uses tap devices. To prevent runqemu from trying to use the
same tap device, runqemu will skip using a tap device if it finds
a filename tapX.skip within its lock directory.

This fixes [YOCTO #5815]

(From OE-Core rev: 2e490f3b08176b20fe41c64cf17ecf3b5af61f39)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu-internal