Revision c90f1b32
b/blockdev.c | ||
---|---|---|
526 | 526 |
int ret = 0; |
527 | 527 |
int flags; |
528 | 528 |
|
529 |
if (!filename) { |
|
530 |
qerror_report(QERR_MISSING_PARAMETER, "snapshot_file"); |
|
531 |
ret = -1; |
|
532 |
goto out; |
|
533 |
} |
|
534 |
|
|
529 | 535 |
bs = bdrv_find(device); |
530 | 536 |
if (!bs) { |
531 | 537 |
qerror_report(QERR_DEVICE_NOT_FOUND, device); |
Also available in: Unified diff