[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] A question about create image for sheepdog



On 09/08/2011 09:35 PM, chang liu wrote:
Hi everyone:
I want to build a VM Manage System, and I use libvirt to create and delete VM. But now I has used sheepdog as the disk, but I have to create sheepdog image by hand. If I have a thousand of servers, how can I create the image? I think if I can write a API for create the sheepdog image by call the qemu-img or kvm-img? (My English is rather poor, please forgive me)
Maybe, the virStorageBackendFSImageToolTypeToFunc/virStorageBackendCreateQemuImg API is what you want, you can find it from the following link:

http://libvirt.org/git/?p=libvirt.git;a=blob_plain;f=src/storage/storage_backend.c;hb=HEAD

Regards,
Alex


--
libvir-list mailing list
libvir-list redhat com
https://www.redhat.com/mailman/listinfo/libvir-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]