Patches to KVM startup pre-script.