Re: [Xen-devel] [PATCH v3] hvm/svm: Implement Debug events

2018-03-21 Thread Jan Beulich
>>> On 21.03.18 at 17:00, wrote: > On Mi, 2018-03-21 at 08:57 -0600, Jan Beulich wrote: >> > >> > > >> > > > >> > > > On 21.03.18 at 15:47, wrote: >> > --- a/xen/include/asm-x86/hvm/hvm.h >> > +++ b/xen/include/asm-x86/hvm/hvm.h >> > @@ -209,6 +209,8 @@ struct hvm_function_table { >> >

Re: [Xen-devel] [PATCH v3] hvm/svm: Implement Debug events

2018-03-21 Thread Alexandru Stefan ISAILA
On Mi, 2018-03-21 at 08:57 -0600, Jan Beulich wrote: > > > > > > > > > > > > > On 21.03.18 at 15:47, wrote: > > --- a/xen/include/asm-x86/hvm/hvm.h > > +++ b/xen/include/asm-x86/hvm/hvm.h > > @@ -209,6 +209,8 @@ struct hvm_function_table { > > bool_t access_w, bool

Re: [Xen-devel] [PATCH v3] hvm/svm: Implement Debug events

2018-03-21 Thread Alexandru Stefan ISAILA
On Mi, 2018-03-21 at 08:57 -0600, Jan Beulich wrote: > > > > > > > > > > > > > On 21.03.18 at 15:47, wrote: > > --- a/xen/include/asm-x86/hvm/hvm.h > > +++ b/xen/include/asm-x86/hvm/hvm.h > > @@ -209,6 +209,8 @@ struct hvm_function_table { > > bool_t access_w, bool

Re: [Xen-devel] [PATCH v3] hvm/svm: Implement Debug events

2018-03-21 Thread Andrew Cooper
On 21/03/18 14:47, Alexandru Isaila wrote: > diff --git a/xen/include/asm-x86/hvm/hvm.h b/xen/include/asm-x86/hvm/hvm.h > index 2376ed6..8d8c325 100644 > --- a/xen/include/asm-x86/hvm/hvm.h > +++ b/xen/include/asm-x86/hvm/hvm.h > @@ -209,6 +209,8 @@ struct hvm_function_table { >

Re: [Xen-devel] [PATCH v3] hvm/svm: Implement Debug events

2018-03-21 Thread Jan Beulich
>>> On 21.03.18 at 15:47, wrote: > --- a/xen/include/asm-x86/hvm/hvm.h > +++ b/xen/include/asm-x86/hvm/hvm.h > @@ -209,6 +209,8 @@ struct hvm_function_table { > bool_t access_w, bool_t access_x); > > void (*enable_msr_interception)(struct domain *d, uint32_t

[Xen-devel] [PATCH v3] hvm/svm: Implement Debug events

2018-03-21 Thread Alexandru Isaila
At this moment the Debug events for the AMD architecture are not forwarded to the monitor layer. This patch adds the Debug event to the common capabilities, adds the VMEXIT_ICEBP then forwards the event to the monitor layer. Chapter 2: SVM Processor and Platform Extensions: "Note: A vector 1 exce