All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/2] Introduce some interfaces for ACRN hypervisor HSM driver
@ 2021-09-23  8:41 Fei Li
  2021-09-23  8:41 ` [PATCH v5 1/2] virt: acrn: Introduce interfaces for MMIO device passthrough Fei Li
  2021-09-23  8:41 ` [PATCH v5 2/2] virt: acrn: Introduce interfaces for virtual device creating/destroying Fei Li
  0 siblings, 2 replies; 8+ messages in thread
From: Fei Li @ 2021-09-23  8:41 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, yu1.wang, shuox.liu, fei1.li

Add some new interfaces for ACRN hypervisor HSM driver:
  - MMIO device passthrough
  - virtual device creating/destroying
  - platform information fetching from the hypervisor

---
ChangeLog:
v5:
 - add comments where is the userspace code that uses the new api in commit log.
 - specify the endian for some fields in struct acrn_vdev.

v4:
 - remove "RFC" from Subject field.

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: 58e2cf5d794616b84f591d4d1276c8953278ce24
-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-30  8:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23  8:41 [PATCH v5 0/2] Introduce some interfaces for ACRN hypervisor HSM driver Fei Li
2021-09-23  8:41 ` [PATCH v5 1/2] virt: acrn: Introduce interfaces for MMIO device passthrough Fei Li
2021-09-23  8:41 ` [PATCH v5 2/2] virt: acrn: Introduce interfaces for virtual device creating/destroying Fei Li
2021-09-23  8:51   ` Greg KH
2021-09-23  9:16     ` Li Fei1
2021-09-23 13:07       ` Greg KH
2021-09-23 15:26         ` Li Fei1
2021-09-30  8:24           ` Li Fei1

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.