diff options
author | Ewan Mellor <ewan@xensource.com> | 2007-03-22 17:04:55 +0000 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2007-03-22 17:04:55 +0000 |
commit | 657d3fa3dde117fa2bf551861d8dabbb3089d42e (patch) | |
tree | e76d9982aaf8b4a673fa3a93a9f4e756962725cb /tools/libxen/test | |
parent | 5feb9722dbd2e772b8e92b19830f7107145f22ba (diff) | |
download | xen-657d3fa3dde117fa2bf551861d8dabbb3089d42e.tar.gz xen-657d3fa3dde117fa2bf551861d8dabbb3089d42e.tar.bz2 xen-657d3fa3dde117fa2bf551861d8dabbb3089d42e.zip |
Match the name change for the QCoW SR.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/libxen/test')
-rw-r--r-- | tools/libxen/test/test_bindings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxen/test/test_bindings.c b/tools/libxen/test/test_bindings.c index 92f2d9b6ca..1471814d81 100644 --- a/tools/libxen/test/test_bindings.c +++ b/tools/libxen/test/test_bindings.c @@ -403,7 +403,7 @@ static xen_vm create_new_vm(xen_session *session, bool hvm) * Create a new disk for the new VM. */ xen_sr_set *srs; - if (!xen_sr_get_by_name_label(session, &srs, "Local") || + if (!xen_sr_get_by_name_label(session, &srs, "QCoW") || srs->size < 1) { fprintf(stderr, "SR lookup failed.\n"); |