diff options
author | Hikaru Nishida <hikarupsp@gmail.com> | 2017-12-18 14:00:43 +0900 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-01-23 12:33:07 +0100 |
commit | 5e9aa92eb1a5abbb6e0e3dafdf64ac728e11b6f2 (patch) | |
tree | 1f89a5cb82e559662ff77d72a75afefc4c164188 /hw/block/nvme.h | |
parent | f86428a1f4f91a460ed585682af70d3e8c31dc06 (diff) |
hw/block: Fix pin-based interrupt behaviour of NVMe
Pin-based interrupt of NVMe controller did not work properly
because using an obsolated function pci_irq_pulse().
To fix this, change to use pci_irq_assert() / pci_irq_deassert()
instead of pci_irq_pulse().
Signed-off-by: Hikaru Nishida <hikarupsp@gmail.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/block/nvme.h')
-rw-r--r-- | hw/block/nvme.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/block/nvme.h b/hw/block/nvme.h index 6aab338ff5..7b62dad072 100644 --- a/hw/block/nvme.h +++ b/hw/block/nvme.h @@ -775,6 +775,7 @@ typedef struct NvmeCtrl { uint32_t cmbsz; uint32_t cmbloc; uint8_t *cmbuf; + uint64_t irq_status; char *serial; NvmeNamespace *namespaces; |