Bug #193

VCPU for XEN is not working

Added by Nils Dijk over 11 years ago. Updated over 11 years ago.

Status:ClosedStart date:02/19/2010
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Drivers - AuthEstimated time:0.50 hour
Target version:Release 1.4.2
Resolution:fixed Pull request:
Affected Versions:

Description

Currently it is not possible to allocate multiple cpu's to a virtual machine in xen because the vcpu value is stored in the wrong field in de deployment file.
One stores it in 'vcpu' while XEN is expecting it to be in 'vcpus'. I mannaged to fix the bug by editing the vmm XenDriver in src/vmm/XenDriver.cc on line 134:

if (!vcpu.empty())
{
file << "vcpu = '" << vcpu << "'" << endl; // line 134
}

Fix for the xen driver:

if (!vcpu.empty())
{
file << "vcpus = '" << vcpu << "'" << endl; // line 134
}

Nils Dijk
- Nikhef

Associated revisions

Revision 28dee90b
Added by Ruben S. Montero over 11 years ago

bug #193 fixes VCPU in Xen, patch by Nils Dijk (Nikhef)

Revision c3068bd2
Added by Ruben S. Montero over 11 years ago

bug #193 fixes VCPU in Xen, patch by Nils Dijk (Nikhef)

History

#1 Updated by Ruben S. Montero over 11 years ago

  • Status changed from New to Closed
  • Assignee changed from Javi Fontan to Ruben S. Montero
  • Target version set to Release 1.4
  • Resolution set to fixed

The patch has been applied to the master and one-1.4 branches

Thanks for the patch Nils!

Ruben

#2 Updated by Ruben S. Montero over 11 years ago

  • Target version changed from Release 1.4 to Release 1.4.2

Also available in: Atom PDF