Changeset 33314 in vbox for trunk/src/VBox/Devices/VirtIO
- Timestamp:
- Oct 21, 2010 3:51:17 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 66890
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VirtIO/Virtio.cpp
r29917 r33314 782 782 /* Interrupt Pin: INTA# */ 783 783 vpciCfgSetU8( pci, VBOX_PCI_INTERRUPT_PIN, 0x01); 784 785 #ifdef VBOX_WITH_MSI_DEVICES 786 PCIDevSetCapabilityList (&pci, 0x80); 787 PCIDevSetStatus (&pci, VBOX_PCI_STATUS_CAP_LIST); 788 #endif 784 789 } 785 790 … … 825 830 if (RT_FAILURE(rc)) 826 831 return rc; 832 833 #ifdef VBOX_WITH_MSI_DEVICES 834 #if 0 835 { 836 PDMMSIREG aMsiReg; 837 838 RT_ZERO(aMsiReg); 839 aMsiReg.cMsixVectors = 1; 840 aMsiReg.iMsixCapOffset = 0x80; 841 aMsiReg.iMsixNextOffset = 0x0; 842 aMsiReg.iMsixBar = 0; 843 rc = PDMDevHlpPCIRegisterMsi(pDevIns, &aMsiReg); 844 if (RT_FAILURE (rc)) 845 PCIDevSetCapabilityList(&pState->pciDevice, 0x0); 846 } 847 #endif 848 #endif 827 849 828 850 /* Status driver */
Note:
See TracChangeset
for help on using the changeset viewer.