mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-20 12:42:54 +00:00
doc: finish renaming vmh to hsm
Fixed some additional doc references missed in PR #6283 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
parent
0d03224070
commit
9c1c6b80a5
@ -80,14 +80,14 @@ two parts: kick overhead and notify overhead.
|
|||||||
- **Kick Overhead**: The User VM gets trapped when it executes sensitive
|
- **Kick Overhead**: The User VM gets trapped when it executes sensitive
|
||||||
instructions that notify the hypervisor first. The notification is
|
instructions that notify the hypervisor first. The notification is
|
||||||
assembled into an IOREQ, saved in a shared IO page, and then
|
assembled into an IOREQ, saved in a shared IO page, and then
|
||||||
forwarded to the VHM module by the hypervisor. The VHM notifies its
|
forwarded to the HSM module by the hypervisor. The HSM notifies its
|
||||||
client for this IOREQ, in this case, the client is the vbs-echo
|
client for this IOREQ, in this case, the client is the vbs-echo
|
||||||
backend driver. Kick overhead is defined as the interval from the
|
backend driver. Kick overhead is defined as the interval from the
|
||||||
beginning of User VM trap to a specific VBS-K driver, e.g. when
|
beginning of User VM trap to a specific VBS-K driver, e.g. when
|
||||||
virtio-echo gets notified.
|
virtio-echo gets notified.
|
||||||
- **Notify Overhead**: After the data in virtqueue being processed by the
|
- **Notify Overhead**: After the data in virtqueue being processed by the
|
||||||
backend driver, vbs-echo calls the VHM module to inject an interrupt
|
backend driver, vbs-echo calls the HSM module to inject an interrupt
|
||||||
into the frontend. The VHM then uses the hypercall provided by the
|
into the frontend. The HSM then uses the hypercall provided by the
|
||||||
hypervisor, which causes a User VM VMEXIT. The hypervisor finally injects
|
hypervisor, which causes a User VM VMEXIT. The hypervisor finally injects
|
||||||
an interrupt into the vLAPIC of the User VM and resumes it. The User VM
|
an interrupt into the vLAPIC of the User VM and resumes it. The User VM
|
||||||
therefore receives the interrupt notification. Notify overhead is
|
therefore receives the interrupt notification. Notify overhead is
|
||||||
|
@ -923,14 +923,14 @@ AcrnGT in Kernel
|
|||||||
=================
|
=================
|
||||||
|
|
||||||
The AcrnGT module in the Service VM kernel acts as an adaption layer to connect
|
The AcrnGT module in the Service VM kernel acts as an adaption layer to connect
|
||||||
between GVT-g in the i915, the VHM module, and the ACRN-DM user space
|
between GVT-g in the i915, the HSM module, and the ACRN-DM user space
|
||||||
application:
|
application:
|
||||||
|
|
||||||
- AcrnGT module implements the MPT interface of GVT-g to provide
|
- AcrnGT module implements the MPT interface of GVT-g to provide
|
||||||
services to it, including set and unset trap areas, set and unset
|
services to it, including set and unset trap areas, set and unset
|
||||||
write-protection pages, etc.
|
write-protection pages, etc.
|
||||||
|
|
||||||
- It calls the VHM APIs provided by the ACRN VHM module in the Service VM
|
- It calls the HSM APIs provided by the ACRN HSM module in the Service VM
|
||||||
kernel, to eventually call into the routines provided by ACRN
|
kernel, to eventually call into the routines provided by ACRN
|
||||||
hypervisor through hyper-calls.
|
hypervisor through hyper-calls.
|
||||||
|
|
||||||
|
@ -193,7 +193,7 @@ example, showing the flow through each layer:
|
|||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
vhm_intr_handler --> // HSM interrupt handler
|
hsm_intr_handler --> // HSM interrupt handler
|
||||||
tasklet_schedule -->
|
tasklet_schedule -->
|
||||||
io_req_tasklet -->
|
io_req_tasklet -->
|
||||||
acrn_ioreq_distribute_request --> // ioreq can't be processed in HSM, forward it to device DM
|
acrn_ioreq_distribute_request --> // ioreq can't be processed in HSM, forward it to device DM
|
||||||
@ -348,7 +348,7 @@ cases.)
|
|||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
vhm_dev_ioctl --> // process the IOCTL and call hypercall to inject interrupt
|
hsm_dev_ioctl --> // process the IOCTL and call hypercall to inject interrupt
|
||||||
hcall_inject_msi -->
|
hcall_inject_msi -->
|
||||||
|
|
||||||
**ACRN Hypervisor**
|
**ACRN Hypervisor**
|
||||||
|
Loading…
Reference in New Issue
Block a user