Received: from [140.186.70.92] (port=48093 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OT8k5-0005o9-DK for qemu-devel@nongnu.org; Mon, 28 Jun 2010 03:26:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OT8k4-0006PO-HX for qemu-devel@nongnu.org; Mon, 28 Jun 2010 03:26:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51518) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OT8k4-0006Ow-BB for qemu-devel@nongnu.org; Mon, 28 Jun 2010 03:26:56 -0400 From: Markus Armbruster Date: Mon, 28 Jun 2010 09:26:47 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Block live migration's use of type hint List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: lirans@il.ibm.com Block live migration appears to migrate only block devices with type hint BDRV_TYPE_HD. Others are silently skipped: static void init_blk_migration_it(void *opaque, BlockDriverState *bs) { Monitor *mon = opaque; BlkMigDevState *bmds; int64_t sectors; if (bs->type == BDRV_TYPE_HD) { [...] } } The logic comes from commit c163b5ca, but its commit message doesn't mention it. Liran, please advise. What are we trying to accomplish here? Whatever it is, I suspect checking the type hint isn't the appropriate way to get it.