(self)
| 172 | return int(vcpu) |
| 173 | |
| 174 | def get_cur_vcpu(self): |
| 175 | cur_vcpu = util.get_xml_path(self._XMLDesc(0), "/domain/vcpu/@current") |
| 176 | if cur_vcpu: |
| 177 | return int(cur_vcpu) |
| 178 | |
| 179 | def get_memory(self): |
| 180 | mem = util.get_xml_path(self._XMLDesc(0), "/domain/memory") |