mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-09 08:58:27 +03:00
guest: Add a comment about the vcpu situation
This commit is contained in:
parent
7ef20e26b0
commit
5077f97000
@ -709,6 +709,9 @@ class Guest(XMLBuilder):
|
||||
|
||||
self.sync_vcpus_topology()
|
||||
if not self.vcpus:
|
||||
# Typically if omitted libvirt will fill this value in for us
|
||||
# However if user specified cpuset= or placement=, libvirt
|
||||
# will error if <vcpus>X is also unset. So keep this for safety
|
||||
self.vcpus = 1
|
||||
|
||||
self._set_default_machine()
|
||||
|
Loading…
x
Reference in New Issue
Block a user