Update functions

- explicitly set vm_mode=kvm for kvm
  (don't rely on kvm being default)