Since refactoring by commit id '
3dd859c0', @maxcpu is no longer used.
virDomainObjPtr privdom;
virDomainDefPtr def;
size_t i;
- int maxcpu, hostcpus;
+ int hostcpus;
int ret = -1;
struct timeval tv;
unsigned long long statbase;
statbase = (tv.tv_sec * 1000UL * 1000UL) + tv.tv_usec;
hostcpus = VIR_NODEINFO_MAXCPUS(privconn->nodeInfo);
- maxcpu = maplen * 8;
- if (maxcpu > hostcpus)
- maxcpu = hostcpus;
-
if (!(allcpumap = virBitmapNew(hostcpus)))
goto cleanup;