* [Qemu-devel] [PULL 0/9] Testing patches
@ 2018-10-26 14:15 Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 1/9] tests: docker: update test-mingw for GTK+ 2.0 removal Fam Zheng
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: Fam Zheng @ 2018-10-26 14:15 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
The following changes since commit 808ebd66e467f77c0d1f8c6346235f81e9c99cf2:
Merge remote-tracking branch 'remotes/riscv/tags/riscv-for-master-3.1-sf0' into staging (2018-10-25 17:41:03 +0100)
are available in the Git repository at:
git://github.com/famz/qemu.git tags/testing-pull-request
for you to fetch changes up to 63a24c5e2354833a84f18bdf0e857fad8812f65b:
tests/vm: Do not abuse parallelism when HOST != TARGET architecture (2018-10-26 22:03:21 +0800)
----------------------------------------------------------------
Testing patches
One fix for mingw build and some improvements in VM based testing, many thanks
to Paolo and Phil.
----------------------------------------------------------------
Paolo Bonzini (1):
tests: docker: update test-mingw for GTK+ 2.0 removal
Philippe Mathieu-Daudé (8):
tests/vm: Extract the kvm_available() handy function
tests/vm: Do not abuse parallelism when KVM is not available
tests/vm: Do not use the -smp option with a single cpu
tests/vm: Display remaining seconds to wait for a VM to start
tests/vm: Add a BaseVM::arch property
tests/vm: Let kvm_available() work in cross environments
tests/vm: Do not use -enable-kvm if HOST != TARGET architecture
tests/vm: Do not abuse parallelism when HOST != TARGET architecture
scripts/qemu.py | 6 ++++++
tests/docker/test-mingw | 3 +--
tests/vm/basevm.py | 30 +++++++++++++++++++++---------
tests/vm/centos | 1 +
tests/vm/freebsd | 1 +
tests/vm/netbsd | 1 +
tests/vm/openbsd | 1 +
tests/vm/ubuntu.i386 | 1 +
8 files changed, 33 insertions(+), 11 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] [PULL 1/9] tests: docker: update test-mingw for GTK+ 2.0 removal
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
@ 2018-10-26 14:15 ` Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 2/9] tests/vm: Extract the kvm_available() handy function Fam Zheng
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Fam Zheng @ 2018-10-26 14:15 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
From: Paolo Bonzini <pbonzini@redhat.com>
--with-gtkabi does not exist anymore; remove it from the configure invocation.
Fixes: 89d85cde75143325205e332dd97bf1bb8402d7c1
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1539886203-33670-1-git-send-email-pbonzini@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
---
tests/docker/test-mingw | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/docker/test-mingw b/tests/docker/test-mingw
index 7cca7e16a6..b078f22879 100755
--- a/tests/docker/test-mingw
+++ b/tests/docker/test-mingw
@@ -28,8 +28,7 @@ for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do
--enable-vnc \
--enable-bzip2 \
--enable-guest-agent \
- --with-sdlabi=2.0 \
- --with-gtkabi=3.0
+ --with-sdlabi=2.0
install_qemu
make clean
--
2.17.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PULL 2/9] tests/vm: Extract the kvm_available() handy function
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 1/9] tests: docker: update test-mingw for GTK+ 2.0 removal Fam Zheng
@ 2018-10-26 14:15 ` Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 3/9] tests/vm: Do not abuse parallelism when KVM is not available Fam Zheng
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Fam Zheng @ 2018-10-26 14:15 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181013004034.6968-2-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
---
scripts/qemu.py | 4 ++++
tests/vm/basevm.py | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/scripts/qemu.py b/scripts/qemu.py
index f099ce7278..9fc0be4828 100644
--- a/scripts/qemu.py
+++ b/scripts/qemu.py
@@ -26,6 +26,10 @@ import tempfile
LOG = logging.getLogger(__name__)
+def kvm_available(target_arch=None):
+ return os.access("/dev/kvm", os.R_OK | os.W_OK)
+
+
#: Maps machine types to the preferred console device types
CONSOLE_DEV_TYPES = {
r'^clipper$': 'isa-serial',
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index cafbc6b3a5..834bc90cc1 100755
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -18,7 +18,7 @@ import logging
import time
import datetime
sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "scripts"))
-from qemu import QEMUMachine
+from qemu import QEMUMachine, kvm_available
import subprocess
import hashlib
import optparse
@@ -72,7 +72,7 @@ class BaseVM(object):
"-serial", "file:%s" % os.path.join(self._tmpdir, "serial.out")]
if vcpus:
self._args += ["-smp", str(vcpus)]
- if os.access("/dev/kvm", os.R_OK | os.W_OK):
+ if kvm_available():
self._args += ["-enable-kvm"]
else:
logging.info("KVM not available, not using -enable-kvm")
--
2.17.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PULL 3/9] tests/vm: Do not abuse parallelism when KVM is not available
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 1/9] tests: docker: update test-mingw for GTK+ 2.0 removal Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 2/9] tests/vm: Extract the kvm_available() handy function Fam Zheng
@ 2018-10-26 14:15 ` Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 4/9] tests/vm: Do not use the -smp option with a single cpu Fam Zheng
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Fam Zheng @ 2018-10-26 14:15 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181013004034.6968-3-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
---
tests/vm/basevm.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 834bc90cc1..2bd32dc6ce 100755
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -196,6 +196,13 @@ class BaseVM(object):
return self._guest.qmp(*args, **kwargs)
def parse_args(vm_name):
+
+ def get_default_jobs():
+ if kvm_available():
+ return multiprocessing.cpu_count() / 2
+ else:
+ return 1
+
parser = optparse.OptionParser(
description="VM test utility. Exit codes: "
"0 = success, "
@@ -208,7 +215,7 @@ def parse_args(vm_name):
help="image file name")
parser.add_option("--force", "-f", action="store_true",
help="force build image even if image exists")
- parser.add_option("--jobs", type=int, default=multiprocessing.cpu_count() / 2,
+ parser.add_option("--jobs", type=int, default=get_default_jobs(),
help="number of virtual CPUs")
parser.add_option("--verbose", "-V", action="store_true",
help="Pass V=1 to builds within the guest")
--
2.17.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PULL 4/9] tests/vm: Do not use the -smp option with a single cpu
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
` (2 preceding siblings ...)
2018-10-26 14:15 ` [Qemu-devel] [PULL 3/9] tests/vm: Do not abuse parallelism when KVM is not available Fam Zheng
@ 2018-10-26 14:15 ` Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 5/9] tests/vm: Display remaining seconds to wait for a VM to start Fam Zheng
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Fam Zheng @ 2018-10-26 14:15 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181013004034.6968-4-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
---
tests/vm/basevm.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 2bd32dc6ce..9415e7c33a 100755
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -70,7 +70,7 @@ class BaseVM(object):
"-device", "virtio-net-pci,netdev=vnet",
"-vnc", "127.0.0.1:0,to=20",
"-serial", "file:%s" % os.path.join(self._tmpdir, "serial.out")]
- if vcpus:
+ if vcpus and vcpus > 1:
self._args += ["-smp", str(vcpus)]
if kvm_available():
self._args += ["-enable-kvm"]
--
2.17.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PULL 5/9] tests/vm: Display remaining seconds to wait for a VM to start
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
` (3 preceding siblings ...)
2018-10-26 14:15 ` [Qemu-devel] [PULL 4/9] tests/vm: Do not use the -smp option with a single cpu Fam Zheng
@ 2018-10-26 14:15 ` Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 6/9] tests/vm: Add a BaseVM::arch property Fam Zheng
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Fam Zheng @ 2018-10-26 14:15 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181013004034.6968-5-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
---
tests/vm/basevm.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 9415e7c33a..81a1cb05dd 100755
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -177,11 +177,14 @@ class BaseVM(object):
def wait_ssh(self, seconds=300):
starttime = datetime.datetime.now()
+ endtime = starttime + datetime.timedelta(seconds=seconds)
guest_up = False
- while (datetime.datetime.now() - starttime).total_seconds() < seconds:
+ while datetime.datetime.now() < endtime:
if self.ssh("exit 0") == 0:
guest_up = True
break
+ seconds = (endtime - datetime.datetime.now()).total_seconds()
+ logging.debug("%ds before timeout", seconds)
time.sleep(1)
if not guest_up:
raise Exception("Timeout while waiting for guest ssh")
--
2.17.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PULL 6/9] tests/vm: Add a BaseVM::arch property
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
` (4 preceding siblings ...)
2018-10-26 14:15 ` [Qemu-devel] [PULL 5/9] tests/vm: Display remaining seconds to wait for a VM to start Fam Zheng
@ 2018-10-26 14:15 ` Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 7/9] tests/vm: Let kvm_available() work in cross environments Fam Zheng
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Fam Zheng @ 2018-10-26 14:15 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
The 'arch' property gives a hint on which architecture the guest image runs.
This can be use to select the correct QEMU binary path.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181013004034.6968-6-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
---
tests/vm/basevm.py | 4 +++-
tests/vm/centos | 1 +
tests/vm/freebsd | 1 +
tests/vm/netbsd | 1 +
tests/vm/openbsd | 1 +
tests/vm/ubuntu.i386 | 1 +
6 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 81a1cb05dd..b2e0de2022 100755
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -42,6 +42,8 @@ class BaseVM(object):
BUILD_SCRIPT = ""
# The guest name, to be overridden by subclasses
name = "#base"
+ # The guest architecture, to be overridden by subclasses
+ arch = "#arch"
def __init__(self, debug=False, vcpus=None):
self._guest = None
self._tmpdir = os.path.realpath(tempfile.mkdtemp(prefix="vm-test-",
@@ -151,7 +153,7 @@ class BaseVM(object):
"-device", "virtio-blk,drive=drive0,bootindex=0"]
args += self._data_args + extra_args
logging.debug("QEMU args: %s", " ".join(args))
- qemu_bin = os.environ.get("QEMU", "qemu-system-x86_64")
+ qemu_bin = os.environ.get("QEMU", "qemu-system-" + self.arch)
guest = QEMUMachine(binary=qemu_bin, args=args)
try:
guest.launch()
diff --git a/tests/vm/centos b/tests/vm/centos
index afd560c564..daa2dbca03 100755
--- a/tests/vm/centos
+++ b/tests/vm/centos
@@ -19,6 +19,7 @@ import time
class CentosVM(basevm.BaseVM):
name = "centos"
+ arch = "x86_64"
BUILD_SCRIPT = """
set -e;
cd $(mktemp -d);
diff --git a/tests/vm/freebsd b/tests/vm/freebsd
index b6983127d0..19a3729172 100755
--- a/tests/vm/freebsd
+++ b/tests/vm/freebsd
@@ -18,6 +18,7 @@ import basevm
class FreeBSDVM(basevm.BaseVM):
name = "freebsd"
+ arch = "x86_64"
BUILD_SCRIPT = """
set -e;
rm -rf /var/tmp/qemu-test.*
diff --git a/tests/vm/netbsd b/tests/vm/netbsd
index a4e25820d5..fac6a7ce51 100755
--- a/tests/vm/netbsd
+++ b/tests/vm/netbsd
@@ -18,6 +18,7 @@ import basevm
class NetBSDVM(basevm.BaseVM):
name = "netbsd"
+ arch = "x86_64"
BUILD_SCRIPT = """
set -e;
rm -rf /var/tmp/qemu-test.*
diff --git a/tests/vm/openbsd b/tests/vm/openbsd
index 52500ee52b..cfe0572c59 100755
--- a/tests/vm/openbsd
+++ b/tests/vm/openbsd
@@ -18,6 +18,7 @@ import basevm
class OpenBSDVM(basevm.BaseVM):
name = "openbsd"
+ arch = "x86_64"
BUILD_SCRIPT = """
set -e;
rm -rf /var/tmp/qemu-test.*
diff --git a/tests/vm/ubuntu.i386 b/tests/vm/ubuntu.i386
index 3f6ed48b74..1b7e1ab8f0 100755
--- a/tests/vm/ubuntu.i386
+++ b/tests/vm/ubuntu.i386
@@ -19,6 +19,7 @@ import time
class UbuntuX86VM(basevm.BaseVM):
name = "ubuntu.i386"
+ arch = "i386"
BUILD_SCRIPT = """
set -e;
cd $(mktemp -d);
--
2.17.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PULL 7/9] tests/vm: Let kvm_available() work in cross environments
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
` (5 preceding siblings ...)
2018-10-26 14:15 ` [Qemu-devel] [PULL 6/9] tests/vm: Add a BaseVM::arch property Fam Zheng
@ 2018-10-26 14:15 ` Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 8/9] tests/vm: Do not use -enable-kvm if HOST != TARGET architecture Fam Zheng
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Fam Zheng @ 2018-10-26 14:15 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181013004034.6968-7-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
---
scripts/qemu.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/qemu.py b/scripts/qemu.py
index 9fc0be4828..bcd24aad82 100644
--- a/scripts/qemu.py
+++ b/scripts/qemu.py
@@ -27,6 +27,8 @@ LOG = logging.getLogger(__name__)
def kvm_available(target_arch=None):
+ if target_arch and target_arch != os.uname()[4]:
+ return False
return os.access("/dev/kvm", os.R_OK | os.W_OK)
--
2.17.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PULL 8/9] tests/vm: Do not use -enable-kvm if HOST != TARGET architecture
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
` (6 preceding siblings ...)
2018-10-26 14:15 ` [Qemu-devel] [PULL 7/9] tests/vm: Let kvm_available() work in cross environments Fam Zheng
@ 2018-10-26 14:15 ` Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 9/9] tests/vm: Do not abuse parallelism when " Fam Zheng
2018-10-29 10:22 ` [Qemu-devel] [PULL 0/9] Testing patches Peter Maydell
9 siblings, 0 replies; 11+ messages in thread
From: Fam Zheng @ 2018-10-26 14:15 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181013004034.6968-8-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
---
tests/vm/basevm.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index b2e0de2022..9f4794898a 100755
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -74,7 +74,7 @@ class BaseVM(object):
"-serial", "file:%s" % os.path.join(self._tmpdir, "serial.out")]
if vcpus and vcpus > 1:
self._args += ["-smp", str(vcpus)]
- if kvm_available():
+ if kvm_available(self.arch):
self._args += ["-enable-kvm"]
else:
logging.info("KVM not available, not using -enable-kvm")
--
2.17.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Qemu-devel] [PULL 9/9] tests/vm: Do not abuse parallelism when HOST != TARGET architecture
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
` (7 preceding siblings ...)
2018-10-26 14:15 ` [Qemu-devel] [PULL 8/9] tests/vm: Do not use -enable-kvm if HOST != TARGET architecture Fam Zheng
@ 2018-10-26 14:15 ` Fam Zheng
2018-10-29 10:22 ` [Qemu-devel] [PULL 0/9] Testing patches Peter Maydell
9 siblings, 0 replies; 11+ messages in thread
From: Fam Zheng @ 2018-10-26 14:15 UTC (permalink / raw)
To: qemu-devel; +Cc: peter.maydell
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181013004034.6968-9-f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
---
tests/vm/basevm.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 9f4794898a..5caf77d6b8 100755
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -200,10 +200,10 @@ class BaseVM(object):
def qmp(self, *args, **kwargs):
return self._guest.qmp(*args, **kwargs)
-def parse_args(vm_name):
+def parse_args(vmcls):
def get_default_jobs():
- if kvm_available():
+ if kvm_available(vmcls.arch):
return multiprocessing.cpu_count() / 2
else:
return 1
@@ -216,7 +216,7 @@ def parse_args(vm_name):
"3 = test command failed")
parser.add_option("--debug", "-D", action="store_true",
help="enable debug output")
- parser.add_option("--image", "-i", default="%s.img" % vm_name,
+ parser.add_option("--image", "-i", default="%s.img" % vmcls.name,
help="image file name")
parser.add_option("--force", "-f", action="store_true",
help="force build image even if image exists")
@@ -237,7 +237,7 @@ def parse_args(vm_name):
def main(vmcls):
try:
- args, argv = parse_args(vmcls.name)
+ args, argv = parse_args(vmcls)
if not argv and not args.build_qemu and not args.build_image:
print("Nothing to do?")
return 1
--
2.17.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PULL 0/9] Testing patches
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
` (8 preceding siblings ...)
2018-10-26 14:15 ` [Qemu-devel] [PULL 9/9] tests/vm: Do not abuse parallelism when " Fam Zheng
@ 2018-10-29 10:22 ` Peter Maydell
9 siblings, 0 replies; 11+ messages in thread
From: Peter Maydell @ 2018-10-29 10:22 UTC (permalink / raw)
To: Fam Zheng; +Cc: QEMU Developers
On 26 October 2018 at 15:15, Fam Zheng <famz@redhat.com> wrote:
> The following changes since commit 808ebd66e467f77c0d1f8c6346235f81e9c99cf2:
>
> Merge remote-tracking branch 'remotes/riscv/tags/riscv-for-master-3.1-sf0' into staging (2018-10-25 17:41:03 +0100)
>
> are available in the Git repository at:
>
> git://github.com/famz/qemu.git tags/testing-pull-request
>
> for you to fetch changes up to 63a24c5e2354833a84f18bdf0e857fad8812f65b:
>
> tests/vm: Do not abuse parallelism when HOST != TARGET architecture (2018-10-26 22:03:21 +0800)
>
> ----------------------------------------------------------------
> Testing patches
>
> One fix for mingw build and some improvements in VM based testing, many thanks
> to Paolo and Phil.
Applied, thanks.
-- PMM
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2018-10-29 10:23 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-26 14:15 [Qemu-devel] [PULL 0/9] Testing patches Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 1/9] tests: docker: update test-mingw for GTK+ 2.0 removal Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 2/9] tests/vm: Extract the kvm_available() handy function Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 3/9] tests/vm: Do not abuse parallelism when KVM is not available Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 4/9] tests/vm: Do not use the -smp option with a single cpu Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 5/9] tests/vm: Display remaining seconds to wait for a VM to start Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 6/9] tests/vm: Add a BaseVM::arch property Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 7/9] tests/vm: Let kvm_available() work in cross environments Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 8/9] tests/vm: Do not use -enable-kvm if HOST != TARGET architecture Fam Zheng
2018-10-26 14:15 ` [Qemu-devel] [PULL 9/9] tests/vm: Do not abuse parallelism when " Fam Zheng
2018-10-29 10:22 ` [Qemu-devel] [PULL 0/9] Testing patches Peter Maydell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).