You can see following code in ops.c: static struct sd_op_template sd_ops[] = { /* cluster operations */ [SD_OP_NEW_VDI] = { .type = SD_OP_TYPE_CLUSTER, .process_work = cluster_new_vdi, .process_main = post_cluster_new_vdi, }, As shown above, sheepdog use cluster_new_vdi() to handle image(named vdi in sheep) creation. Hope that is useful for you. On Sat, Apr 14, 2012 at 7:50 AM, Bill Hastings <bllhastings at gmail.com> wrote: > where can I find the code for how sheepdog handles image creation via > qemu-img create? > -- > sheepdog mailing list > sheepdog at lists.wpkg.org > http://lists.wpkg.org/mailman/listinfo/sheepdog -- Yunkai Zhang Work at Taobao |