[libvirt] [PATCH] openvz; wire up getHostname

Guido Günther agx at sigxcpu.org
Thu Apr 19 22:32:21 UTC 2012


---
Trivial thing missing in the openvz driver.
Cheers,
 -- Guido

 src/openvz/openvz_driver.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c
index 0451c22..7ec327d 100644
--- a/src/openvz/openvz_driver.c
+++ b/src/openvz/openvz_driver.c
@@ -1679,6 +1679,7 @@ static virDriver openvzDriver = {
     .close = openvzClose, /* 0.3.1 */
     .type = openvzGetType, /* 0.3.1 */
     .version = openvzGetVersion, /* 0.5.0 */
+    .getHostname = virGetHostname, /* 0.9.12 */
     .getMaxVcpus = openvzGetMaxVCPUs, /* 0.4.6 */
     .nodeGetInfo = nodeGetInfo, /* 0.3.2 */
     .nodeGetCPUStats = nodeGetCPUStats, /* 0.9.12 */
-- 
1.7.10




More information about the libvir-list mailing list