[libvirt] [PATCH 2/2] blockjob: wire up online qemu block-commit

Eric Blake eblake at redhat.com
Fri Oct 5 19:56:01 UTC 2012


On 10/05/2012 01:25 PM, Kashyap Chamarthy wrote:
>>
>> So, just to clarify, so I don't mess up,  on libvirt's latest git, I'm applying only these
>> two patches as below:
>>
>> [PATCH 1/2] blockjob: manage qemu block-commit monitor command
>> [PATCH 2/2] blockjob: wire up online qemu block-commit
>>
>> # git am -3 /path-to-patch1
>> # git am -3 /path-to-patch2
>> # ./autogen.sh

Here, I tend to use './autogen.sh --system CFLAGS=-g' if I intend to
debug anything under gdb; the --system makes it more likely that the
just-built libvirtd can be run without having to install it first.  But
the ./run script also helps there.

>> # make
>> # make check
>>
>> Then run the below (while using the qemu binary from it's git #
>> ./x86_64-softmmu/qemu-system-x86_64 --enable-kvm -smp 2 -m 1024
>> /home/kashyap/vmimages/f17vm2.qcow2)
> 
> (of-course with relevant changes to the 'emulator' attribute to the domain's libvirt xml file)

Yep, and/or install the just-built qemu into the system location.

> 
>>
>> And use the 'virsh' to do the testing from the fresh compile:
>>
>> # ./run ./tools/virsh ...
>>

Yep, that's about what I'm doing in my tests.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121005/22b9faee/attachment-0001.sig>


More information about the libvir-list mailing list