From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tg27s-0008Qv-FK for qemu-devel@nongnu.org; Tue, 04 Dec 2012 18:42:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tg27q-0001TI-PW for qemu-devel@nongnu.org; Tue, 04 Dec 2012 18:42:08 -0500 Received: from ozlabs.org ([203.10.76.45]:60041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tg27q-0001TB-Dj for qemu-devel@nongnu.org; Tue, 04 Dec 2012 18:42:06 -0500 From: Rusty Russell In-Reply-To: <87zk1uca8z.fsf@elfo.mitica> References: <87624iikcw.fsf@rustcorp.com.au> <87zk1uca8z.fsf@elfo.mitica> Date: Wed, 05 Dec 2012 09:47:22 +1030 Message-ID: <87r4n5h0fx.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] vmstate conversion for virtio? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: quintela@redhat.com Cc: QEMU-devel , "Michael S. Tsirkin" Juan Quintela writes: > Rusty Russell wrote: >> Hi all, >> >> I want to rework the qemu virtio subsystem, but various >> structures are currently blatted to disk in save/load. So I looked at >> altering that, only to discover that it needs conversion to vmstate, and >> 2009 patches in patchwork which have never been applied. >> >> Has there been any progress on this? A git tree I should be using? > > My trees are more than 1 year old, and unfinished (basic trouble is how > to express the lists of pending requests for block and now serial). I > haven't yet looked at virtio-scsi. That's the easy part though, and part of what I want to change. All we need is the index of the request; the rest can be re-read from the ring. So create the array in pre_save, and restore on post_load. Is there something more recent than http://repo.or.cz/w/qemu/quintela.git/shortlog/refs/heads/vmstate/virtio or should I cherry-pick from there? Thanks, Rusty.