LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Fei Li <fei1.li@intel.com>
Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org,
	yu1.wang@intel.com, shuox.liu@gmail.com
Subject: Re: [PATCH 2/3] virt: acrn: Introduce interfaces for virtual device creating/destroying
Date: Sat, 21 Aug 2021 13:49:26 +0200	[thread overview]
Message-ID: <YSDoRlr7xBy60eNa@kroah.com> (raw)
In-Reply-To: <20210820060306.10682-3-fei1.li@intel.com>

On Fri, Aug 20, 2021 at 02:03:05PM +0800, Fei Li wrote:
> From: Shuo Liu <shuo.a.liu@intel.com>
> 
> The ACRN hypervisor can emulate a virtual device within hypervisor for a
> Guest VM. The emulated virtual device can work without the ACRN
> userspace after creation. The hypervisor do the emulation of that device.
> 
> To support the virtual device creating/destroying, HSM provides the
> following ioctls:
>   - ACRN_IOCTL_CREATE_VDEV
>     Pass data struct acrn_vdev from userspace to the hypervisor, and inform
>     the hypervisor to create a virtual device for a User VM.
>   - ACRN_IOCTL_DESTROY_VDEV
>     Pass data struct acrn_vdev from userspace to the hypervisor, and inform
>     the hypervisor to destroy a virtual device of a User VM.
> 
> Signed-off-by: Shuo Liu <shuo.a.liu@intel.com>
> Signed-off-by: Fei Li <fei1.li@intel.com>
> ---
>  drivers/virt/acrn/hsm.c       | 24 ++++++++++++++++++++
>  drivers/virt/acrn/hypercall.h | 26 ++++++++++++++++++++++
>  include/uapi/linux/acrn.h     | 42 +++++++++++++++++++++++++++++++++++
>  3 files changed, 92 insertions(+)
> 


<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>

  reply	other threads:[~2021-08-21 11:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-20  6:03 [PATCH 0/3] Introduce some interfaces for ACRN hypervisor HSM Fei Li
2021-08-20  6:03 ` [PATCH 1/3] virt: acrn: Introduce interfaces for MMIO device passthrough Fei Li
2021-08-21 11:49   ` Greg KH
2021-08-20  6:03 ` [PATCH 2/3] virt: acrn: Introduce interfaces for virtual device creating/destroying Fei Li
2021-08-21 11:49   ` Greg KH [this message]
2021-08-20  6:03 ` [PATCH 3/3] virt: acrn: Introduce interface to fetch platform info from the hypervisor Fei Li
2021-08-21 11:49   ` Greg KH
2021-08-21 11:49 ` [PATCH 0/3] Introduce some interfaces for ACRN hypervisor HSM Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YSDoRlr7xBy60eNa@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=fei1.li@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shuox.liu@gmail.com \
    --cc=stable@vger.kernel.org \
    --cc=yu1.wang@intel.com \
    --subject='Re: [PATCH 2/3] virt: acrn: Introduce interfaces for virtual device creating/destroying' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).