Skip to content

Commit

Permalink
Do not use KVM when debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
cpey committed Jun 15, 2022
1 parent d4ad026 commit 4bdcee2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/start-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ if (( $DEBUG )); then
if (( $WAIT_DEBUG )); then
CMD_LINE+=" kgdbwait"
fi
else
KVM_OPTS="-enable-kvm"
fi
echo Booting $KERNEL_BUILD
qemu-system-x86_64 \
Expand All @@ -94,7 +96,6 @@ qemu-system-x86_64 \
-kernel $KERNEL_BUILD \
-m $RAM \
-cpu $CPU \
-enable-kvm \
-drive file=$rootfs,index=0,media=disk,format=raw \
-append "$CMD_LINE -device vhost-vsock-pci,guest-cid=" \
-nographic \
Expand Down

0 comments on commit 4bdcee2

Please sign in to comment.