On 08/03/2016 09:19, Shuai Ruan wrote: > > Using read msr as an example, if the msr is not handled in kvm(not > recognised by kvm) and ignore_msrs clear, kvm will inject gp into > guest os(if I understand this correctly). > > My question is what problem will cause(or in which situation will cause > problem) if read msr (unhandled msr) just return 0 instead of injdecting > gp fault into guest os? > The same question with write msr, if just ignore this write , what will > happen? It depends on the MSR and on the guest OS. Usually 0 is treated as an error or as "feature not present" so it just works. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html