diff options
author | Konrad Weihmann <kweihmann@outlook.com> | 2024-09-09 08:32:15 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-10 13:05:00 +0100 |
commit | c9a999940069623b95e8300fead4838de9edccb8 (patch) | |
tree | c14076f557db0ebd0e30cb76978deac0365b6da0 /scripts/patchtest.README | |
parent | 4854fc5dbbbe1f7835f9574cfe41198655420664 (diff) | |
download | poky-c9a999940069623b95e8300fead4838de9edccb8.tar.gz |
runqemu: keep generating tap devices
in case there is no tap device the script tries to
generate a new one.
The new device is then unguarded for a moment, so
the newly generated device could be acquired
by a different instance or user, before it is locked to
the instance with acquire_taplock.
To fix that keep generating new tap devices in case
the lock can't be acquired up to 5 times.
If no tap device can be locked it fails in the existing
error handling
(From OE-Core rev: 23876576d054ebbab9b02c0012782aa56feda123)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/patchtest.README')
0 files changed, 0 insertions, 0 deletions