From: Gerd Hoffmann <kraxel@redhat.com>
To: "Gonglei (Arei)" <arei.gonglei@huawei.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] xhci: child detach fix
Date: Tue, 13 May 2014 08:56:26 +0200 [thread overview]
Message-ID: <1399964186.7118.35.camel@nilsson.home.kraxel.org> (raw)
In-Reply-To: <33183CC9F5247A488A2544077AF19020815E7FD4@SZXEMA503-MBS.china.huawei.com>
Hi,
> BTW, in usb_release_port(), the detached port should be insert
> the head of bus->free list table. Because of the save/restore will
> cause qemu crash, after hot plug/hot unplug multi times. For example,
> save the port '2' to memory file, but when we restore it, the port will
> be assign to '1' over again, which not match with the memory file,
> and then crash qemu.
If you want hotplug and live migration play well you have to explicitly
assign devices ports, i.e.
-device usb-host,port=2,$args
Otherwise it will simply not work reliable.
cheers,
Gerd
next prev parent reply other threads:[~2014-05-13 6:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-12 12:49 [Qemu-devel] [PATCH] xhci: child detach fix Gerd Hoffmann
2014-05-13 3:53 ` Gonglei (Arei)
2014-05-13 6:56 ` Gerd Hoffmann [this message]
2014-05-13 7:13 ` Gonglei (Arei)
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=1399964186.7118.35.camel@nilsson.home.kraxel.org \
--to=kraxel@redhat.com \
--cc=arei.gonglei@huawei.com \
--cc=qemu-devel@nongnu.org \
/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).