Use format raw if a disk is passthrough to VM.

To prevent error at VM starting, when we passthrough a harddrive from host to vm.
This commit is contained in:
Wolfgang Link 2016-01-25 15:13:36 +01:00 committed by Dietmar Maurer
parent eb15b9f074
commit 5b61bff247

View File

@ -1285,6 +1285,7 @@ sub print_drive_full {
$format = qemu_img_format($scfg, $volname);
} else {
$path = $volid;
$format = "raw";
}
}