Thanks Paolo! That makes sense, KVM has to inject the #UD in order for the guest to deliver the exception in the guest user space. On Wed, May 7, 2014 at 1:55 AM, Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > Il 06/05/2014 22:11, Alexandru Duţu ha scritto: > >> What is puzzling thought is the fact that even if there is an >> instruction that can't be emulated by KVM, re-entering virtualized >> mode is still attempted. Re-entering will produce a double fault, > > > That would be a bug. It should inject the #UD into the guest. > > Paolo -- Alex -- 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