fix kvm sharing mode