mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-02-22 07:02:35 +00:00
Replace SBI passthrough with proper virtualization of base extension queries. For the Service VM, forward actual machine vendor/arch/impl IDs from the underlying SBI. For guest VMs, provide dummy ACRN-specific IDs to maintain isolation. Changes: - Return vSBI spec version 2.0 for GET_SPEC_VERSION - Return ACRN implementation ID (55) and version for GET_IMP_ID/GET_IMP_VERSION - Forward real mvendorid/marchid/mimpid to Service VM - Provide dummy vendor/arch/impl IDs (0/0/0) to guest VMs - Store machine IDs in vm_arch structure during VM initialization - Remove unnecessary SBI passthrough for base extension queries This provides better isolation and control over the virtual SBI interface exposed to guests. Tracked-On: #8851 Signed-off-by: Haoyu Tang <haoyu.tang@intel.com> Acked-by: Wang Yu1 <yu1.wang@intel.com>