Re: [PATCH v7 07/18] virt: acrn: Introduce an ioctl to set vCPU registers state

2021-01-10 Thread Shuo A Liu
On Fri 8.Jan'21 at 16:33:22 +0100, Greg Kroah-Hartman wrote: On Wed, Jan 06, 2021 at 03:50:44PM +0800, shuo.a@intel.com wrote: From: Shuo Liu A virtual CPU of User VM has different context due to the different registers state. ACRN userspace needs to set the virtual CPU registers state (e

Re: [PATCH v7 07/18] virt: acrn: Introduce an ioctl to set vCPU registers state

2021-01-08 Thread Greg Kroah-Hartman
On Wed, Jan 06, 2021 at 03:50:44PM +0800, shuo.a@intel.com wrote: > From: Shuo Liu > > A virtual CPU of User VM has different context due to the different > registers state. ACRN userspace needs to set the virtual CPU > registers state (e.g. giving a initial registers state to a virtual > BSP

[PATCH v7 07/18] virt: acrn: Introduce an ioctl to set vCPU registers state

2021-01-05 Thread shuo . a . liu
From: Shuo Liu A virtual CPU of User VM has different context due to the different registers state. ACRN userspace needs to set the virtual CPU registers state (e.g. giving a initial registers state to a virtual BSP of a User VM). HSM provides an ioctl ACRN_IOCTL_SET_VCPU_REGS to do the virtual