From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: Fei Li <lifei1214@126.com>,
QEMU Trivial <qemu-trivial@nongnu.org>,
Jiri Slaby <jslaby@suse.cz>,
qemu-devel@nongnu.org, shirley17fei@gmail.com
Subject: Re: [Qemu-trivial] [PATCH v2] hw/misc/edu: add msi_uninit() for pci_edu_uninit()
Date: Mon, 14 Jan 2019 10:51:27 -0500 [thread overview]
Message-ID: <20190114105015-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <ac0015a7-5fcf-f5f6-a1a5-6c3846459b8c@redhat.com>
On Mon, Jan 14, 2019 at 02:28:39PM +0100, Philippe Mathieu-Daudé wrote:
> Cc'ing qemu-trivial
>
> On 1/14/19 2:10 PM, Fei Li wrote:
> > From: Fei Li <shirley17fei@gmail.com>
> >
> > Let's supplement the msi_uninit() when failing to realize
> > the pci edu device.
> >
> > Reported-by: Markus Armbruster <armbru@redhat.com>
> > Signed-off-by: Fei Li <shirley17fei@gmail.com>
> > Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
> > Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> > Reviewed-by: Peter Xu <peterx@redhat.com>
> > ---
> > hw/misc/edu.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/hw/misc/edu.c b/hw/misc/edu.c
> > index cdcf550dd7..ceaf688bfb 100644
> > --- a/hw/misc/edu.c
> > +++ b/hw/misc/edu.c
> > @@ -377,6 +377,7 @@ static void pci_edu_uninit(PCIDevice *pdev)
> > qemu_mutex_destroy(&edu->thr_mutex);
> >
> > timer_del(&edu->dma_timer);
> > + msi_uninit(pdev);
> > }
> >
> > static void edu_obj_uint64(Object *obj, Visitor *v, const char *name,
> >
That's not trivial material IMHO. I put it in my tree for now.
--
MST
WARNING: multiple messages have this Message-ID (diff)
From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: Fei Li <lifei1214@126.com>,
QEMU Trivial <qemu-trivial@nongnu.org>,
Jiri Slaby <jslaby@suse.cz>,
qemu-devel@nongnu.org, shirley17fei@gmail.com
Subject: Re: [Qemu-devel] [PATCH v2] hw/misc/edu: add msi_uninit() for pci_edu_uninit()
Date: Mon, 14 Jan 2019 10:51:27 -0500 [thread overview]
Message-ID: <20190114105015-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <ac0015a7-5fcf-f5f6-a1a5-6c3846459b8c@redhat.com>
On Mon, Jan 14, 2019 at 02:28:39PM +0100, Philippe Mathieu-Daudé wrote:
> Cc'ing qemu-trivial
>
> On 1/14/19 2:10 PM, Fei Li wrote:
> > From: Fei Li <shirley17fei@gmail.com>
> >
> > Let's supplement the msi_uninit() when failing to realize
> > the pci edu device.
> >
> > Reported-by: Markus Armbruster <armbru@redhat.com>
> > Signed-off-by: Fei Li <shirley17fei@gmail.com>
> > Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
> > Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> > Reviewed-by: Peter Xu <peterx@redhat.com>
> > ---
> > hw/misc/edu.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/hw/misc/edu.c b/hw/misc/edu.c
> > index cdcf550dd7..ceaf688bfb 100644
> > --- a/hw/misc/edu.c
> > +++ b/hw/misc/edu.c
> > @@ -377,6 +377,7 @@ static void pci_edu_uninit(PCIDevice *pdev)
> > qemu_mutex_destroy(&edu->thr_mutex);
> >
> > timer_del(&edu->dma_timer);
> > + msi_uninit(pdev);
> > }
> >
> > static void edu_obj_uint64(Object *obj, Visitor *v, const char *name,
> >
That's not trivial material IMHO. I put it in my tree for now.
--
MST
next prev parent reply other threads:[~2019-01-14 15:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-14 13:10 [Qemu-devel] [PATCH v2] hw/misc/edu: add msi_uninit() for pci_edu_uninit() Fei Li
2019-01-14 13:28 ` [Qemu-trivial] " Philippe Mathieu-Daudé
2019-01-14 13:28 ` Philippe Mathieu-Daudé
2019-01-14 15:51 ` Michael S. Tsirkin [this message]
2019-01-14 15:51 ` Michael S. Tsirkin
2019-01-14 16:29 ` [Qemu-trivial] " Philippe Mathieu-Daudé
2019-01-14 16:29 ` [Qemu-devel] " Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190114105015-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=jslaby@suse.cz \
--cc=lifei1214@126.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=shirley17fei@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.