Re: [Xen-devel] [PATCH v4 3/7] x86/hyperv: provide Hyper-V hypercall functions

2020-01-30 Thread Wei Liu
On Thu, Jan 30, 2020 at 09:12:14AM +0100, Jan Beulich wrote: > On 29.01.2020 19:37, Wei Liu wrote: > > On Thu, Jan 23, 2020 at 12:28:00PM +0100, Jan Beulich wrote: > >> On 22.01.2020 21:23, Wei Liu wrote: > >>> --- /dev/null > >>> +++ b/xen/include/asm-x86/guest/hyperv-hcall.h > >>> @@ -0,0 +1,98 @

Re: [Xen-devel] [PATCH v4 3/7] x86/hyperv: provide Hyper-V hypercall functions

2020-01-30 Thread Jan Beulich
On 29.01.2020 19:37, Wei Liu wrote: > On Thu, Jan 23, 2020 at 12:28:00PM +0100, Jan Beulich wrote: >> On 22.01.2020 21:23, Wei Liu wrote: >>> --- /dev/null >>> +++ b/xen/include/asm-x86/guest/hyperv-hcall.h >>> @@ -0,0 +1,98 @@ >>> +/*

Re: [Xen-devel] [PATCH v4 3/7] x86/hyperv: provide Hyper-V hypercall functions

2020-01-29 Thread Wei Liu
On Thu, Jan 23, 2020 at 12:28:00PM +0100, Jan Beulich wrote: > On 22.01.2020 21:23, Wei Liu wrote: > > --- /dev/null > > +++ b/xen/include/asm-x86/guest/hyperv-hcall.h > > @@ -0,0 +1,98 @@ > > +/** > > + * asm-x86/guest/hyp

Re: [Xen-devel] [PATCH v4 3/7] x86/hyperv: provide Hyper-V hypercall functions

2020-01-29 Thread Wei Liu
On Thu, Jan 23, 2020 at 11:13:10AM +0100, Jan Beulich wrote: > On 22.01.2020 22:57, Andrew Cooper wrote: > > On 22/01/2020 20:23, Wei Liu wrote: > >> These functions will be used later to make hypercalls to Hyper-V. > >> > >> Signed-off-by: Wei Liu > > > > After some experimentation, > > > > dif

Re: [Xen-devel] [PATCH v4 3/7] x86/hyperv: provide Hyper-V hypercall functions

2020-01-23 Thread Jan Beulich
On 22.01.2020 21:23, Wei Liu wrote: > --- /dev/null > +++ b/xen/include/asm-x86/guest/hyperv-hcall.h > @@ -0,0 +1,98 @@ > +/** > + * asm-x86/guest/hyperv-hcall.h > + * > + * This program is free software; you can redistribu

Re: [Xen-devel] [PATCH v4 3/7] x86/hyperv: provide Hyper-V hypercall functions

2020-01-23 Thread Jan Beulich
On 22.01.2020 22:57, Andrew Cooper wrote: > On 22/01/2020 20:23, Wei Liu wrote: >> These functions will be used later to make hypercalls to Hyper-V. >> >> Signed-off-by: Wei Liu > > After some experimentation, > > diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S > index cbc5701214..3

Re: [Xen-devel] [PATCH v4 3/7] x86/hyperv: provide Hyper-V hypercall functions

2020-01-22 Thread Andrew Cooper
On 22/01/2020 20:23, Wei Liu wrote: > These functions will be used later to make hypercalls to Hyper-V. > > Signed-off-by: Wei Liu After some experimentation, diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S index cbc5701214..3708a60b5c 100644 --- a/xen/arch/x86/xen.lds.S +++ b/xen/a

[Xen-devel] [PATCH v4 3/7] x86/hyperv: provide Hyper-V hypercall functions

2020-01-22 Thread Wei Liu
These functions will be used later to make hypercalls to Hyper-V. Signed-off-by: Wei Liu --- v4: 1. Adjust code due to previous patch has changed 2. Address comments --- xen/include/asm-x86/guest/hyperv-hcall.h | 98 1 file changed, 98 insertions(+) create mode 100644 x