[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/5] xen/vm_event: Added support for XSETBV events

>>> On 08.05.15 at 08:18, <rcojocaru@xxxxxxxxxxxxxxx> wrote:
> On 05/07/2015 09:03 PM, Andrew Cooper wrote:
>> In an effort to be architecture neutral, it might be an idea to have
>> something like
>> struct vm_event_write_cr {
>>     uint64_t index;
>>     uint64_t old_val, new_val;
>> };
>> And have a per-arch index of control registers, such as
>> X86_CR0
>> X86_CR3
>> X86_CR4
>> X86_XCR0
>> ...
>> ARM32_$foo
>> (See also my reply to Tim on this thread)
> Sure, if everyone thinks this is the way forward, I can submit a patch
> for that as well

I would welcome this (and had tried to hint in this direction already
in past patch reviews).

> (would you prefer it within, or outside the series?).

Afaic either way is fine.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.