Created
January 20, 2022 03:28
-
-
Save soleen/f4be4795826b7ab1a51ae659582e179c to your computer and use it in GitHub Desktop.
page table check panic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
PARAM="root=/dev/sda console=ttyS0 page_table_check=on" | |
qemu-system-x86_64 -smp 1 -m 1G -enable-kvm -cpu host \ | |
-net user,host=10.0.2.10,hostfwd=tcp::10022-:22 \ | |
-net nic,model=virtio-net-pci \ | |
-kernel arch/x86/boot/bzImage -nographic \ | |
-device virtio-scsi-pci,id=scsi \ | |
-device scsi-hd,bus=scsi.0,drive=d0 \ | |
-drive file=work/wheezy.img,format=raw,if=none,id=d0 \ | |
-append "$PARAM" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment