Giuseppe Scrivano <gscrivan@xxxxxxxxxx> writes: > The "current" XML attribute of vcpu is optional and assumed to be > equal to the maximum number of vcpus when not specified. > > It fixes this exception: > > Traceback (most recent call last): > File "virt-manager/virtManager/details.py", line 1180, in > hw_selected > self.refresh_config_cpu() > File "virt-manager/virtManager/details.py", line 2742, in > refresh_config_cpu > self._refresh_cpu_count() > File "virt-manager/virtManager/details.py", line 2638, in > _refresh_cpu_count > curvcpus = self.vm.vcpu_count() > File "virt-manager/virtManager/domain.py", line 1039, in vcpu_count > return int(self.get_xmlobj().curvcpus) > TypeError: int() argument must be a string or a number, not 'NoneType' > > Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx> > --- NAK myself. It seems to be fixed by the patch "details: Fix processor tab display for some LXC guests" that Martin sent few days ago, it is still pending on the list and I didn't check when I've firstly seen this problem. Giuseppe _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list