From: Stefan Hajnoczi <stefanha@gmail.com>
To: Dietmar Maurer <dietmar@proxmox.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Subject: Re: [Qemu-devel] [PATCH v4 0/6] Efficient VM backup for qemu
Date: Wed, 6 Mar 2013 13:59:12 +0100 [thread overview]
Message-ID: <20130306125912.GF1954@stefanha-thinkpad.muc.redhat.com> (raw)
In-Reply-To: <24E144B8C0207547AD09C467A8259F7557AC2821@lisa.maurer-it.com>
On Mon, Feb 25, 2013 at 04:35:09PM +0000, Dietmar Maurer wrote:
> > >>> If we use nbd, how can we pass additional information to the other
> > >>> side, for example information about unallocated regions?
> > >>>
> > >>
> > >> You can either send trim commands, or just skip those regions and let
> > >> the other side figure it out.
> > >
> > > But we are lost if we want to transfer something else? I am currently
> > > not sure what we want to transfer, but I am sure we will find something in
> > future.
> > >
> > > Or can we simply add a header to each write with additional information?
> >
> > Let's discuss it once we have a clearer picture of what that additional info would
> > be.
>
> OK, just discovered such case.
>
> For example it would be nice to pass the size of the devices somehow?
That is not necessary since the management tool that starts the VMA
write process can pass this info (from 'query-block' QMP command):
$ vma-writer --output backup-20130201.vma \
--add-file path/to/vm-config.xml \
--vmstate /tmp/backup-20130201.vmstate \
--nbd /tmp/backup-20130201.nbd \
--blockdev name=virtio-drive0,size=64424509440 \
--blockdev name=virtio-drive1,size=128849018880
Note that this syntax uses Paolo's suggestions for UNIX domain sockets
and NBD named exports.
Stefan
next parent reply other threads:[~2013-03-06 12:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <24E144B8C0207547AD09C467A8259F7557A70D81@lisa.maurer-it.com>
[not found] ` <51275C5A.50301@redhat.com>
[not found] ` <24E144B8C0207547AD09C467A8259F7557A70E6A@lisa.maurer-it.com>
[not found] ` <51276D7F.2050000@redhat.com>
[not found] ` <CAJSP0QVqA+cHpZPNxi=Wf0O4aVS3Gbou0TqW1uqWBNMrPydLKw@mail.gmail.com>
[not found] ` <24E144B8C0207547AD09C467A8259F7557A7F6FB@lisa.maurer-it.com>
[not found] ` <5127AFDC.1060403@redhat.com>
[not found] ` <24E144B8C0207547AD09C467A8259F7557A7F7B2@lisa.maurer-it.com>
[not found] ` <5127B3B3.20308@redhat.com>
[not found] ` <24E144B8C0207547AD09C467A8259F7557AC2821@lisa.maurer-it.com>
2013-03-06 12:59 ` Stefan Hajnoczi [this message]
2013-03-06 14:46 ` [Qemu-devel] [PATCH v4 0/6] Efficient VM backup for qemu Dietmar Maurer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130306125912.GF1954@stefanha-thinkpad.muc.redhat.com \
--to=stefanha@gmail.com \
--cc=dietmar@proxmox.com \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=xiawenc@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).