search for: _architecture

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

Did you mean: architecture
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.
2010 May 13
0
[PATCH matahari] Moving QMF functionality into a transport layer.
...visor) +{ + _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 = architecture; +} - struct sysinfo sysinf; - if(!sysinfo(&sysinf)) - { - memory = sysinf.totalram / 1024L; - } - else - { - throw runtime_error("Unable to retrieve system memory details."); - } +string +Host::g...