(self, name)
| 22 | return int(mem) / 1024 |
| 23 | |
| 24 | def get_instance_vcpu(self, name): |
| 25 | inst = self.get_instance(name) |
| 26 | cur_vcpu = util.get_xml_path(inst.XMLDesc(0), "/domain/vcpu/@current") |
| 27 | if cur_vcpu: |
| 28 | vcpu = cur_vcpu |
| 29 | else: |
| 30 | vcpu = util.get_xml_path(inst.XMLDesc(0), "/domain/vcpu") |
| 31 | return vcpu |
| 32 | |
| 33 | def get_instance_managed_save_image(self, name): |
| 34 | inst = self.get_instance(name) |
nothing calls this directly
no test coverage detected