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

Re: [Xen-devel] [PATCH 1/2] x86/vmx: Introduce a bitfield structure for EPT_VIOLATION EXIT_QUALIFICATIONs


  • To: Jan Beulich <JBeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Wed, 8 Feb 2017 07:06:09 +0000
  • Accept-language: en-US
  • Cc: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 08 Feb 2017 07:06:22 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: AQHSexmIQyJd7IuPtkidg5fkUvdp2qFR2qCAgAAFygCAAASDgIAM1/uw
  • Thread-topic: [PATCH 1/2] x86/vmx: Introduce a bitfield structure for EPT_VIOLATION EXIT_QUALIFICATIONs

> From: Jan Beulich [mailto:JBeulich@xxxxxxxx]
> Sent: Tuesday, January 31, 2017 6:56 PM
> 
> >>> On 31.01.17 at 11:39, <andrew.cooper3@xxxxxxxxxx> wrote:
> > On 31/01/17 10:19, Jan Beulich wrote:
> >>>>> On 30.01.17 at 17:54, <andrew.cooper3@xxxxxxxxxx> wrote:
> >>> This results in rather more readable code.  No functional change.
> >>>
> >>> All fields currently specified are included, but commented out as no 
> >>> support
> >>> for their use is present.
> >> I'd rather not see them be commented out: Why should the first user
> >> of them have to touch the structure declaration another time?
> >
> > I purposefully don't want someone to think they can use .eff_user_exec
> > before doing the work to enable the feature (which amongst other things
> > will involve shuffling the position of bits in an ept_entry_t as the
> > hardware user exec bit is currently where Xen's .recalc bit currently
> > lives).
> 
> For this bit I understand the reasoning. I don't think the same applies
> to bits 9..12 though.
> 

I'm with Jan on this front. Could you resend the patch with comment
only applying to above bit?

Thanks
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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