You have been subscribed to a public bug:

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 <saxena.pre...@in.ibm.com> - ==
UPSTREAM:
-----------------
commit 3bc6dda6c55ed2ebc8604b9dc0410639eaede8cb
Author: Cole Robinson <crobi...@redhat.com>
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 <saxena.pre...@in.ibm.com> - ==
UPSTREAM:
----------------
commit 445a09bdc96ca6e434bfdcca75752ee316289bbe
Author: Cole Robinson <crobi...@redhat.com>
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 <saxena.pre...@in.ibm.com> -  ==
UPSTREAM:
-----------------
commit da636d83dc6b1d070a705786b4daef8644eaca13
Author: Prerna Saxena <pre...@linux.vnet.ibm.com>
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 <saxena.pre...@in.ibm.com> - ==
UPSTREAM:
commit addce06c9221f948072cd222b56ea9c3f70ec066
Author: Prerna Saxena <pre...@linux.vnet.ibm.com>
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 <saxena.pre...@in.ibm.com> - ==
UPSTREAM:
----------------

commit 1e911742287d964055f33ab76d53e673a9b4477f
Author: Prerna Saxena <pre...@linux.vnet.ibm.com>
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 <saxena.pre...@in.ibm.com> -  ==
UPSTREAM:

commit 9265fd19b68d787e478f5e490524da794965a5f1
Author: Prerna Saxena <pre...@linux.vnet.ibm.com>
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 <pre...@linux.vnet.ibm.com>
    Reviewed-by: Michal Privoznik <mpriv...@redhat.com>

== Comment: #7 - PRERNA SAXENA <saxena.pre...@in.ibm.com> -  ==
UPSTREAM:

commit 12c381114ce362e49cadb730b5faabbc150a8878
Author: Prerna Saxena <pre...@linux.vnet.ibm.com>
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 <pre...@linux.vnet.ibm.com>
    Reviewed-by: Michal Privoznik <mpriv...@redhat.com>

== Comment: #8 - PRERNA SAXENA <saxena.pre...@in.ibm.com> -  ==
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: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: architecture-ppc64le bot-comment bugnameltc-119156 severity-medium 
targetmilestone-inin1410
-- 
Libvirt patches for launching VMs with 'ppc64le' architecture.
https://bugs.launchpad.net/bugs/1396070
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to libvirt in Ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to