Re: [PATCH v4 17/17] virt: acrn: Introduce an interface for Service VM to control vCPU

2020-09-28 Thread Shuo A Liu
On Mon 28.Sep'20 at 7:23:05 +0200, Greg Kroah-Hartman wrote: On Mon, Sep 28, 2020 at 12:10:07PM +0800, Shuo A Liu wrote: > You just raced with userspace and lost. If you want to add attribute > files to a device, use the default attribute group list, and it will be > managed properly for you

Re: [PATCH v4 17/17] virt: acrn: Introduce an interface for Service VM to control vCPU

2020-09-27 Thread Greg Kroah-Hartman
On Mon, Sep 28, 2020 at 12:10:07PM +0800, Shuo A Liu wrote: > > You just raced with userspace and lost. If you want to add attribute > > files to a device, use the default attribute group list, and it will be > > managed properly for you by the driver core. > > > > Huge hint, if a driver every

Re: [PATCH v4 17/17] virt: acrn: Introduce an interface for Service VM to control vCPU

2020-09-27 Thread Shuo A Liu
Hi Greg, On Sun 27.Sep'20 at 12:44:14 +0200, Greg Kroah-Hartman wrote: On Tue, Sep 22, 2020 at 07:43:11PM +0800, shuo.a@intel.com wrote: From: Shuo Liu ACRN supports partition mode to achieve real-time requirements. In partition mode, a CPU core can be dedicated to a vCPU of User VM. The

Re: [PATCH v4 17/17] virt: acrn: Introduce an interface for Service VM to control vCPU

2020-09-27 Thread Greg Kroah-Hartman
On Tue, Sep 22, 2020 at 07:43:11PM +0800, shuo.a@intel.com wrote: > From: Shuo Liu > > ACRN supports partition mode to achieve real-time requirements. In > partition mode, a CPU core can be dedicated to a vCPU of User VM. The > local APIC of the dedicated CPU core can be passthrough to the

[PATCH v4 17/17] virt: acrn: Introduce an interface for Service VM to control vCPU

2020-09-22 Thread shuo . a . liu
From: Shuo Liu ACRN supports partition mode to achieve real-time requirements. In partition mode, a CPU core can be dedicated to a vCPU of User VM. The local APIC of the dedicated CPU core can be passthrough to the User VM. The Service VM controls the assignment of the CPU cores. Introduce an