runqemu: add erofs filesystem types
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.
Signed-off-by Thomas Witte <[email protected]>
--- scripts/runqemu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
scripts/runqemu +2 -1
@@ -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@"