On Wed, Jan 23, 2019 at 12:00:06PM +0000, Sudhakar Paulzagade
wrote:> https://rwmj.wordpress.com/2014/11/23/mapping-files-to-disk/#content
> 
> Couple of questions:
> 
>   1.  How do I get virt-bmap. I installed latest version of libguestfs and
libguestfs-tools but couldn't find this tool. Is there a separate package
that I need to install?
It's here:
http://git.annexia.org/?p=virt-bmap.git;a=summary
I've not used it for a long time so I don't know if it works still.
>   2.  Is there an API that I can call through libguestfs instead of command
line?
No.
Rich.
-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html