]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/nvme: fix msix_uninit with exclusive bar
authorKlaus Jensen <k.jensen@samsung.com>
Sun, 10 Nov 2024 13:04:27 +0000 (14:04 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 16 Dec 2024 12:27:45 +0000 (15:27 +0300)
commit3bc7a671371e24a3655869b261a0a680eca61a33
tree48587e164241fb5e0909030a14a391ffbb99aa3a
parentdec1eee77fc548049c8cb443a1f8176fa0c2d3c4
hw/nvme: fix msix_uninit with exclusive bar

Commit fa905f65c554 introduced a machine compatibility parameter to
enable an exclusive bar for msix. It failed to account for this when
cleaning up. Make sure that if an exclusive bar is enabled, we use the
proper cleanup routine.

Cc: qemu-stable@nongnu.org
Fixes: fa905f65c554 ("hw/nvme: add machine compatibility parameter to enable msix exclusive bar")
Reviewed-by: Jesper Wendel Devantier <foss@defmacro.it>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
(cherry picked from commit 9162f101257639cc4c7e20f72f77268b1256dd79)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/nvme/ctrl.c