Re: [libvirt] [PATCH 2/3] virstoragetest: Add test case for NBD over unix socket with new syntax

2018-02-13 Thread Ján Tomko

On Mon, Feb 12, 2018 at 04:20:59PM +0100, Peter Krempa wrote:

Use the new syntax which uses the 'UnixSocket' type in qemu.

Signed-off-by: Peter Krempa 
---
tests/virstoragetest.c | 9 +
1 file changed, 9 insertions(+)



ACK

Jan


signature.asc
Description: Digital signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

[libvirt] [PATCH 2/3] virstoragetest: Add test case for NBD over unix socket with new syntax

2018-02-12 Thread Peter Krempa
Use the new syntax which uses the 'UnixSocket' type in qemu.

Signed-off-by: Peter Krempa 
---
 tests/virstoragetest.c | 9 +
 1 file changed, 9 insertions(+)

diff --git a/tests/virstoragetest.c b/tests/virstoragetest.c
index ea3d2833dd..87519495f0 100644
--- a/tests/virstoragetest.c
+++ b/tests/virstoragetest.c
@@ -1494,6 +1494,15 @@ mymain(void)
"\n"
"  \n"
"\n");
+TEST_BACKING_PARSE("json:{\"file\":{\"driver\":\"nbd\","
+   "\"server\": { \"type\":\"unix\","
+ 
"\"path\":\"/path/socket\""
+   "}"
+  "}"
+"}",
+   "\n"
+   "  \n"
+   "\n");
 TEST_BACKING_PARSE("json:{\"file\":{\"driver\":\"ssh\","
"\"host\":\"example.org\","
"\"port\":\"6000\","
-- 
2.15.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list