mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-07 11:50:30 +00:00
DM: remove unused function virtio_dev_error
Change-Id: I6e94ab0286e73435429e2ccf971207c7d8ed6ef6 Tracked-On: #3123 Signed-off-by: Ying Liu <ying2.liu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
2d6e6ca375
commit
62f14bb11f
@@ -716,19 +716,6 @@ uint64_t virtio_pci_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev,
|
||||
void virtio_pci_write(struct vmctx *ctx, int vcpu, struct pci_vdev *dev,
|
||||
int baridx, uint64_t offset, int size, uint64_t value);
|
||||
|
||||
/**
|
||||
* @brief Indicate the device has experienced an error.
|
||||
*
|
||||
* This is called when the device has experienced an error from which it
|
||||
* cannot re-cover. DEVICE_NEEDS_RESET is set to the device status register
|
||||
* and a config change intr is sent to the guest driver.
|
||||
*
|
||||
* @param base Pointer to struct virtio_base.
|
||||
*
|
||||
* @return None
|
||||
*/
|
||||
void virtio_dev_error(struct virtio_base *base);
|
||||
|
||||
/**
|
||||
* @brief Set modern BAR (usually 4) to map PCI config registers.
|
||||
*
|
||||
|
Reference in New Issue
Block a user