docs/linux: fix example qemu command

This commit is contained in:
Matt Morehouse 2020-06-04 00:37:15 +00:00 committed by Andrey Konovalov
parent a5ce5de0ae
commit b0d1c0d578
2 changed files with 3 additions and 2 deletions

View File

@ -21,6 +21,7 @@ Google Inc.
Michael A. Specter Michael A. Specter
Jann Horn Jann Horn
Andy Nguyen Andy Nguyen
Matt Morehouse
Baozeng Ding Baozeng Ding
Lorenzo Stoakes Lorenzo Stoakes
Jeremy Huang Jeremy Huang

View File

@ -127,8 +127,8 @@ qemu-system-x86_64 \
-smp 2 \ -smp 2 \
-kernel $KERNEL/arch/x86/boot/bzImage \ -kernel $KERNEL/arch/x86/boot/bzImage \
-append "console=ttyS0 root=/dev/sda earlyprintk=serial"\ -append "console=ttyS0 root=/dev/sda earlyprintk=serial"\
-drive file=$IMAGE/stretch.img,format=raw -drive file=$IMAGE/stretch.img,format=raw \
-net -net user,host=10.0.2.10,hostfwd=tcp:127.0.0.1:10021-:22 \ -net user,host=10.0.2.10,hostfwd=tcp:127.0.0.1:10021-:22 \
-net nic,model=e1000 \ -net nic,model=e1000 \
-enable-kvm \ -enable-kvm \
-nographic \ -nographic \