]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Introduce source flags to virDomainGetHostname()
authorJulio Faracco <jcfaracco@gmail.com>
Thu, 9 Jan 2020 10:12:37 +0000 (11:12 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 16 Jan 2020 08:02:35 +0000 (09:02 +0100)
commit3cf12299f61d257438d7d8fe14196ea38805d078
treeac4baf9a45e461bb00bf1e9889045e88372096b6
parent2033668bc7adf26d68f40b4485f8ba7cf75c239b
Introduce source flags to virDomainGetHostname()

There is a lots of possibilities to retrieve hostname information
from domain. Libvirt could use lease information from dnsmasq to
get current hostname too. QEMU supports QEMU-agent but it can use
lease source.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
include/libvirt/libvirt-domain.h
include/libvirt/virterror.h
src/libvirt-domain.c
src/remote/remote_daemon.c
src/util/virerror.c