All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagane Sundar <jagane@sundar.org>
To: Jes Sorensen <Jes.Sorensen@redhat.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	Badari Pulavarty <pbadari@us.ibm.com>,
	Stefan Hajnoczi <stefanha@gmail.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: More work on Livebackup for qemu/qemu-kvm
Date: Tue, 10 May 2011 19:45:49 -0700	[thread overview]
Message-ID: <4DC9F85D.9030800@sundar.org> (raw)

Hello All,

I have made more progress on the proposed Livebackup feature
for qemu and qemu-kvm.

Based on Jes' feedback, I have switched over to using command
line parameters instead of specific named files. So, a typical
command line looks like this:

# ./x86_64-softmmu/qemu-system-x86_64 -drive \
file=/dev/kvm_vol_group/kvm_root_part,boot=on,if=virtio,livebackup=on \
-drive file=/dev/kvm_vol_group/kvm_disk1,if=virtio,livebackup=on \
-m 512 -net nic,model=virtio,macaddr=52:54:00:00:00:01 \
-net tap,ifname=tap0,script=no,downscript=no \
-vnc 0.0.0.0:1000 -usb -usbdevice tablet \
-livebackup_dir /root/kvm/livebackup -livebackup_port 7900

Note the new option livebackup=on in the drive parameters, and
the two new parameters -livebackup_dir and -livebackup_port

Here's my strategy for rigorous testing of this new code:
I have created two virtual disks in LVM logical volumes, and
added code in qemu livebackup to create a LVM snapshot as
soon as livebackup_client connects to qemu and creates a
livebackup snapshot. Then I binary compare the livebackup
backed up version of the virtual disk image with the
LVM snapshot that was created by using 'cmp'.
The backup images are a bit for bit match!

As always, all information is available at:

http://wiki.qemu.org/Features/Livebackup

I have also sent in my application to make a presentation at
the qemu forum 2011.

In the meantime, I invite feedback on livebackup.
Specifically, I am interested in scrutiny of my testing
methodology.

Also, I plan to add encryption (probably SSL) to the
livebackup TCP connection, and some form of authentication.

Any thoughts, feedback?

Thanks,
Jagane

             reply	other threads:[~2011-05-11  2:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11  2:45 Jagane Sundar [this message]
2011-09-15  6:10 ` More work on Livebackup for qemu/qemu-kvm shu ming

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=4DC9F85D.9030800@sundar.org \
    --to=jagane@sundar.org \
    --cc=Jes.Sorensen@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbadari@us.ibm.com \
    --cc=stefanha@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.