aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxen/test
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2006-12-14 14:50:35 +0000
committerEwan Mellor <ewan@xensource.com>2006-12-14 14:50:35 +0000
commitca636dbc6e3be5aed08261cf967f3f2efc9c379d (patch)
treeb9ac0b8018bcd9f6ecee2521ba612aa815546698 /tools/libxen/test
parent89bc2ddec0bed65d61b79b312850818943395193 (diff)
downloadxen-ca636dbc6e3be5aed08261cf967f3f2efc9c379d.tar.gz
xen-ca636dbc6e3be5aed08261cf967f3f2efc9c379d.tar.bz2
xen-ca636dbc6e3be5aed08261cf967f3f2efc9c379d.zip
Have a 1GiB disk rather than 1MiB, for a slightly more sensible test.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen/test')
-rw-r--r--tools/libxen/test/test_bindings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c
index 0c47305a09..d2c54ac3ea 100644
--- a/tools/libxen/test/test_bindings.c
+++ b/tools/libxen/test/test_bindings.c
@@ -339,7 +339,7 @@ static void create_new_vm(xen_session *session)
.name_label = "MyRootFS",
.name_description = "MyRootFS description",
.sr = &sr_record,
- .virtual_size = (1 << 20) / 512,
+ .virtual_size = (1 << 21), // 1GiB / 512 bytes/sector
.sector_size = 512,
.type = XEN_VDI_TYPE_SYSTEM,
.sharable = false,