[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] IRQ per CPU

From: Dongli Zhang
Subject: Re: [Qemu-discuss] IRQ per CPU
Date: Thu, 5 Jul 2018 11:50:50 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 07/04/2018 10:32 PM, Probir Roy wrote:
> I am writing a virtual device that would generate IRQ per CPU basis. I

Does 'per CPU basis' indicates irq per cpu, or irq per device queue?

AFAIK, the device may create multiple queues in the driver (in OS) and we would
have one irq (vector) per queue?

If you are talking about irq (vector) per queue, I would suggest read about
following on nvme which involves per-queue vector.


Although I am not expert on qemu, in my opinion the qemu nvme code is very
helpful for understanding per-queue vector.

> have written a PCI device from the template which does not generate
> IRQ per CPU. How can write such device in Qemu?
> The code of current device is here:
> https://gist.github.com/proywm/6ca98d3e8ca001965e2c8792fcf97911
> Regards,
> Probir

Dongli Zhang

reply via email to

[Prev in Thread] Current Thread [Next in Thread]