[Spice-commits] 2 commits - tests/migrate.py
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Mar 9 12:29:04 UTC 2020
tests/migrate.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1a91da86898bc11b90027325528360e494dafcbd
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Mon Mar 9 10:51:53 2020 +0000
migrate.py: By default try to search system qemu executable
Do not look to "../../qemu/x86_64-softmmu/qemu-system-x86_64",
this will be searched with which if no found, just use the name.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
diff --git a/tests/migrate.py b/tests/migrate.py
index 9497b372..5feba5f9 100755
--- a/tests/migrate.py
+++ b/tests/migrate.py
@@ -61,7 +61,7 @@ def get_args():
parser.add_argument('--spice_port1', dest='spice_port1', type=int, default=5911)
parser.add_argument('--spice_port2', dest='spice_port2', type=int, default=6911)
parser.add_argument('--migrate_port', dest='migrate_port', type=int, default=8000)
- parser.add_argument('--qemu', dest='qemu', default='../../qemu/x86_64-softmmu/qemu-system-x86_64')
+ parser.add_argument('--qemu', dest='qemu', default='qemu-system-x86_64')
parser.add_argument('--log_filename', dest='log_filename', default='migrate.log')
parser.add_argument('--image', dest='image', default='')
parser.add_argument("--hostname", dest='hostname', default='localhost',
commit 768360018a576fd43d6c2e08a797749d28babab0
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Sun Mar 8 19:18:30 2020 +0000
migrate.py: Use python3 as executable interpreter
The script was updated to use Python 3 syntax.
Although you can launch with "python3 ./tests/migrate.py ..."
better to also update the script source to make it
executable directly.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
diff --git a/tests/migrate.py b/tests/migrate.py
index 97fb5552..9497b372 100755
--- a/tests/migrate.py
+++ b/tests/migrate.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
Spice Migration test
More information about the Spice-commits
mailing list