I have build a custom kernel and now I want to run this custom kernel on the virtual machine.
What is the way to do so?
I can see that it looks for
.iso file. However, the generated file is
.deb file for the kernel I have built.
Install Debian on your virtual machine. Then transfer your deb file and install it. Hopefully the deb package will manage the bootloader entries. Reboot and pick your kernel version in the boot menu.