From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36159 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3PmV-0000Lr-UI for qemu-devel@nongnu.org; Wed, 06 Oct 2010 04:55:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3PmU-0006zn-QD for qemu-devel@nongnu.org; Wed, 06 Oct 2010 04:55:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3PmU-0006zc-IV for qemu-devel@nongnu.org; Wed, 06 Oct 2010 04:55:22 -0400 Message-ID: <4CAC396B.1080000@redhat.com> Date: Wed, 06 Oct 2010 10:55:07 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 0/2] USB CCID device References: <549264095.529061286324898345.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> In-Reply-To: <549264095.529061286324898345.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alon Levy Cc: qemu-devel@nongnu.org On 10/06/10 02:28, Alon Levy wrote: > >> >> Does this work with live migration? I can't see how it would. >> > > No, it doesn't right now. It would require cooperation with the client, > to tell it to reconnect to the target qemu (kind of like spice). I think until we have this migration should have pretty much the same effect as a chardev disconnect, i.e. detach the usb device (which the guest will see as unplug). Needs some code though, at minimum you'll have to xfer the connected state from the migration source and have some bits in post_load() which do attach/detach if needed. cheers, Gerd