]> xenbits.xensource.com Git - xen.git/commitdiff
Match the name change for the QCoW SR.
authorEwan Mellor <ewan@xensource.com>
Thu, 22 Mar 2007 17:04:55 +0000 (17:04 +0000)
committerEwan Mellor <ewan@xensource.com>
Thu, 22 Mar 2007 17:04:55 +0000 (17:04 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/libxen/test/test_bindings.c

index 92f2d9b6ca07636fb61ad621c9584b9341699a4f..1471814d81165f69d87e0e3a31abbd8e98c147b5 100644 (file)
@@ -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");