mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-04-05 03:46:17 +00:00
Currently VHM driver is opened by using the device file of /dev/acrn_vhm. But for the upstream purpose it is renamed to /dev/acrn_hsm. So we need to check that the device file is acrn_vhm or acrn_hsm and then open the VHM driver. Tracked-On: projectacrn/acrn-hypervisor#2356 Acked-by: Anthony Xu <anthony.xu@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>