qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 05/10] libqtest: split QMP part in libqmp


From: Thomas Huth
Subject: Re: [PATCH 05/10] libqtest: split QMP part in libqmp
Date: Mon, 25 Apr 2022 21:39:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 22/04/2022 10.36, marcandre.lureau@redhat.com wrote:
From: Marc-André Lureau <marcandre.lureau@redhat.com>

This will help moving QAPI/QMP in a common subproject.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
  tests/qtest/libqmp.h           |  50 +++++++
  tests/qtest/libqtest.h         |  29 +---
  tests/qtest/libqmp.c           | 233 +++++++++++++++++++++++++++++++++
  tests/qtest/libqtest.c         | 205 +----------------------------
  tests/qtest/libqos/meson.build |   5 +-
  tests/unit/meson.build         |   2 +-
  6 files changed, 290 insertions(+), 234 deletions(-)
  create mode 100644 tests/qtest/libqmp.h
  create mode 100644 tests/qtest/libqmp.c
[...]
diff --git a/tests/qtest/libqos/meson.build b/tests/qtest/libqos/meson.build
index e988d1579172..9f292339f9cf 100644
--- a/tests/qtest/libqos/meson.build
+++ b/tests/qtest/libqos/meson.build
@@ -1,4 +1,7 @@
-libqos_srcs = files('../libqtest.c',
+libqos_srcs = files(
+        '../libqtest.c',
+        '../libqmp.c',

I just realized that we link libqos to each and every qtest, though we should only link it against the qos-test :-/

Anyway, that's not related to your patch and we can fix that later, so for this patch here:

Acked-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]