New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add region ID support for IVSHMEM Devices #8566
Comments
[External_System_ID] ACRN-10265 |
yonghuah
added a commit
to yonghuah/acrn-hypervisor
that referenced
this issue
Mar 17, 2024
This patch adds ivshmem region ID configuration support when user configure ACRN IVSHMEM devices via ACRN config tool, this ID provides VMs with a stable identification of multiple shared memory regions. Also add logic to generate launch script with region ID configured as below: `add_virtual_device 8 ivshmem hv:/shm_region_0,256,1` Tracked-On: projectacrn#8566 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
yonghuah
added a commit
to yonghuah/acrn-hypervisor
that referenced
this issue
Mar 17, 2024
1) region ID shall be configured by user via config tool. 2) region ID is programmed to "Subsystem ID" of PCI config space. 2) "Subsystem Vendor ID" is harded coded as 0x8086 Tracked-On: projectacrn#8566 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
yonghuah
added a commit
to yonghuah/acrn-hypervisor
that referenced
this issue
Mar 17, 2024
1) region ID shall be configured by user via config tool. 2) region ID is programmed to "Subsystem ID" of PCI config space. 2) "Subsystem Vendor ID" is harded coded as 0x8086 Parameters to configure dm-land IVSHMEM device example generated by config tool as below: `add_virtual_device 8 ivshmem hv:/shm_region_0,256,2` Tracked-On: projectacrn#8566 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Jian Jun Chen <jian.jun.chen@intel.com>
acrnsi-robot
pushed a commit
that referenced
this issue
Mar 28, 2024
This patch adds ivshmem region ID configuration support when user configure ACRN IVSHMEM devices via ACRN config tool, this ID provides VMs with a stable identification of multiple shared memory regions. Also add logic to generate launch script with region ID configured as below: `add_virtual_device 8 ivshmem hv:/shm_region_0,256,1` Tracked-On: #8566 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
acrnsi-robot
pushed a commit
that referenced
this issue
Mar 28, 2024
1) region ID shall be configured by user via config tool. 2) region ID is programmed to "Subsystem ID" of PCI config space. 2) "Subsystem Vendor ID" is harded coded as 0x8086 Tracked-On: #8566 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
acrnsi-robot
pushed a commit
that referenced
this issue
Mar 28, 2024
1) region ID shall be configured by user via config tool. 2) region ID is programmed to "Subsystem ID" of PCI config space. 2) "Subsystem Vendor ID" is harded coded as 0x8086 Parameters to configure dm-land IVSHMEM device example generated by config tool as below: `add_virtual_device 8 ivshmem hv:/shm_region_0,256,2` Tracked-On: #8566 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Jian Jun Chen <jian.jun.chen@intel.com>
yonghuah
added a commit
to yonghuah/acrn-hypervisor
that referenced
this issue
Apr 10, 2024
secure coding fix. Tracked-On: projectacrn#8566 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
acrnsi-robot
pushed a commit
that referenced
this issue
Apr 10, 2024
secure coding fix. Tracked-On: #8566 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Link ID is required when configuring IVHSMEM instance:
Applicable to both DM-land and HV-land IVSHMEM devices.
4. Impacted components: ACRN Hypervisor/ Device Model and ACRN config tool.
The text was updated successfully, but these errors were encountered: