qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] hw/misc/edu: add msi_uninit() for pci_edu_unini


From: Marcel Apfelbaum
Subject: Re: [Qemu-devel] [PATCH] hw/misc/edu: add msi_uninit() for pci_edu_uninit()
Date: Sun, 13 Jan 2019 18:54:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1



On 1/13/19 4:36 PM, Fei Li wrote:
From: Fei Li <address@hidden>

Let's supplement the msi_uninit() when failing to realize
the pci edu device.

Cc: Markus Armbruster <address@hidden>
Cc: Peter Xu <address@hidden>
Cc: Michael S. Tsirkin <address@hidden>
Cc: Marcel Apfelbaum <address@hidden>
Signed-off-by: Fei Li <address@hidden>
---
  hw/misc/edu.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/hw/misc/edu.c b/hw/misc/edu.c
index cdcf550dd7..4feb7503de 100644
--- a/hw/misc/edu.c
+++ b/hw/misc/edu.c
@@ -367,6 +367,7 @@ static void pci_edu_uninit(PCIDevice *pdev)
  {
      EduState *edu = EDU(pdev);
+ msi_uninit(pdev);
      qemu_mutex_lock(&edu->thr_mutex);
      edu->stopping = true;
      qemu_mutex_unlock(&edu->thr_mutex);

Reviewed-by: Marcel Apfelbaum<address@hidden>

Thanks,
Marcel




reply via email to

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