summaryrefslogtreecommitdiff
path: root/virtinst/domain/cpu.py
diff options
context:
space:
mode:
Diffstat (limited to 'virtinst/domain/cpu.py')
-rw-r--r--virtinst/domain/cpu.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/virtinst/domain/cpu.py b/virtinst/domain/cpu.py
index b7ca764c..dfc8bb43 100644
--- a/virtinst/domain/cpu.py
+++ b/virtinst/domain/cpu.py
@@ -365,6 +365,7 @@ class DomainCpu(XMLBuilder):
no topology is set
"""
return ((self.topology.sockets or 1) *
+ (self.topology.dies or 1) *
(self.topology.cores or 1) *
(self.topology.threads or 1))