Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make append to user costom #38

Open
Squirre17 opened this issue Jun 20, 2023 · 1 comment
Open

make append to user costom #38

Squirre17 opened this issue Jun 20, 2023 · 1 comment

Comments

@Squirre17
Copy link
Owner

        self.cmd = '''qemu-system-x86_64
            -m 128M
            -kernel {bzimage_path}
            -initrd {modified_initrd_path}
            -append "root=/dev/ram rdinit=/sbin/init console=ttyS0 loglevel=3 oops=panic noquiet panic=-1 {kaslr} {kpti}"
            -no-reboot
            -cpu qemu64{cpu_protect}
            -smp {ct_num}
            -nographic
            -net nic,model=virtio
            -net user
            -s'''.format(
                bzimage_path          = config.bziamge_path,
                modified_initrd_path  = config.modified_initrd_path,
                cpu_protect           = cpu_protect,
                ct_num                = ct_num,
                kaslr                 = kaslr,
                kpti                  = kpti
        )
@Squirre17
Copy link
Owner Author

rdinit=/sbin/init root=/dev/ram

Repository owner deleted a comment from rafly2103 Feb 15, 2024
Repository owner deleted a comment from smcgive Feb 23, 2024
Repository owner deleted a comment from dwcooper Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant