Re: [PATCH v3 6/6] KVM: introduce readonly memslot

From: Avi Kivity
Date: Mon Jun 18 2012 - 05:50:24 EST


On 06/16/2012 05:11 AM, Marcelo Tosatti wrote:
>
> Can you introduce a separate exit reason, say KVM_EXIT_READ_FAULT, with
> information about the fault?

I think you mean WRITE_FAULT. But what's wrong with the normal mmio exit?

>
> Then perform this exit only if userspace allows it by explicit enable,
> and by default have the exit_read_fault handler jump to the mmio
> handler.


I don't get this.


--
error compiling committee.c: too many arguments to function


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/