cf48b9c38f
Currently host bridge emulation and bar emulation are only for pre-launched vms, use is_prelaunched_vm to check if it is for pre-launched vms when calling init/deinit/cfgread/cfgwrite, also use is_hostbridge() to check if the access if for host bridge, so that these functions can be unified for sos and pre-launched vm in subsequent commits. Move is_hostbridge function to vpci_priv.h so that it can be used by multiple files. vhostbridge_cfgread/vhostbridge_cfgwrite: return -ENODEV if the pci cfg access is not targeted for vhostbridge so that cfgread/cfgwrite functions can be unified for sos and pre-launched vm in subsequent commits Fix @pre for functions Tracked-On: #3056 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> |
||
---|---|---|
.. | ||
vpci | ||
io_req.c | ||
vioapic.c | ||
vmptable.c | ||
vpic.c | ||
vrtc.c | ||
vuart.c |