hw/pci-host: add pci-intack write method
commit520f26fc6d17b71a43eaf620e834b3bdf316f3d3
authorPrasad J Pandit <pjp@fedoraproject.org>
Tue, 11 Aug 2020 11:41:25 +0000 (11 17:11 +0530)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Feb 2021 14:15:32 +0000 (8 15:15 +0100)
treee04eba83cea63675e2ec0244c9f01af371ffd1ab
parent33c38f8ca1e09b9f77cf263404d423e076c19177
hw/pci-host: add pci-intack write method

Add pci-intack mmio write method to avoid NULL pointer dereference
issue.

Reported-by: Lei Sun <slei.casper@gmail.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Message-Id: <20200811114133.672647-2-ppandit@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/pci-host/prep.c