mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Match the name change for the QCoW SR.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
5feb9722db
commit
657d3fa3dd
1 file changed
+1
-1
@@ -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");
|
||||
|
||||