I want to use QEMU
to debug my compiled kernel linux-4.13.4
on Ubuntu 16.04.3 LTS
I follow the following steps:
1 install qemu
sudo apt-get install qemu
2 run qemu
qemu-system-x86_64 -s -S -kernel /home/wxf/kernelSources/linux-4.13.4/arch/x86_64/boot/bzImage -initrd /boot/initrd.img-4.13.4
Note:
-s shorthand for -gdb tcp::1234
-S freeze CPU at startup (use 'c' to start execution)
But I get the following warning:
warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5]
The terminal stops there and I cannot input other commands.
The QEMU window pops up when I run it but it is stopped.
So, my question is
How to eliminate the warning and is it normal(since it is not an error information)?