On 03/27/2014 10:33 AM, 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? > It shows the hostname of the VM if you have python-libguestfs installed. libguestfs will actually access the VM disk image and read the hostname from their. There isn't any libvirt API that does it, but guestfish has a command inspect-get-hostname - Cole _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list