Bug 784932 - virDomainGetVcpus - returns libvir: Remote error : vCPU count exceeds maximum: 4216710 > 2048
Summary: virDomainGetVcpus - returns libvir: Remote error : vCPU count exceeds maximum...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 15
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-26 17:44 UTC by pitnvrsk
Modified: 2012-06-07 00:36 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-07 00:36:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description pitnvrsk 2012-01-26 17:44:06 UTC
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-07 00:36:05 UTC
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.