mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-12-16 01:42:39 +00:00
In the definition of port i/o handler, struct acrn_vm * pointer is redundant as input, as context of acrn_vm is aleady linked in struct acrn_vcpu * by vcpu->vm, 'vm' is not required as input. this patch removes argument '*vm' from 'io_read_fn_t' & 'io_write_fn_t', use '*vcpu' for them instead. Tracked-On: #861 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>