Implement metrics support for KVM