[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YSarcddFb5wNQ+LK@kroah.com>
Date: Wed, 25 Aug 2021 22:43:29 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Fei Li <fei1.li@...el.com>
Cc: linux-kernel@...r.kernel.org, yu1.wang@...el.com,
shuox.liu@...il.com
Subject: Re: [PATCH v2 1/3] virt: acrn: Introduce interfaces for MMIO device
passthrough
On Wed, Aug 25, 2021 at 05:01:40PM +0800, Fei Li wrote:
> From: Shuo Liu <shuo.a.liu@...el.com>
>
> MMIO device passthrough enables an OS in a virtual machine to directly
> access a MMIO device in the host. It promises almost the native
> performance, which is required in performance-critical scenarios of
> ACRN.
>
> HSM provides the following ioctls:
> - Assign - ACRN_IOCTL_ASSIGN_MMIODEV
> Pass data struct acrn_mmiodev from userspace to the hypervisor, and
> inform the hypervisor to assign a MMIO device to a User VM.
>
> - De-assign - ACRN_IOCTL_DEASSIGN_PCIDEV
> Pass data struct acrn_mmiodev from userspace to the hypervisor, and
> inform the hypervisor to de-assign a MMIO device from a User VM.
>
> Signed-off-by: Shuo Liu <shuo.a.liu@...el.com>
> Signed-off-by: Fei Li <fei1.li@...el.com>
Where is the userspace code that uses this new api?
thanks,
greg k-h
Powered by blists - more mailing lists