summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@chromium.org>2012-08-23 21:18:06 -0700
committerBrian Harring <ferringb@chromium.org>2012-08-23 21:18:52 -0700
commitf5c9966ae26931d258ce571060e64bf75c0df115 (patch)
tree70fa449c9c51cb78f069f4a99162e31147ea5b4e
parentadd dep on nc6 or socat for monitoring controls (diff)
downloadkvm-tools-f5c9966ae26931d258ce571060e64bf75c0df115.tar.gz
kvm-tools-f5c9966ae26931d258ce571060e64bf75c0df115.tar.bz2
kvm-tools-f5c9966ae26931d258ce571060e64bf75c0df115.zip
Pull in a fix from rafaelmartins for dealing w/ multiple qtaps.
Uprev the version in the process.
-rw-r--r--app-emulation/qemu-init-scripts/files/qtap-manipulate4
-rw-r--r--app-emulation/qemu-init-scripts/qemu-init-scripts-0.2.ebuild (renamed from app-emulation/qemu-init-scripts/qemu-init-scripts-0.1.ebuild)0
2 files changed, 1 insertions, 3 deletions
diff --git a/app-emulation/qemu-init-scripts/files/qtap-manipulate b/app-emulation/qemu-init-scripts/files/qtap-manipulate
index 426bc78..41ab0ca 100644
--- a/app-emulation/qemu-init-scripts/files/qtap-manipulate
+++ b/app-emulation/qemu-init-scripts/files/qtap-manipulate
@@ -12,9 +12,7 @@ has() {
}
find_available_node() {
- local val=$(ifconfig -a | grep -i ^qtap | cut -d ' ' -f1)
- # Strip off ifconfig appended ':'
- val="${val%:}"
+ local val=$(ifconfig -a | grep -i ^qtap | cut -d: -f1)
local pos=0
while has qtap${pos} $val; do
pos=$(( $pos + 1 ))
diff --git a/app-emulation/qemu-init-scripts/qemu-init-scripts-0.1.ebuild b/app-emulation/qemu-init-scripts/qemu-init-scripts-0.2.ebuild
index c3b2b60..c3b2b60 100644
--- a/app-emulation/qemu-init-scripts/qemu-init-scripts-0.1.ebuild
+++ b/app-emulation/qemu-init-scripts/qemu-init-scripts-0.2.ebuild