Skip to contentSkip to conversation

runqemu: add erofs filesystem types

PATCH New [email protected] 1 participant 1 message Sep 19, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 runqemu: add erofs filesystem types

runqemu does not recognize erofs, erofs-lz4, and erofs-lz4hc as filesystem types. Add them to start from an erofs filesystem without needing the full path.

---
 scripts/runqemu | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
scripts/runqemu +2 -1
index c24528eac8..32c7a2aab3 100755
@@ -202,7 +202,8 @@ class BaseConfig(object):
                         'jffs2', 'nfs', 'btrfs', 'cpio.gz', 'cpio', 'ramfs',
                         'tar.bz2', 'tar.gz', 'tar.zst',
                         'squashfs', 'squashfs-xz', 'squashfs-lzo',
-                        'squashfs-lz4', 'squashfs-zst')
+                        'squashfs-lz4', 'squashfs-zst',
+                        'erofs', 'erofs-lz4', 'erofs-lz4hc')
         self.vmtypes = ('hddimg', 'iso')
         self.fsinfo = {}
         self.network_device = "-device e1000,netdev=net0,mac=@MAC@"