From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a44O4-0003B9-Dk for qemu-devel@nongnu.org; Wed, 02 Dec 2015 05:11:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a44Nz-0004IE-E5 for qemu-devel@nongnu.org; Wed, 02 Dec 2015 05:11:48 -0500 Received: from e06smtp07.uk.ibm.com ([195.75.94.103]:60562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a44Nz-0004Hz-3Y for qemu-devel@nongnu.org; Wed, 02 Dec 2015 05:11:43 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 2 Dec 2015 10:11:39 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id A611E1B0806E for ; Wed, 2 Dec 2015 10:12:04 +0000 (GMT) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id tB2ABcF466519272 for ; Wed, 2 Dec 2015 10:11:38 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id tB2ABbEF026060 for ; Wed, 2 Dec 2015 03:11:37 -0700 Date: Wed, 2 Dec 2015 11:11:28 +0100 From: Cornelia Huck Message-ID: <20151202111128.03f4f46d.cornelia.huck@de.ibm.com> In-Reply-To: <565E8781.5060700@redhat.com> References: <20151201111108.6dd85381.cornelia.huck@de.ibm.com> <20151201131040.046ab170.cornelia.huck@de.ibm.com> <20151201152153.1bb1f58f.cornelia.huck@de.ibm.com> <565E8781.5060700@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [2.5 issue] virtio-1 in virtio-net and old vhost List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang Cc: Christian Borntraeger , qemu-devel@nongnu.org, "Michael S. Tsirkin" On Wed, 2 Dec 2015 13:54:09 +0800 Jason Wang wrote: > I wonder instead of rolling back in post_plugged(), maybe we could just > delay the region setups to post_plugged(). If this is the saner thing to do for pci, sure. > Or just call transport > specific device_plugged() after get_features() call in > virtio_bus_device_plugged(). The problem is that the VERSION_1 bit is only added in the ->device_plugged() callbacks by the transport, so ->get_features() can only be called after that. We have a dependency in both directions :( > And I'm not sure we need to handle > migration compatibility in this case. The thing we would need to care about is basically the host kernel on the target supporting less than the host kernel on the source. Do we care about that in other contexts right now?