Skip to contentSkip to conversation

virt: Fix migration bg command

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Feb 14, 2012 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virt: Fix migration bg command

In migration tests, the command we were using as a 'watchdog' command was tcpdump, but without specifying which interface it should listen to. As this may fail depending on the interface ordering, let's change the command to listen in all interfaces, since this way it's safer and the command won't fail depending on the interface ordering.

---
 client/virt/subtests.cfg.sample |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
client/virt/subtests.cfg.sample +1 -1
index b08a5c4..56043e0 100644
@@ -350,7 +350,7 @@ variants:
     - migrate: install setup image_copy unattended_install.cdrom
         type = migration
         migration_test_command = help
-        migration_bg_command = "cd /tmp; nohup tcpdump -q -t ip host localhost"
+        migration_bg_command = "cd /tmp; nohup tcpdump -q -i any -t ip host localhost"
         migration_bg_check_command = pgrep tcpdump
         migration_bg_kill_command = pkill tcpdump
         kill_vm_on_error = yes
Signature · 1 line
1.7.7.6