On Wed, Aug 22, 2012 at 09:32:02AM +0100, Daniel P. Berrange wrote:
On Wed, Aug 22, 2012 at 10:04:33AM +0200, Guido Günther wrote:
On Tue, Aug 21, 2012 at 07:31:17PM +0100, Daniel P. Berrange wrote:
On Tue, Aug 21, 2012 at 01:57:54PM +0200, Guido Günther wrote:
[..snip..]
Why no
On Tue, 21 Aug 2012 13:57:54 +0200
Guido Günther a...@sigxcpu.org wrote:
This allows to retrieve the guest's hostname via gethostname(2).
This can be useful to identify a VM e.g. one without network.
Signed-off-by: Guido Günther a...@sigxcpu.org
---
We have an API in libvirt for that
On Thu, Aug 23, 2012 at 09:48:54AM -0300, Luiz Capitulino wrote:
On Tue, 21 Aug 2012 13:57:54 +0200
Guido Günther a...@sigxcpu.org wrote:
This allows to retrieve the guest's hostname via gethostname(2).
This can be useful to identify a VM e.g. one without network.
Signed-off-by:
On Tue, Aug 21, 2012 at 07:31:17PM +0100, Daniel P. Berrange wrote:
On Tue, Aug 21, 2012 at 01:57:54PM +0200, Guido Günther wrote:
[..snip..]
Why no impl ? Winsock has the gethostname() API too
$ grep gethostname /usr/i686-w64-mingw32/sys-root/mingw/include/*.h
On Wed, Aug 22, 2012 at 10:04:33AM +0200, Guido Günther wrote:
On Tue, Aug 21, 2012 at 07:31:17PM +0100, Daniel P. Berrange wrote:
On Tue, Aug 21, 2012 at 01:57:54PM +0200, Guido Günther wrote:
[..snip..]
Why no impl ? Winsock has the gethostname() API too
$ grep gethostname
This allows to retrieve the guest's hostname via gethostname(2).
This can be useful to identify a VM e.g. one without network.
Signed-off-by: Guido Günther a...@sigxcpu.org
---
We have an API in libvirt for that (virDomainGetHostname).
Cheers
-- Guido
qapi-schema-guest.json | 12
On Tue, Aug 21, 2012 at 01:57:54PM +0200, Guido Günther wrote:
This allows to retrieve the guest's hostname via gethostname(2).
This can be useful to identify a VM e.g. one without network.
Signed-off-by: Guido Günther a...@sigxcpu.org
---
We have an API in libvirt for that
On 08/21/2012 05:57 AM, Guido Günther wrote:
This allows to retrieve the guest's hostname via gethostname(2).
This can be useful to identify a VM e.g. one without network.
Signed-off-by: Guido Günther a...@sigxcpu.org
---
We have an API in libvirt for that (virDomainGetHostname).
Cheers