Bug #193
VCPU for XEN is not working
Status: | Closed | Start date: | 02/19/2010 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Ruben S. Montero | % Done: | 0% | |
Category: | Drivers - Auth | Estimated 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
bug #193 fixes VCPU in Xen, patch by Nils Dijk (Nikhef)
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