I looked into it -- what exists in newer versions (via "guestfish -i")
isn't
really built-in as such, but rather calls virt-inspector. There is no C
implementation presently, and you would need to rewrite the (fairly complex)
Perl code in C to get that functionality independent of it.
That's certainly a feasible thing to do -- but why is it so important to you
that everything be pure C?