Bug 784932 - virDomainGetVcpus - returns libvir: Remote error : vCPU count exceeds maximum: 4216710 > 2048
virDomainGetVcpus - returns libvir: Remote error : vCPU count exceeds maximum...
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: libvirt (Show other bugs)
15
x86_64 Linux
unspecified Severity high
: ---
: ---
Assigned To: Libvirt Maintainers
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-26 12:44 EST by pitnvrsk
Modified: 2012-06-06 20:36 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-06 20:36:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description pitnvrsk 2012-01-26 12:44:06 EST
Description of problem:

General qemu-kvm machine

Version-Release number of selected component (if applicable):
libvirt 0.8.8

How reproducible:
always


<currentMemory>1048576</currentMemory>\
		  <vcpu>4</vcpu>\
		  <os>\
		    <type arch='x86_64' machine='pc-0.14'>hvm</type>\


Steps to Reproduce:
int main(int argc, char *argv[])
{

	struct t_vmstat *mystat;

	int id=-1;

	init_lib();
	id = vm_start(2);

	vm_start(3); // no such machine just check function, networks the same as for 2, so no real vm will be started
	vm_start(4);// no such machine just check function, networks the same as for 2, so no real vm will be started
       
        printf(" \n");
        printf("Going to sleep for 6 sec\n");
        printf(" \n");

	sleep(6);

	vm_stop(10); // no such machine just check function
	vm_stop(3); // no such machine just check function

	printf(" \n Checking statistic:");
	mystat = vm_stat(1);
	if(NULL!=mystat)
	{
		printf("INFO",mystat->info);
		printf(" \n");
		printf("MAXINFO");
		printf(mystat->maxinfo);
		printf(" \n");
	}
	else printf("O sh... it is NULL2");
// here i got libvir: Remote error : vCPU count exceeds maximum: 4216710 > 2048

	shut_lib(); // will stop id = vm_start(2);

  
Actual results:


Expected results:

virDomainGetVcpus  - should return as expected from docs

Additional info:
Comment 1 Cole Robinson 2012-06-06 20:36:05 EDT
Sorry for the lack of response, but F15 is end of life real soon, so closing as WONTFIX.

pitnvrsk, if you can still reproduce with a more recent Fedora, please reopen this report and we can go from there.

Note You need to log in before you can comment on or make changes to this bug.