aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/test
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2007-03-17 23:55:03 +0000
committerEwan Mellor <ewan@xensource.com>2007-03-17 23:55:03 +0000
commit98321440ec5681052fc4cadfaed5471b01cfd451 (patch)
tree2781b355ce6569d1341c74dc33f3650369fd2501 /tools/libxen/test
parent716d0617c936b721deb6fc2212add0acca58af32 (diff)
downloadxen-98321440ec5681052fc4cadfaed5471b01cfd451.tar.gz
xen-98321440ec5681052fc4cadfaed5471b01cfd451.tar.bz2
xen-98321440ec5681052fc4cadfaed5471b01cfd451.zip
Replace VDI.location with a more generic VDI.other_config map. Remove
VDI.sector_size. Xend work by Tom Wilkie <tom.wilkie@gmail.com>. Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen/test')
-rw-r--r--tools/libxen/test/test_bindings.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c
index f18c5c5ac5..92f2d9b6ca 100644
--- a/tools/libxen/test/test_bindings.c
+++ b/tools/libxen/test/test_bindings.c
@@ -421,8 +421,7 @@ static xen_vm create_new_vm(xen_session *session, bool hvm)
.name_label = "MyRootFS",
.name_description = "MyRootFS description",
.sr = &sr_record,
- .virtual_size = (1 << 21), // 1GiB / 512 bytes/sector
- .sector_size = 512,
+ .virtual_size = (INT64_C(1) << 30), // 1GiB
.type = XEN_VDI_TYPE_SYSTEM,
.sharable = false,
.read_only = false