MyKvm

Usage

my-kvm [OPTIONS] bzImage [KERNEL_COMMAND_LINE]

Options

  • -h: Display usage message
  • --initrd PATH_TO_INITRD: Initial ram disk image
  • -m: RAM size

Examples

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

Tests

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"

AUTHORS

EPITA - GISTRE 2020