How does QEMU exactly emulate a kernel? Because a kernel needs a bootloader, but if I run
qemu-system-x86_64 -kernel kern.bin
it emulates a kernel without a bootloader. If it does use a bootloader, which one does it use?
I need to know this because I am working on a simple kernel, and I do not want to write a bootloader myself, because I don't know how to make a bootloader, is it possible to use GRUB on a USB, and will it be able to boot my kernel?