mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 01:54:44 +00:00
HV: remove vpci ops
Do not call vpci ops, call the corresponding sharing mode/partition functions directly instead. Remove struct vpci_ops from vpci.h Tracked-On: #2534 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -172,10 +172,3 @@ void partition_mode_cfgwrite(struct acrn_vpci *vpci, union pci_bdf vbdf,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const struct vpci_ops partition_mode_vpci_ops = {
|
||||
.init = partition_mode_vpci_init,
|
||||
.deinit = partition_mode_vpci_deinit,
|
||||
.cfgread = partition_mode_cfgread,
|
||||
.cfgwrite = partition_mode_cfgwrite,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user