Use the new syntax which uses the 'UnixSocket' type in qemu.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
"<source protocol='nbd' name='blah'>\n"
" <host name='example.org' port='6000'/>\n"
"</source>\n");
+ TEST_BACKING_PARSE("json:{\"file\":{\"driver\":\"nbd\","
+ "\"server\": { \"type\":\"unix\","
+ "\"path\":\"/path/socket\""
+ "}"
+ "}"
+ "}",
+ "<source protocol='nbd'>\n"
+ " <host transport='unix' socket='/path/socket'/>\n"
+ "</source>\n");
TEST_BACKING_PARSE("json:{\"file\":{\"driver\":\"ssh\","
"\"host\":\"example.org\","
"\"port\":\"6000\","