[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/4] hw/nvme: add MSI-x mask handlers for irqfd
From: |
Jinhao Fan |
Subject: |
Re: [PATCH 4/4] hw/nvme: add MSI-x mask handlers for irqfd |
Date: |
Wed, 17 Aug 2022 13:35:36 +0800 |
at 6:46 PM, Klaus Jensen <its@irrelevant.dk> wrote:
>
> Did qtest work out for you for testing? If so, it would be nice to add a
> simple test case as well.
I found MSI-x masking harder to test than we imagined. My plan is to only
emulate IO queues in the IOthread and leave admin queue emulation in the
main loop since some admin commands require BQL. So I didn’t enable irqfd on
admin queues. Therefore we can onlyt test MSI-x masking on IO queues. This
makes qtest complicated since we need to handle IO queue creation.
But I’m not sure my understanding is correct. Is it true that the admin
queue does not need irqfd as long as it runs in the main loop thread?
- [PATCH 3/4] hw/nvme: use irqfd to send interrupts, (continued)
- [PATCH 3/4] hw/nvme: use irqfd to send interrupts, Jinhao Fan, 2022/08/11
- [PATCH 1/4] hw/nvme: avoid unnecessary call to irq (de)assertion functions, Jinhao Fan, 2022/08/11
- [PATCH 2/4] hw/nvme: add option to (de)assert irq with eventfd, Jinhao Fan, 2022/08/11
- [PATCH 4/4] hw/nvme: add MSI-x mask handlers for irqfd, Jinhao Fan, 2022/08/11
- Re: [PATCH 0/4] hw/nvme: add irqfd support, Jinhao Fan, 2022/08/15
- Re: [PATCH 0/4] hw/nvme: add irqfd support, Klaus Jensen, 2022/08/24