Re: [PATCH v5 06/17] virt: acrn: Introduce VM management interfaces

2020-11-05 Thread Greg Kroah-Hartman
On Thu, Nov 05, 2020 at 08:48:22PM +0800, Shuo A Liu wrote: > > > > > Though i can > > > > > keep some reserved fields for alignment (and to keep same data > > > > > structure > > > > > layout with the hypervisor), right? > > > > > Documentation/driver-api/ioctl.rst says that explicit reserved fie

Re: [PATCH v5 06/17] virt: acrn: Introduce VM management interfaces

2020-11-05 Thread Shuo A Liu
On Thu 5.Nov'20 at 10:16:45 +0100, Greg Kroah-Hartman wrote: On Thu, Nov 05, 2020 at 05:02:00PM +0800, Shuo A Liu wrote: On Thu 5.Nov'20 at 9:26:39 +0100, Greg Kroah-Hartman wrote: > On Thu, Nov 05, 2020 at 03:35:45PM +0800, Shuo A Liu wrote: > > On Thu 5.Nov'20 at 7:29:07 +0100, Greg Kroah

Re: [PATCH v5 06/17] virt: acrn: Introduce VM management interfaces

2020-11-05 Thread Greg Kroah-Hartman
On Thu, Nov 05, 2020 at 05:02:00PM +0800, Shuo A Liu wrote: > On Thu 5.Nov'20 at 9:26:39 +0100, Greg Kroah-Hartman wrote: > > On Thu, Nov 05, 2020 at 03:35:45PM +0800, Shuo A Liu wrote: > > > On Thu 5.Nov'20 at 7:29:07 +0100, Greg Kroah-Hartman wrote: > > > > On Thu, Nov 05, 2020 at 11:10:29AM

Re: [PATCH v5 06/17] virt: acrn: Introduce VM management interfaces

2020-11-05 Thread Shuo A Liu
On Thu 5.Nov'20 at 9:26:39 +0100, Greg Kroah-Hartman wrote: On Thu, Nov 05, 2020 at 03:35:45PM +0800, Shuo A Liu wrote: On Thu 5.Nov'20 at 7:29:07 +0100, Greg Kroah-Hartman wrote: > On Thu, Nov 05, 2020 at 11:10:29AM +0800, Shuo A Liu wrote: > > On Wed 4.Nov'20 at 20:02:35 +0100, Greg Kroah

Re: [PATCH v5 06/17] virt: acrn: Introduce VM management interfaces

2020-11-05 Thread Greg Kroah-Hartman
On Thu, Nov 05, 2020 at 03:35:45PM +0800, Shuo A Liu wrote: > On Thu 5.Nov'20 at 7:29:07 +0100, Greg Kroah-Hartman wrote: > > On Thu, Nov 05, 2020 at 11:10:29AM +0800, Shuo A Liu wrote: > > > On Wed 4.Nov'20 at 20:02:35 +0100, Greg Kroah-Hartman wrote: > > > > On Mon, Oct 19, 2020 at 02:17:52PM

Re: [PATCH v5 06/17] virt: acrn: Introduce VM management interfaces

2020-11-04 Thread Shuo A Liu
On Thu 5.Nov'20 at 7:29:07 +0100, Greg Kroah-Hartman wrote: On Thu, Nov 05, 2020 at 11:10:29AM +0800, Shuo A Liu wrote: On Wed 4.Nov'20 at 20:02:35 +0100, Greg Kroah-Hartman wrote: > On Mon, Oct 19, 2020 at 02:17:52PM +0800, shuo.a@intel.com wrote: > > --- /dev/null > > +++ b/include/uapi

Re: [PATCH v5 06/17] virt: acrn: Introduce VM management interfaces

2020-11-04 Thread Greg Kroah-Hartman
On Thu, Nov 05, 2020 at 11:10:29AM +0800, Shuo A Liu wrote: > On Wed 4.Nov'20 at 20:02:35 +0100, Greg Kroah-Hartman wrote: > > On Mon, Oct 19, 2020 at 02:17:52PM +0800, shuo.a@intel.com wrote: > > > --- /dev/null > > > +++ b/include/uapi/linux/acrn.h > > > @@ -0,0 +1,56 @@ > > > +/* SPDX-Licen

Re: [PATCH v5 06/17] virt: acrn: Introduce VM management interfaces

2020-11-04 Thread Shuo A Liu
On Wed 4.Nov'20 at 20:02:35 +0100, Greg Kroah-Hartman wrote: On Mon, Oct 19, 2020 at 02:17:52PM +0800, shuo.a@intel.com wrote: --- /dev/null +++ b/include/uapi/linux/acrn.h @@ -0,0 +1,56 @@ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Userspace interface for /dev/

Re: [PATCH v5 06/17] virt: acrn: Introduce VM management interfaces

2020-11-04 Thread Greg Kroah-Hartman
On Mon, Oct 19, 2020 at 02:17:52PM +0800, shuo.a@intel.com wrote: > --- /dev/null > +++ b/include/uapi/linux/acrn.h > @@ -0,0 +1,56 @@ > +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ > +/* > + * Userspace interface for /dev/acrn_hsm - ACRN Hypervisor Service Module > + * > + *

[PATCH v5 06/17] virt: acrn: Introduce VM management interfaces

2020-10-18 Thread shuo . a . liu
From: Shuo Liu The VM management interfaces expose several VM operations to ACRN userspace via ioctls. For example, creating VM, starting VM, destroying VM and so on. The ACRN Hypervisor needs to exchange data with the ACRN userspace during the VM operations. HSM provides VM operation ioctls to