Guess kernel version
The kernel used for a new VM is currently hard coded into the create_vm_conf function. Guess the kernel to use by trying to get the name of the last modified appropriate kernel.
How
By using ls -t for sorting the kernels by modification time.