search for: cleanupqmfobject

Displaying 5 results from an estimated 5 matches for "cleanupqmfobject".

2010 Apr 15
1
[PATCH matahari] Refactored the Host agent.
...cQMFHostObject(void) -{ - mgmt_object->set_uuid(uuid); - mgmt_object->set_hostname(hostname); - mgmt_object->set_memory(memory); - mgmt_object->set_hypervisor(hypervisor); - mgmt_object->set_arch(arch); - mgmt_object->set_beeping(beeping); -} - -void HostWrapper::cleanupQMFObjects(void) -{ - // Clean up Host object - mgmt_object->resourceDestroy(); - - // Iterate over list and clean up CPU objects - for (vector<CPUWrapper*>::iterator iter = cpus.begin(); - iter!= cpus.end(); - iter++) { - (*iter)->cleanupQMFObject(); - } -...
2010 Apr 19
1
[PATCH matahari] Removes all code for the previous CPUWrapper class.
...; "Flags: " << cpu.flags << endl; - return output; -} - -void CPUWrapper::setupQMFObject(ManagementAgent *agent, Manageable *parent) -{ - mgmt_object = new _qmf::CPU(agent, this, parent); - agent->addObject(mgmt_object); - syncQMFObject(); -} - -void CPUWrapper::cleanupQMFObject(void) -{ - mgmt_object->resourceDestroy(); -} - -void CPUWrapper::syncQMFObject(void) -{ - mgmt_object->set_cpunum(cpunum); - mgmt_object->set_corenum(corenum); - mgmt_object->set_numcores(numcores); - mgmt_object->set_model(model); - mgmt_object->set_family(fami...
2010 Mar 15
0
[PATCH] Updated the list of ignored files and fixed whitespace issues.
...t; << cpu.cpunum << endl; @@ -61,7 +61,7 @@ void CPUWrapper::setupQMFObject(ManagementAgent *agent, Manageable *parent) { mgmt_object = new _qmf::CPU(agent, this, parent); agent->addObject(mgmt_object); - syncQMFObject(); + syncQMFObject(); } void CPUWrapper::cleanupQMFObject(void) @@ -85,7 +85,7 @@ void CPUWrapper::syncQMFObject(void) /** * void fillCPUInfo(vector <CPUWrapper*> &cpus, ManagementAgent *agent) - * + * * Takes in a vector of CPUWrapper object pointers and populates it with * CPUs found by querying /proc/cpuinfo. NOTE: This method is ve...
2010 Apr 26
0
[PATCH matahari] Created the NetworkDevice agent.
...Bandwidth: " << nic.bandwidth << endl; - return output; -} - -void NICWrapper::setupQMFObject(ManagementAgent *agent, Manageable *parent) -{ - mgmt_object = new _qmf::NIC(agent, this, parent); - agent->addObject(mgmt_object); - syncQMFObject(); -} - -void NICWrapper::cleanupQMFObject(void) -{ - mgmt_object->resourceDestroy(); -} - -void NICWrapper::syncQMFObject(void) -{ - mgmt_object->set_interface(interfaceName); - mgmt_object->set_macaddr(macaddr); - mgmt_object->set_ipaddr(ipaddr); - mgmt_object->set_netmask(netmask); - mgmt_object->set_b...
2010 Apr 26
2
Patch supercedes previous patch...
In looking at the code I realized that the last of the HAL depenencies were removed with this patch. So, I'm pushing an updated patch that contains none of the HAL code in it.