kvm: introduced callbacks