From: Fei Li <fei1.li@intel.com>
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, yu1.wang@intel.com,
shuox.liu@gmail.com, fei1.li@intel.com
Subject: [RFC PATCH v3 0/2] Introduce some interfaces for ACRN hypervisor HSM driver
Date: Tue, 14 Sep 2021 14:01:39 +0800 [thread overview]
Message-ID: <20210914060141.16187-1-fei1.li@intel.com> (raw)
Add some new interfaces for ACRN hypervisor HSM driver:
- MMIO device passthrough
- virtual device creating/destroying
- platform information fetching from the hypervisor
ChangeLog:
v3:
- remove "platform information fetching from the hypervisor". What platform
information needs to be fetched has not been finally decided. Will send tis
patch out once that has been decided.
- add comments where is the userspace code that uses this new api:
- MMIO device passthrough
(a) assign a MMIO device to a User VM
https://github.com/projectacrn/acrn-hypervisor/blob/master/devicemodel/core/vmmapi.c#L562
(b) de-assign a MMIO device from a User VM
https://github.com/projectacrn/acrn-hypervisor/blob/master/devicemodel/core/vmmapi.c#L568
- virtual device creating/destroying
(a) create a virtual device for a User VM
https://github.com/projectacrn/acrn-hypervisor/blob/master/devicemodel/core/vmmapi.c#L606
(b) destroy a virtual device of a User VM
https://github.com/projectacrn/acrn-hypervisor/blob/master/devicemodel/core/vmmapi.c#L612
v2:
- remove "stable@vger.kernel.org" in the cc list since this patch set
doesn't fix any anything, it's not for Linux -stable releases.
Shuo Liu (2):
virt: acrn: Introduce interfaces for MMIO device passthrough
virt: acrn: Introduce interfaces for virtual device
creating/destroying
drivers/virt/acrn/hsm.c | 49 ++++++++++++++++++++++++
drivers/virt/acrn/hypercall.h | 52 ++++++++++++++++++++++++++
include/uapi/linux/acrn.h | 70 +++++++++++++++++++++++++++++++++++
3 files changed, 171 insertions(+)
base-commit: 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
--
2.17.1
next reply other threads:[~2021-09-14 6:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-14 6:01 Fei Li [this message]
2021-09-14 6:01 ` [RFC PATCH v3 1/2] virt: acrn: Introduce interfaces for MMIO device passthrough Fei Li
2021-09-14 6:01 ` [RFC PATCH v3 2/2] virt: acrn: Introduce interfaces for virtual device creating/destroying Fei Li
2021-09-14 6:07 ` [RFC PATCH v3 0/2] Introduce some interfaces for ACRN hypervisor HSM driver Greg KH
2021-09-14 6:14 ` Li Fei1
2021-09-14 6:19 ` Greg KH
2021-09-14 6:21 ` Li Fei1
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=20210914060141.16187-1-fei1.li@intel.com \
--to=fei1.li@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=shuox.liu@gmail.com \
--cc=yu1.wang@intel.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.