[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 1/2] x86/mem_event: Deliver gla fault EPT violation information
On Fri, Aug 8, 2014 at 10:04 AM, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote:
I actually disagree here because there is still a slight difference between the Intel and AMD implementation. In Intel's case gla_fault is only available iff gla_valid is set. AMD doesn't have gla_valid. So in the abstracted code, having gla_fault 0 could mean potentially different things. That's certainly not good for abstraction. The AMD side could set gla_valid = 1 if either if their two-bits that we will aggregate into gla_fault is set, but without actually providing a gla.. and that could lead to its own set of problems. So if we want to keep the bit aggregated in gla_fault, we would need a bool_t gla_fault_valid.... which is just going back to square one of having two bool_t fields as this patch does already. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |