kvm: fixed compiler warnings