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

Re: [Xen-devel] [PATCH V3] x86/hvm: fix domain crash when CR3 has the noflush bit set



>>> On 08.02.18 at 09:51, <rcojocaru@xxxxxxxxxxxxxxx> wrote:
> On 02/07/2018 07:42 PM, Razvan Cojocaru wrote:
>> On 02/07/2018 07:01 PM, Jan Beulich wrote:
>>>> --- a/xen/include/asm-x86/hvm/hvm.h
>>>> +++ b/xen/include/asm-x86/hvm/hvm.h
>>>> @@ -34,6 +34,9 @@ extern bool_t opt_hvm_fep;
>>>>  #define opt_hvm_fep 0
>>>>  #endif
>>>>  
>>>> +#define X86_CR3_NOFLUSH (1ull << 63)
>>>
>>> This belongs in x86-defs.h
> 
> Sorry, do you mean xen/arch/x86/boot/defs.h? Or that I should add a new
> header for this?
> 
> 'find . -name x86-defs.h' comes up empty-handed.

Oh, sorry - xen/include/asm-x86/x86-defns.h (you could simply
have looked for where the CR0 and CR4 definitions all live).

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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