aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-05-23 11:43:24 +0900
committerJason Wang <jasowang@redhat.com>2023-05-23 15:20:15 +0800
commitc6e33a2c529088ef2be787d0704d5706bb154450 (patch)
tree9e8c77cb62a40d8d227a28096ba89e296ec60735 /tests
parent7edf2f1d54454c0c0e5596b1112318cb91ec1afe (diff)
downloadqemu-c6e33a2c529088ef2be787d0704d5706bb154450.zip
qemu-c6e33a2c529088ef2be787d0704d5706bb154450.tar.gz
qemu-c6e33a2c529088ef2be787d0704d5706bb154450.tar.bz2
tests/qtest/libqos/igb: Set GPIE.Multiple_MSIX
GPIE.Multiple_MSIX is not set by default, and needs to be set to get interrupts from multiple MSI-X vectors. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qtest/libqos/igb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qtest/libqos/igb.c b/tests/qtest/libqos/igb.c
index 12fb531..a603468 100644
--- a/tests/qtest/libqos/igb.c
+++ b/tests/qtest/libqos/igb.c
@@ -114,6 +114,7 @@ static void igb_pci_start_hw(QOSGraphObject *obj)
e1000e_macreg_write(&d->e1000e, E1000_RCTL, E1000_RCTL_EN);
/* Enable all interrupts */
+ e1000e_macreg_write(&d->e1000e, E1000_GPIE, E1000_GPIE_MSIX_MODE);
e1000e_macreg_write(&d->e1000e, E1000_IMS, 0xFFFFFFFF);
e1000e_macreg_write(&d->e1000e, E1000_EIMS, 0xFFFFFFFF);