On 04/29/2010 02:58 PM, Gleb Natapov wrote:
Do not kill VM If instruction emulation fails while vcpu is in userspace. Inject #UD instead in a hope that guest OS will kill offending process. Emulation failure is still traced by ftrace point to help analyze the problem.
Still there's the risk here that a critical failure goes unnoticed. ftrace isn't on at all times.
We can probably inject a #UD unconditionally and exit to userspace. Userspace would then report the problem to the user and reenter the guest, which would then recover or not.
-- error compiling committee.c: too many arguments to function -- 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