diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/runqemu | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 5095e67817..45bcad7a80 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -786,6 +786,9 @@ class BaseConfig(object): | |||
786 | self.cleantap = True | 786 | self.cleantap = True |
787 | logger.info('Created tap: %s' % tap) | 787 | logger.info('Created tap: %s' % tap) |
788 | 788 | ||
789 | if not tap: | ||
790 | logger.error("Failed to setup tap device. Run runqemu-gen-tapdevs to manually create.") | ||
791 | return 1 | ||
789 | self.tap = tap | 792 | self.tap = tap |
790 | n0 = tap[3:] | 793 | n0 = tap[3:] |
791 | n1 = int(n0) * 2 + 1 | 794 | n1 = int(n0) * 2 + 1 |