|
@@ -1364,7 +1364,7 @@ static void vfio_pci_relocate_msix(VFIOPCIDevice *vdev, Error **errp)
|
|
* TODO: Lookup table for known devices.
|
|
* TODO: Lookup table for known devices.
|
|
*
|
|
*
|
|
* Logically we might use an algorithm here to select the BAR adding
|
|
* Logically we might use an algorithm here to select the BAR adding
|
|
- * the least additional MMIO space, but we cannot programatically
|
|
|
|
|
|
+ * the least additional MMIO space, but we cannot programmatically
|
|
* predict the driver dependency on BAR ordering or sizing, therefore
|
|
* predict the driver dependency on BAR ordering or sizing, therefore
|
|
* 'auto' becomes a lookup for combinations reported to work.
|
|
* 'auto' becomes a lookup for combinations reported to work.
|
|
*/
|
|
*/
|
|
@@ -2158,7 +2158,7 @@ static void vfio_pci_pre_reset(VFIOPCIDevice *vdev)
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|
|
- * Stop any ongoing DMA by disconecting I/O, MMIO, and bus master.
|
|
|
|
|
|
+ * Stop any ongoing DMA by disconnecting I/O, MMIO, and bus master.
|
|
* Also put INTx Disable in known state.
|
|
* Also put INTx Disable in known state.
|
|
*/
|
|
*/
|
|
cmd = vfio_pci_read_config(pdev, PCI_COMMAND, 2);
|
|
cmd = vfio_pci_read_config(pdev, PCI_COMMAND, 2);
|
|
@@ -2384,7 +2384,7 @@ out_single:
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|
|
- * We want to differentiate hot reset of mulitple in-use devices vs hot reset
|
|
|
|
|
|
+ * We want to differentiate hot reset of multiple in-use devices vs hot reset
|
|
* of a single in-use device. VFIO_DEVICE_RESET will already handle the case
|
|
* of a single in-use device. VFIO_DEVICE_RESET will already handle the case
|
|
* of doing hot resets when there is only a single device per bus. The in-use
|
|
* of doing hot resets when there is only a single device per bus. The in-use
|
|
* here refers to how many VFIODevices are affected. A hot reset that affects
|
|
* here refers to how many VFIODevices are affected. A hot reset that affects
|