mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 18:14:53 +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:
@@ -142,13 +142,6 @@ void sharing_mode_vpci_deinit(const struct acrn_vm *vm)
|
||||
}
|
||||
}
|
||||
|
||||
const struct vpci_ops sharing_mode_vpci_ops = {
|
||||
.init = sharing_mode_vpci_init,
|
||||
.deinit = sharing_mode_vpci_deinit,
|
||||
.cfgread = sharing_mode_cfgread,
|
||||
.cfgwrite = sharing_mode_cfgwrite,
|
||||
};
|
||||
|
||||
void vpci_set_ptdev_intr_info(const struct acrn_vm *target_vm, uint16_t vbdf, uint16_t pbdf)
|
||||
{
|
||||
struct pci_vdev *vdev;
|
||||
|
||||
Reference in New Issue
Block a user