mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
getting started: explain 9p module rebuild
split networking and filesystem toplevel secions create closest overlayfs attempt so far and document it
This commit is contained in:
4
run
4
run
@@ -185,9 +185,8 @@ def main(args, extra_args=None):
|
||||
if not os.path.exists(common.image):
|
||||
raise_image_not_found()
|
||||
extra_emulator_args.extend(extra_qemu_args)
|
||||
os.makedirs(common.run_dir, exist_ok=True)
|
||||
common.make_run_dirs()
|
||||
if args.prebuilt:
|
||||
common.mkdir()
|
||||
qemu_executable = common.qemu_executable_basename
|
||||
qemu_found = shutil.which(qemu_executable) is not None
|
||||
else:
|
||||
@@ -219,6 +218,7 @@ def main(args, extra_args=None):
|
||||
'-trace', 'enable={},file={}'.format(trace_type, common.qemu_trace_file),
|
||||
'-virtfs', 'local,path={},mount_tag=host_data,security_model=mapped,id=host_data'.format(common.p9_dir),
|
||||
'-virtfs', 'local,path={},mount_tag=host_out,security_model=mapped,id=host_out'.format(common.out_dir),
|
||||
'-virtfs', 'local,path={},mount_tag=host_out_rootfs_overlay,security_model=mapped,id=host_out_rootfs_overlay'.format(common.out_rootfs_overlay_dir),
|
||||
'-virtfs', 'local,path={},mount_tag=host_rootfs_overlay,security_model=mapped,id=host_rootfs_overlay'.format(common.rootfs_overlay_dir),
|
||||
] +
|
||||
serial_monitor +
|
||||
|
||||
Reference in New Issue
Block a user