Received: from eggs.gnu.org ([140.186.70.92]:49896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzWrx-0006uC-W4 for qemu-devel@nongnu.org; Fri, 02 Sep 2011 12:45:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QzWrw-0000Aw-Vj for qemu-devel@nongnu.org; Fri, 02 Sep 2011 12:45:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QzWrw-0000Ao-NV for qemu-devel@nongnu.org; Fri, 02 Sep 2011 12:45:28 -0400 From: Markus Armbruster References: <1312376904-16115-1-git-send-email-armbru@redhat.com> <1312376904-16115-28-git-send-email-armbru@redhat.com> <4E60CB56.5080904@redhat.com> <4E6101F2.6000108@redhat.com> Date: Fri, 02 Sep 2011 18:45:21 +0200 In-Reply-To: <4E6101F2.6000108@redhat.com> (Kevin Wolf's message of "Fri, 02 Sep 2011 18:18:58 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH v2 27/45] scsi-disk: Preserve tray state on migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: quintela@redhat.com, stefano.stabellini@eu.citrix.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, hare@suse.de, amit.shah@redhat.com, hch@lst.de Kevin Wolf writes: > Am 02.09.2011 17:35, schrieb Markus Armbruster: >> Kevin Wolf writes: >> >>> Am 03.08.2011 15:08, schrieb Markus Armbruster: >>>> Breaks migration of qdevs "scsi-cd" and legacy "scsi-disk" to older >>>> versions. We normally use subsections to avoid that. Not possible >>>> here, because we don't have a section to begin with. Too bad. >>>> >>>> Signed-off-by: Markus Armbruster >>> >>> A more logical approach would be to add migration support to SCSI first. >> >> Isn't that what I do? >> >>> I guess adding .unmigratable = 1 makes more sense at the moment. >> >> Why? > > Hm, you mean that we can successfully migrate SCSI today? > > SCSIDiskState doesn't seem to directly have anything variable that must > be migrated. I think SCSIDevice does have fields that need to be > migrated (unit_attention, sense and the request list). I'm not sure what > other state scsi-bus involves, but unless the SCSI controllers can > restore all of it, it should have a VMState, too. Easiest solution is to just drop my patch then.