Skip to content

Introduce some interfaces for ACRN hypervisor HSM driver

Fei Li lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 5 repliesIn review
  2. v42 patches 4 repliesSuperseded
  3. v3 RFC2 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches8 repliesSuperseded
v13 patches4 repliesSuperseded

Changes in v5 from the cover letter

- 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.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virt: acrn: Introduce interfaces for MMIO device passthroughdrivers/virt/acrn/hsm.c drivers/virt/acrn/hypercall.h include/uapi/linux/acrn.h+79 -00 replies
2/2virt: acrn: Introduce interfaces for virtual device creating/destroyingdrivers/virt/acrn/hsm.c drivers/virt/acrn/hypercall.h include/uapi/linux/acrn.h+92 -05 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/2] Introduce some interfaces for ACRN hypervisor HSM driver

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 "[email protected]" 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

Signature · 1 line
2.17.1