qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: Juergen Gross <jgross@suse.com>
Cc: qemu-devel@nongnu.org, xen-devel@lists.xensource.com,
	kraxel@redhat.com, sstabellini@kernel.org
Subject: Re: [Qemu-devel] [PATCH v2 2/2] xen: drain submit queue in xen-usb before removing device
Date: Tue, 2 Aug 2016 16:26:44 +0100	[thread overview]
Message-ID: <20160802152644.GU1835@perard.uk.xensource.com> (raw)
In-Reply-To: <1470140044-16492-3-git-send-email-jgross@suse.com>

On Tue, Aug 02, 2016 at 02:14:04PM +0200, Juergen Gross wrote:
> When unplugging a device in the Xen pvusb backend drain the submit
> queue before deallocation of the control structures. Otherwise there
> will be bogus memory accesses when I/O contracts are finished.
> 
> Correlated to this issue is the handling of cancel requests: a packet
> cancelled will still lead to the call of complete, so add a flag
> to the request indicating it should be just dropped on complete.
> 
> Signed-off-by: Juergen Gross <jgross@suse.com>

Acked-by: Anthony PERARD <anthony.perard@citrix.com>

-- 
Anthony PERARD

      reply	other threads:[~2016-08-02 15:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 12:14 [Qemu-devel] [PATCH v2 0/2] xen: bug fixes in Xen backend handling Juergen Gross
2016-08-02 12:14 ` [Qemu-devel] [PATCH v2 1/2] xen: when removing a backend don't remove many of them Juergen Gross
2016-08-02 12:14 ` [Qemu-devel] [PATCH v2 2/2] xen: drain submit queue in xen-usb before removing device Juergen Gross
2016-08-02 15:26   ` Anthony PERARD [this message]

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=20160802152644.GU1835@perard.uk.xensource.com \
    --to=anthony.perard@citrix.com \
    --cc=jgross@suse.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xensource.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).