Libvirt patches for launching VMs with 'ppc64le' architecture.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Problem Description
=======
Patches needed to enable LE architecture support for libvirt
---uname output---
3.16
Machine Type = POWER8
Steps to Reproduce
=======
This lists the patches needed to enable libvirt to launch VMs with 'ppc64le' architecture on Ubuntu 14.10.
Userspace tool common name: libvirt
The userspace tool has the following bit modes: 64 bit
Userspace rpm: libvirt
== Comment: #1 - PRERNA SAXENA <email address hidden> - ==
UPSTREAM:
-----------------
commit 3bc6dda6c55ed2e
Author: Cole Robinson <email address hidden>
Date: Tue Sep 23 11:35:57 2014 -0400
qemu_command: Split qemuBuildCpuArgStr
Move the CPU mode/model handling to its own function. This is just
code movement and re-indentation.
== Comment: #2 - PRERNA SAXENA <email address hidden> - ==
UPSTREAM:
----------------
commit 445a09bdc96ca6e
Author: Cole Robinson <email address hidden>
Date: Tue Sep 23 13:07:09 2014 -0400
qemu: Don't compare CPU against host for TCG
Right now when building the qemu command line, we try to do various
unconditional validations of the guest CPU against the host CPU. However
this checks are overly applied. The only time we should use the checks
are:
== Comment: #3 - PRERNA SAXENA <email address hidden> - ==
UPSTREAM:
-----------------
commit da636d83dc6b1d0
Author: Prerna Saxena <email address hidden>
Date: Tue Nov 4 22:51:26 2014 +0530
Cpu: Add support for Power LE Architecture.
This adds support for PowerPC Little Endian architecture.,
and allows libvirt to spawn VMs based on 'ppc64le' architecture.
== Comment: #4 - PRERNA SAXENA <email address hidden> - ==
UPSTREAM:
commit addce06c9221f94
Author: Prerna Saxena <email address hidden>
Date: Tue Nov 4 22:52:44 2014 +0530
PowerPC : Add support for launching VM in 'compat' mode.
PowerISA allows processors to run VMs in binary compatibility ("compat")
mode supporting an older version of ISA. QEMU has recently added support to
explicitly denote a VM running in compatibility mode through commit 6d9412ea
& 8dfa3a5e85. Now, a "compat" mode VM can be run by invoking this qemu
commandline on a POWER8 host: -cpu host,compat=power7.
== Comment: #5 - PRERNA SAXENA <email address hidden> - ==
UPSTREAM:
----------------
commit 1e911742287d964
Author: Prerna Saxena <email address hidden>
Date: Tue Nov 4 22:58:33 2014 +0530
PowerPC:Improve PVR handling to fall back to cpu generation.
IBM Power processors differ uniquely across generations (such as power6,
power7, power8). Each generation signifies a new PowerISA version
that exhibits features unique to that generation.
The higher 16 bits of PVR for IBM Power processors encode the CPU
generation, while the CPU chip (sub)version is encoded in lower 16 bits.
== Comment: #6 - PRERNA SAXENA <email address hidden> - ==
UPSTREAM:
commit 9265fd19b68d787
Author: Prerna Saxena <email address hidden>
Date: Tue Nov 4 23:00:36 2014 +0530
docs: Add documentation for compat mode.
Add documentation to explain how compat-mode can be invoked with libvirt
running on PowerPC architecture.
It also mentions that this change is available libvirt 1.2.11 onwards.
Signed-off-by: Prerna Saxena <email address hidden>
Reviewed-by: Michal Privoznik <email address hidden>
== Comment: #7 - PRERNA SAXENA <email address hidden> - ==
UPSTREAM:
commit 12c381114ce362e
Author: Prerna Saxena <email address hidden>
Date: Tue Nov 4 23:02:15 2014 +0530
Test: Add a testcase for PowerPC compat mode cpu specification.
This introduces a testcase for PowerPC compat mode cpu specification.
Signed-off-by: Prerna Saxena <email address hidden>
Reviewed-by: Michal Privoznik <email address hidden>
== Comment: #8 - PRERNA SAXENA <email address hidden> - ==
These patches have been tested -- they build fine against the libvirt 1.2.8 sources that are packaged with Ubuntu 14.10.
I have included a reference to the upstream commit in each case.
affects: | ubuntu → libvirt (Ubuntu) |
Changed in libvirt (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in libvirt (Ubuntu): | |
assignee: | nobody → Stefan Bader (smb) |
tags: |
added: targetmilestone-inin1504 removed: targetmilestone-inin1410 |
Default Comment by Bridge