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:
yliu79
2019-05-22 10:15:45 -07:00
committed by ACRN System Integration
parent 2d6e6ca375
commit 62f14bb11f
2 changed files with 0 additions and 37 deletions

View File

@@ -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.
*