[fedora-virt] [PATCH] Move virt-what to a python library

Richard W.M. Jones rjones at redhat.com
Thu Nov 11 15:13:22 UTC 2010


On Thu, Nov 11, 2010 at 09:55:45AM -0500, Bryan Kearney wrote:
> We discussed this a bit yesterday. I have some python client code
> which needs to know "is guest" and optionally the hypervisor type.
> The supplied patch uses the same detection logic as the bash script,
> but puts it into a python library. The detection logic may be a bit
> dubious, but at least this would allow a single place for such
> logic.

I'll leave this open in case anyone else wants this, but it
doesn't seem like a useful change from my p.o.v.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html


More information about the virt mailing list