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

more customized qemu options #43

Open
Lerr1uqs opened this issue Jul 20, 2024 · 0 comments
Open

more customized qemu options #43

Lerr1uqs opened this issue Jul 20, 2024 · 0 comments

Comments

@Lerr1uqs
Copy link
Collaborator

[*] NOTE : run qemu now [Y/n] Y
qemu-system-x86_64: -net user: network backend 'user' is not compiled into this binary

    def make_run_script(self) -> Type["Krunner"]:
        '''example
        qemu-system-x86_64 \
            -m 256M \
            -kernel ./bzImage \
            -initrd ./initrd.modified.cpio \
            -append "console=ttyS0 oops=panic panic=1 quiet nokaslr" \
            -no-reboot \
            -smp cores=2,threads=2 \
            -cpu kvm64,+smep,+smap \
            -monitor /dev/null \
            -nographic \
            -net nic,model=virtio \
            -net user \
            -device e1000 \
            -s
        '''
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