|
|
fbe740 |
From d2d22773873d6386f30f88a2d477c23a2fd534e2 Mon Sep 17 00:00:00 2001
|
|
|
fbe740 |
Message-Id: <d2d22773873d6386f30f88a2d477c23a2fd534e2@dist-git>
|
|
|
fbe740 |
From: Peter Krempa <pkrempa@redhat.com>
|
|
|
fbe740 |
Date: Sun, 26 Apr 2020 13:04:05 -0400
|
|
|
fbe740 |
Subject: [PATCH] qemumonitorjsontest: AddNetdev: Use real variant
|
|
|
fbe740 |
MIME-Version: 1.0
|
|
|
fbe740 |
Content-Type: text/plain; charset=UTF-8
|
|
|
fbe740 |
Content-Transfer-Encoding: 8bit
|
|
|
fbe740 |
|
|
|
fbe740 |
QEMU now formalized the arguments of netdev-add in the schema, so we
|
|
|
fbe740 |
must use a real type to pass the schema validation once the schema is
|
|
|
fbe740 |
updated.
|
|
|
fbe740 |
|
|
|
fbe740 |
The 'user' variant doesn't have any other mandatory fields.
|
|
|
fbe740 |
|
|
|
fbe740 |
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
|
|
|
fbe740 |
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
|
fbe740 |
|
|
|
fbe740 |
Required on 8.2.1 branch due to adding caps_5.0.0.x86_64.replies
|
|
|
fbe740 |
Prerequisite for https://bugzilla.redhat.com/1802592
|
|
|
fbe740 |
Signed-off-by: Laine Stump <laine@redhat.com>
|
|
|
fbe740 |
Message-Id: <20200426170415.18328-3-laine@redhat.com>
|
|
|
fbe740 |
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
|
|
|
fbe740 |
---
|
|
|
fbe740 |
tests/qemumonitorjsontest.c | 2 +-
|
|
|
fbe740 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
fbe740 |
|
|
|
fbe740 |
diff --git a/tests/qemumonitorjsontest.c b/tests/qemumonitorjsontest.c
|
|
|
fbe740 |
index 2c696a2e8b..2fb72b827d 100644
|
|
|
fbe740 |
--- a/tests/qemumonitorjsontest.c
|
|
|
fbe740 |
+++ b/tests/qemumonitorjsontest.c
|
|
|
fbe740 |
@@ -1308,7 +1308,7 @@ GEN_TEST_FUNC(qemuMonitorJSONDump, "dummy_protocol", "elf",
|
|
|
fbe740 |
true)
|
|
|
fbe740 |
GEN_TEST_FUNC(qemuMonitorJSONGraphicsRelocate, VIR_DOMAIN_GRAPHICS_TYPE_SPICE,
|
|
|
fbe740 |
"localhost", 12345, 12346, "certsubjectval")
|
|
|
fbe740 |
-GEN_TEST_FUNC(qemuMonitorJSONAddNetdev, "id=net0,type=test")
|
|
|
fbe740 |
+GEN_TEST_FUNC(qemuMonitorJSONAddNetdev, "id=net0,type=user")
|
|
|
fbe740 |
GEN_TEST_FUNC(qemuMonitorJSONRemoveNetdev, "net0")
|
|
|
fbe740 |
GEN_TEST_FUNC(qemuMonitorJSONDelDevice, "ide0")
|
|
|
fbe740 |
GEN_TEST_FUNC(qemuMonitorJSONAddDevice, "some_dummy_devicestr")
|
|
|
fbe740 |
--
|
|
|
fbe740 |
2.26.2
|
|
|
fbe740 |
|