search for: lvconn

Displaying 2 results from an estimated 2 matches for "lvconn".

Did you mean: conn
2010 May 13
0
[PATCH matahari] Moving QMF functionality into a transport layer.
...hostname = string(details.nodename); - architecture = string(details.machine); - } - else - { - throw runtime_error("Unable to retrieve system details"); - } +void +Host::set_hypervisor(const string hypervisor) +{ + _hypervisor = hypervisor; +} - virConnectPtr lvconn = virConnectOpenReadOnly(NULL); +string +Host::get_hypervisor() const +{ + return _hypervisor; +} - if(lvconn) - { - hypervisor = string(virConnectGetType(lvconn)); - virConnectClose(lvconn); - } +void +Host::set_architecture(const string architecture) +{ + _architecture = arch...
2010 May 19
2
Squashed commits...
Refactoring the previous patch ended up creating two deltas. This patch pushes them both together into a single commit.