On Thu, Mar 27, 2014 at 10:33:16PM +0800, longguang.yue wrote:
> hi,all
> i recently notice that virt-manager show the hostname of vm, i am curious 
> about that, what is the implementation?

In addition to Cole's answer, here is the API:

http://libguestfs.org/guestfs.3.html#inspection

and here is the implementation:

https://github.com/libguestfs/libguestfs/blob/master/src/inspect-fs-unix.c#L768
https://github.com/libguestfs/libguestfs/blob/master/src/inspect-fs-windows.c#L502

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to