We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01c26b7 commit 86256ebCopy full SHA for 86256eb
1 file changed
vmm/src/app/qemu.rs
@@ -419,13 +419,19 @@ impl VmConfig {
419
]);
420
}
421
if let Some(rootfs) = &self.image.rootfs {
422
+ let img_ver = self.image.info.version_tuple().unwrap_or_default();
423
let ext = rootfs
424
.extension()
425
.unwrap_or_default()
426
.to_str()
427
.unwrap_or_default();
428
match ext {
429
"iso" => {
430
+ if img_ver >= (0, 5, 0) {
431
+ bail!(
432
+ "Unsupported rootfs type: {ext}. Image versions >= 0.5.0 must use verity rootfs"
433
+ );
434
+ }
435
command.arg("-cdrom").arg(rootfs);
436
437
"verity" => {
0 commit comments