Re: [PATCH v6 4/4] x86/acrn: Add hypercall for ACRN guest

2019-05-27 Thread Zhao, Yakui
On 2019年05月28日 06:46, Borislav Petkov wrote: On Mon, May 27, 2019 at 10:57:09AM +0800, Zhao, Yakui wrote: I refer to the Xen/KVM hypercall to add the ACRN hypercall in one separate header. And? The ACRN hypercall is defined in one separate acrn_hypercall.h and can be included explicitly b

Re: [PATCH v6 4/4] x86/acrn: Add hypercall for ACRN guest

2019-05-27 Thread Borislav Petkov
On Mon, May 27, 2019 at 10:57:09AM +0800, Zhao, Yakui wrote: > I refer to the Xen/KVM hypercall to add the ACRN hypercall in one separate > header. And? > The ACRN hypercall is defined in one separate acrn_hypercall.h and can be > included explicitly by the *.c that needs the hypercall. Sure but

Re: [PATCH v6 4/4] x86/acrn: Add hypercall for ACRN guest

2019-05-26 Thread Zhao, Yakui
On 2019年05月15日 15:37, Borislav Petkov wrote: On Tue, Apr 30, 2019 at 11:45:26AM +0800, Zhao Yakui wrote: When the ACRN hypervisor is detected, the hypercall is needed so that the ACRN guest can query/config some settings. For example: it can be used to query the resources in hypervisor and ma

Re: [PATCH v6 4/4] x86/acrn: Add hypercall for ACRN guest

2019-05-15 Thread Borislav Petkov
On Tue, Apr 30, 2019 at 11:45:26AM +0800, Zhao Yakui wrote: > When the ACRN hypervisor is detected, the hypercall is needed so that the > ACRN guest can query/config some settings. For example: it can be used > to query the resources in hypervisor and manage the CPU/memory/device/ > interrupt for g