my-kvm [OPTIONS] bzImage [KERNEL_COMMAND_LINE]
- -h: Display usage message
- --initrd PATH_TO_INITRD: Initial ram disk image
- -m: RAM size
my-kvm bzImage
my-kvm -h
my-kvm bzImage root=/dev/vda
my-kvm --initrd initramfs bzImage root=/dev/vda
my-kvm -m $ram --initrd initramfs bzImage console=ttyS0
You can test this project with the given bzImage and initramfs.img with:
./my-kvm --initrd test/initramfs.img test/bzImage "root=/dev/ram0 console=ttyS0"
- Benoît Gloria benoit.gloria@epita.fr
- Laurent Zhu laurent.zhu@epita.fr
EPITA - GISTRE 2020