[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 4 of 4 v2] libxl: add a test case for correct parsing of disk "backendtype" field
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1317983222 -3600 # Node ID e530b4b35d3872d93013daa4233cc467a89a1bac # Parent 7dc93b06164542f06958a181c4747770a5552457 libxl: add a test case for correct parsing of disk "backendtype" field Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> diff -r 7dc93b061645 -r e530b4b35d38 tools/libxl/check-xl-disk-parse --- a/tools/libxl/check-xl-disk-parse Fri Oct 07 11:06:41 2011 +0100 +++ b/tools/libxl/check-xl-disk-parse Fri Oct 07 11:27:02 2011 +0100 @@ -91,4 +91,20 @@ one 0 "format=raw, vdev=hdc, access=ro, one 0 format=raw vdev=hdc access=ro devtype=cdrom target=/root/image.iso one 0 raw:/root/image.iso,hdc:cdrom,ro +expected <<EOF +disk: { + "backend_domid": 0, + "pdev_path": "/dev/vg/guest-volume", + "vdev": "xvdb", + "backend": "phy", + "format": "raw", + "script": null, + "removable": 0, + "readwrite": 1, + "is_cdrom": 0 +} + +EOF +one 0 backendtype=phy,vdev=xvdb,access=w,target=/dev/vg/guest-volume + complete _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |