Skip to content
Snippets Groups Projects
Commit fe646826 authored by Timmy Chan's avatar Timmy Chan
Browse files

Fix qemu boot path

parent e8d9f8ac
No related branches found
No related tags found
1 merge request!5Feat/cve linux kernel
......@@ -167,7 +167,7 @@ def copy_kernel_to_vm_directory(vm_directory):
def boot_with_qemu(vm_directory):
command = f"cd {QEMU_VMS_PATH}/{str(vm_directory)}"
command = f"cd {str(vm_directory)}"
command += " && " + """qemu-system-x86_64 \
-kernel bzImage \
-append "root=/dev/sda rw biosdevname=0 net.ifnames=0 console=tty0 console=ttyS0,115200 earlyprintk=ttyS0,115200 consoleblank=0" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment