qemu: Missing transaction memory advertisement

Bug #1664622 reported by bugproxy
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
qemu (Ubuntu)
Fix Released
Undecided
Taco Screen team
Xenial
Won't Fix
Undecided
Unassigned
Yakkety
Won't Fix
Undecided
Unassigned

Bug Description

[Impact]

 * The non HW assisted virtualization (kvm-pr) on PowerPC announces
   support for the Transactional memory feature but does not fully
   support it. Due to that guests crash.

 * The fix essentially takes away the TM feature by default and only
   enables it incertain cases where it is correct (right HW and recent
   KVM-HV implementation)

[Test Case]

 * Repro
   1. install uvtool-libvirt in Host
   2. uvt-simplestreams-libvirt sync --source http://cloud-images.ubuntu.com/daily arch=ppc64el label=daily release=xenial
   3. $ cat /home/ubuntu/ppc-template.xml
<domain type='kvm'>
  <os>
    <type>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <devices>
    <interface type='network'>
      <source network='default'/>
      <model type='virtio'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/3'/>
      <target port='0'/>
    </serial>
    <graphics type='vnc' autoport='yes' listen='127.0.0.1'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
    <video/>
  </devices>
</domain>
   4. $ uvt-kvm create --memory 4096 --template /home/ubuntu/ppc-template.xml --password=ubuntu --ssh-public-key-file /home/ubuntu/.ssh/authorized_keys kvmguest-xenial-level1 release=xenial arch=ppc64el label=daily
   5. log into this guest (all following steps are in level1 guest to
      spawn a level2 guest)
   6. ensure kvm_pr is loaded correctly
      This is in the extras package which is not installed by default
      (other bug). Get it with
      $ apt-get install linux-image-extra-virtual
      $ modprobe kvm_pr
      $ lsmod | grep kvm_pr
   7. make sure libvirt default network can start in 2nd level
      There likely is a network collision, use virsh net-edit to dix and
      then virsh net-start to start the network
   8. Get Original Xenial Ubuntu image
      wget http://old-releases.ubuntu.com/releases/16.04.0/ubuntu-16.04-server-ppc64el.iso
   9. sudo apt install virtinst
10. $ virt-install --virt-type=kvm --cpu=host --name=nested-xenial --controller type=scsi,model=virtio-scsi --graphics none --console pty,target_type=serial --disk path=/home/ubuntu/test-xenial-virt-inst.qcow2,size=4 --vcpus=4 --ram=2048 --os-type=linux --os-variant ubuntu16.04 --network bridge=virbr0,model=virtio --cdrom=ubuntu-16.04-server-ppc64el.iso
   11. See crash on guest install/boot

 * Installing the fixed qemu in the 1st level (not on Bare Metal) before retrying step 11 should show the issue being fixed

[Regression Potential]

 * It is changing features announced to the guest, but then it is only
   taking it away in cases it won't work

 * The change is ppc64el "only" which restricts the audience to be hit
   by regressions and even there kvm_pr (problem state virtualization)
   is a rare case usually only for Testing/CI

 * Changes are upstream in qemu a while now without being revoked and
   come from IBM themselves.

-------

== Comment: #0 - Breno Henrique Leitao <email address hidden> - 2017-02-14 10:03:03 ==
We don't support transactional memory in PR KVM, so don't tell the OS that we do.

These are the required patches:

commit 2e68f28854f0120c9a938a61b64aaf1eaecb162b
Author: Thomas Huth <email address hidden>
Date: Wed Sep 28 13:16:30 2016 +0200

    ppc: Check the availability of transactional memory

    KVM-PR currently does not support transactional memory, and the
    implementation in TCG is just a fake. We should not announce TM
    support in the ibm,pa-features property when running on such a
    system, so disable it by default and only enable it if the KVM
    implementation supports it (i.e. recent versions of KVM-HV).
    These changes are based on some earlier work from Anton Blanchard
    (thanks!).

    Signed-off-by: Thomas Huth <email address hidden>
    Reviewed-by: C?dric Le Goater <email address hidden>
    Signed-off-by: David Gibson <email address hidden>
    (cherry picked from commit bac3bf287ab60e264b636f5f00c116a19b655762)

commit 45a4f18e2ec40b96893c780c28ab18c246906355
Author: Thomas Huth <email address hidden>
Date: Wed Sep 28 13:16:29 2016 +0200

    hw/ppc/spapr: Fix the selection of the processor features

    The current code uses pa_features_206 for POWERPC_MMU_2_06, and
    for everything else, it uses pa_features_207. This is bad in some
    cases because there is also a "degraded" MMU version of ISA 2.06,
    called POWERPC_MMU_2_06a, which should of course use the flags for
    2.06 instead. And there is also the possibility that the user runs
    the pseries machine with a POWER5+ or even 970 processor. In that
    case we certainly do not want to set the flags for 2.07, and rather
    simply skip the setting of the pa-features property instead.

    Signed-off-by: Thomas Huth <email address hidden>
    Reviewed-by: C?dric Le Goater <email address hidden>
    Signed-off-by: David Gibson <email address hidden>
    (cherry picked from commit 4cbec30d769a73853b60dc7f275e6e7da9ab5162)

commit 5c179666057a7568306062e2cd030042a25eb57a
Author: Thomas Huth <email address hidden>
Date: Wed Sep 28 13:16:28 2016 +0200

    hw/ppc/spapr: Move code related to "ibm,pa-features" to a separate function

    The function spapr_populate_cpu_dt() has become quite big
    already, and since we likely have to extend the pa-features
    property for every new processor generation, it is nicer
    if we put the related code into a separate function.

    Signed-off-by: Thomas Huth <email address hidden>
    Reviewed-by: C?dric Le Goater <email address hidden>
    Signed-off-by: David Gibson <email address hidden>
    (cherry picked from commit 230bf719d3a3b144a4ffa441e5d6170ef0ad8999)

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-151465 severity-high targetmilestone-inin16042
Changed in ubuntu:
assignee: nobody → Taco Screen team (taco-screen-team)
affects: ubuntu → qemu (Ubuntu)
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi
1. what releases are you think need to get fixed?
   I didn't check yet, but you might already know.

2. Could you quickly check if we can close bug 1660946 as dup to this one?
   They seem so similar at least to me.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

According to qemu git the patches are all in >=v2.7.1
Since zesty already holds 2.8 setting status accordingly.

Changed in qemu (Ubuntu):
status: New → Fix Released
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Assuming you request Xenial for now, but as asked in comment #1.1 - please share your intentions where this has to go to.
If you meant Xenial, do you have checked back-portability of those?

Also don't miss #1.2 as it would help to work on these as one.

Revision history for this message
Breno Leitão (breno-leitao) wrote : Re: [Bug 1664622] Re: qemu: Missing transaction memory advertisement

Hi Christian,

1) We would like to have it fixed in 16.04.

2) Yes, unfortunately I didn't find 1660946, thus, opened this one. Both of
them requires the same fix, and one of them could be dup.

On Tue, Feb 14, 2017 at 2:32 PM, ChristianEhrhardt <
<email address hidden>> wrote:

> Hi
> 1. what releases are you think need to get fixed?
> I didn't check yet, but you might already know.
>
> 2. Could you quickly check if we can close bug 1660946 as dup to this one?
> They seem so similar at least to me.
>
> --
> You received this bug notification because you are a member of Taco
> Screen team, which is a bug assignee.
> https://bugs.launchpad.net/bugs/1664622
>
> Title:
> qemu: Missing transaction memory advertisement
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1664622/+subscriptions
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qemu (Ubuntu Xenial):
status: New → Confirmed
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks,
I was comparing your suggestion:
http://git.qemu-project.org/?p=qemu.git;a=commitdiff;h=2e68f28854f0120c9a938a61b64aaf1eaecb162b
http://git.qemu-project.org/?p=qemu.git;a=commitdiff;h=45a4f18e2ec40b96893c780c28ab18c246906355
http://git.qemu-project.org/?p=qemu.git;a=commitdiff;h=5c179666057a7568306062e2cd030042a25eb57a

With Thomas who pointed out (only) to:
http://git.qemu-project.org/?p=qemu.git;a=commitdiff;h=bac3bf287ab60e264b6

Now of these 2e68f288 and bac3bf28 are the same.
Just one being 2.8 dev and one the 2.7.1 stable backport cherry pick.
The others you listed here seem to be more from 2.7.1.

Since the changes are from Thomas I'd hope he can tell us if we only need one or all three.

Revision history for this message
Thomas Huth (th-huth) wrote :

I think you need at least also the first patch that moves the code into a separate function. Otherwise you'll have to resolve the conflicts manually.

Changed in qemu (Ubuntu Yakkety):
status: New → Confirmed
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Preliminary builds as preparation for an SRU currently building at

Xenial https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2502

Yakkety https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2503

My testing will start on those, but if you can please give it as much testing as you can as well.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Tests for any regressions on the ppa look good so far, going to try to test the fixed case explicitly.

If the Openstack CI team (from the dupped bug) could test that in their env as well that would be great.

Revision history for this message
Rafael Folco (rafaelfolco) wrote :

Christian,

I just tested Xenial's ppa[1] and confirm it works.
[1] https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2502

Thanks!

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks Rafael, I'm already testing myself and updating the description to have a proper SRU Template then.

I have to wait on confirmation on two more bugs which shall be part of this SRU (one need special HW and one needs better repro steps) - once those are resolved or dropped from the SRU this will move on to upload/proposed.

description: updated
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Note: for testing, please do note that there seems also a guest kernel fix to tolerate that as the iso of 16.04.2 works with and without the fix for me - and at this stage it should only be the newer kernel/initrd that matters.

@Rafael - in your tests did you test with the same ISO as in the past or did you happen to use the just released 16.04.2 iso? Not that we fail-assume it is fixed now.

Revision history for this message
Rafael Folco (rafaelfolco) wrote :

@Christian, good catch. I apologize for reporting a false positive.
Looks like all what matters is the kernel version.

I was able to boot new ISO images with regular qemu provided, but failed to boot old ISOs.

I've used this one http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/main/installer-ppc64el/current/images/netboot/mini.iso.
 2017-02-15 14:05 64M

With the current iso, it works.

Still getting HTM exception with old iso... even updating to new qemu from ppa:

http://ports.ubuntu.com/ubuntu-ports/dists/xenial-updates/main/installer-ppc64el/20101020ubuntu451.6/images/netboot/mini.iso
2016-10-12 12:32 62M

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

@Rafael - no need to apologize at all. I'm pleased with your active participation and that is all it needs to make work on a bug good. This isn't on your shoulders alone :-)

At least the Testcase is more clear now, based on your good initial report and updated by me here (see Bug Description above)

But that means we have to refer to the HW experts to solve that. I don't easily see what is missing atm. The patches that were suggested were all backported so far.

@IBM = @bugproxy(and maybe @Thomas Huth if you can spend a bit of Time):
I have to ask on your expertise now.
Could you take a look if either my backport has issues - I hope not as it not only builds (trivial) but also passes all other tests I have done so far - so it seems more incomplete than wrong to me.
What would come to your mind, any more patches missing here?
There is also a backport for another PPC HW issue in the overall Delta - might those interfere in a bad way?

Since I hope to get your help I want to make it easy for you to review the current Diff, so I pushed a git repo of the changes to:
https://git.launchpad.net/~paelzer/ubuntu/+source/qemu?h=SRU-2.5%2Bdfsg-5ubuntu10.10

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Descheduled from next SRU to unblock other fixes to be able to move into the release.
Setting to incomplete until info provided.

Changed in qemu (Ubuntu Xenial):
status: Confirmed → Incomplete
Changed in qemu (Ubuntu Yakkety):
status: Confirmed → Incomplete
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla
Download full text (6.8 KiB)

== Comment: #0 - Breno Henrique Leitao <email address hidden> - 2017-02-14 10:03:03 ==
We don't support transactional memory in PR KVM, so don't tell the OS that we do.

These are the required patches:

commit 2e68f28854f0120c9a938a61b64aaf1eaecb162b
Author: Thomas Huth <email address hidden>
Date: Wed Sep 28 13:16:30 2016 +0200

ppc: Check the availability of transactional memory

KVM-PR currently does not support transactional memory, and the
implementation in TCG is just a fake. We should not announce TM
support in the ibm,pa-features property when running on such a
system, so disable it by default and only enable it if the KVM
implementation supports it (i.e. recent versions of KVM-HV).
These changes are based on some earlier work from Anton Blanchard
(thanks!).

Signed-off-by: Thomas Huth <email address hidden>
Reviewed-by: C?dric Le Goater <email address hidden>
Signed-off-by: David Gibson <email address hidden>
(cherry picked from commit bac3bf287ab60e264b636f5f00c116a19b655762)

commit 45a4f18e2ec40b96893c780c28ab18c246906355
Author: Thomas Huth <email address hidden>
Date: Wed Sep 28 13:16:29 2016 +0200

hw/ppc/spapr: Fix the selection of the processor features

The current code uses pa_features_206 for POWERPC_MMU_2_06, and
for everything else, it uses pa_features_207. This is bad in some
cases because there is also a "degraded" MMU version of ISA 2.06,
called POWERPC_MMU_2_06a, which should of course use the flags for
2.06 instead. And there is also the possibility that the user runs
the pseries machine with a POWER5+ or even 970 processor. In that
case we certainly do not want to set the flags for 2.07, and rather
simply skip the setting of the pa-features property instead.

Signed-off-by: Thomas Huth <email address hidden>
Reviewed-by: C?dric Le Goater <email address hidden>
Signed-off-by: David Gibson <email address hidden>
(cherry picked from commit 4cbec30d769a73853b60dc7f275e6e7da9ab5162)

commit 5c179666057a7568306062e2cd030042a25eb57a
Author: Thomas Huth <email address hidden>
Date: Wed Sep 28 13:16:28 2016 +0200

hw/ppc/spapr: Move code related to "ibm,pa-features" to a separate function

The function spapr_populate_cpu_dt() has become quite big
already, and since we likely have to extend the pa-features
property for every new processor generation, it is nicer
if we put the related code into a separate function.

Signed-off-by: Thomas Huth <email address hidden>
Reviewed-by: C?dric Le Goater <email address hidden>
Signed-off-by: David Gibson <email address hidden>
(cherry picked from commit 230bf719d3a3b144a4ffa441e5d6170ef0ad8999)

Hi
1. what releases are you think need to get fixed?
I didn't check yet, but you might already know.

2. Could you quickly check if we can close bug 1660946 as dup to this one?
They seem so similar at least to me.

According to qemu git the patches are all in >=v2.7.1
Since zesty already holds 2.8 setting status accordingly.

Assuming you request Xenial for now, but as asked in comment #1.1 - please share your intentions where this has to go to.
If you meant Xenial, do you have checked back-portability of those?

Also don't miss #1.2 as it would help to work on these as one.

Hi Christian,

1) We would like to have i...

Read more...

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hmm,
the only reply so far was a mirror of the description back from bugproxy.
Was there any update we missed not being mirrored?

@lagarcia
 - given that the verification failed, do you see other patches being needed?
 - feel free to check the ppa on your own - you can even download the source there or ping me if needed.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-03-20 16:34 EDT-------
Hello,

Just a quick update: after debugging QEMU, I'm now believing that the problem is in the Kernel. Because the issue happens even after disabling the TM capability (hardcode), the Kernel was not supposed to see that capability. I'm still investigating the issue and will update this bug as soon as I find something new.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you <email address hidden>, since the bug is rather lengthy already be advised that the newer kernels in Ubuntu already fix it. So e.g. booting with 16.04.2 ISO works just fine.
Maybe that helps you in tracking that issue down.
The question is only if there is also a reasonable qemu fix to make older guest kernels work.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-03-26 21:07 EDT-------
Unfortunately I haven't anything in QEMU that could help it here now. However, regarding this issue, I found two commits in the Kernel that solves the problem:

https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=5d176f751ee3c6eededd984ad409bff201f436a7

powerpc: tm: Enable transactional memory (TM) lazily for userspace
Currently the MSR TM bit is always set if the hardware is TM capable.
This adds extra overhead as it means the TM SPRS (TFHAR, TEXASR and
TFAIR) must be swapped for each process regardless of if they use TM.

For processes that don't use TM the TM MSR bit can be turned off
allowing the kernel to avoid the expensive swap of the TM registers.

A TM unavailable exception will occur if a thread does use TM and the
kernel will enable MSR_TM and leave it so for some time afterwards.

Signed-off-by: Cyril Bur <email address hidden>
Signed-off-by: Michael Ellerman <email address hidden>

AND

https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=172f7aaa75d0eaae167edde25c08aae9059e80fc

powerpc/tm: Add TM Unavailable Exception
If the kernel disables transactional memory (TM) and userspace still
tries TM related actions (TM instructions or TM SPR accesses) TM aware
hardware will cause the kernel to take a facility unavailable
exception.

Add checks for the exception being caused by illegal TM access in
userspace.

Signed-off-by: Cyril Bur <email address hidden>
[mpe: Rewrite comment entirely, bugs in it are mine]
Signed-off-by: Michael Ellerman <email address hidden>

These commits is in powerpc repositiory, they were merged upstream in the commit:
07021b43597f506cc525d139ed1a94e79cf184f2

Merge: d1f5323 b7b7013
Author: Linus Torvalds <email address hidden>
Date: Fri Oct 7 20:19:31 2016 -0700

Merge tag 'powerpc-4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux
Pull powerpc updates from Michael Ellerman:
"Highlights:
- Major rework of Book3S 64-bit exception vectors (Nicholas Piggin)
- Use gas sections for arranging exception vectors et. al.
- Large set of TM cleanups and selftests (Cyril Bur)
- Enable transactional memory (TM) lazily for userspace (Cyril Bur)
- Support for XZ compression in the zImage wrapper (Oliver
O'Halloran)
- Add support for bpf constant blinding (Naveen N. Rao)
- Beginnings of upstream support for PA Semi Nemo motherboards
(Darren Stevens)

Please, is it possible to apply both patches in 16.04 kernel version in order to see if they'd work?

Thank you

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
as I outlined before the kernel is already fixed.
E.g. if testing install from 16.04.2 there kernel in there already "tolerates" it enough to work fine.

If that was due to the patches you referred or others I don't know. But it is not important, as the remaining question was to fix qemu in a way to work with older guests (of any sort).

So my questions are:
@Bugproxy - do we stick with qemu-part as-is and leave it as it is (set to won't fix)?
@Rafael Folco (from the dup bug) - would that be acceptable for you since newer Kernel versions (e.g. the 16.04.2 we both tested) work?

Changed in linux (Ubuntu):
milestone: none → ubuntu-16.04.2
status: New → Fix Released
no longer affects: linux (Ubuntu Xenial)
no longer affects: linux (Ubuntu Yakkety)
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I was adding a Fix Released 16.04.2 Kernel Task to make it more obvious that the (guest) kernel parts are done.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I was made aware that my recent update was very misunderstandable, let me sort that out.

- ISO 16.04.2 comes with HWE-yakkety (=Kernel 4.8) - this kernel is good.

- ISO 16.04 came with Kernel 4.4 - there is no way we can fix the "old ISO" which is why I was asking/searching for qemu fixes as well.

- It would be great if patches that fix the 4.4 kernel could be confirmed to fix the Xenial-Kernel, yet I'd be unsure if they'd get into any ISOs that are build in the future - they'd surely get into all sort of other images like cloud-images.

- And totally separate - I wanted to ask Rafel Folco - if at least for his case the fact that ISO 16.04.2 is good is sufficient.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

To take away even more confusion, I just learned that even 16.04.2 server iso boots into the 4.4 kernel and only provides the newer HWE as alternate boot/install option.

I'd like to quote from xnox on a chat here: "point release media boots GA-series kernel; latest SRU/security; at the time point release media was last respun."

That said and knowing the 16.04.2 media is good means that I wasn't that wrong/misleading in my former posts.
It then really is already fixed in 4.4 kernel as it is on 16.04.2 ISO.

Which leaves two open points:
1. is there anything for qemu to allow older guests to run - and the answer seems no (see comment #20)
2. if CI users like Rafael Folco are ok with it then as it is now?

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-03-27 13:44 EDT-------
Thanks, Christian. I agree that, in this case, there isn't much we can do in QEMU.

Revision history for this message
Rafael Folco (rafaelfolco) wrote :

Yep, makes sense.
If 16.04.2 works as stated above, the job is done here.
Thanks.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2017-03-27 15:08 EDT-------
Based on #comment 26 we're ok now, but only to let it registered anyway:

Yes, today I don't see anything we can do in QEMU. The reason is that kernel (arch/powerpc/include/asm/cputable.h) defines a basic feature set for Power8:

#define CPU_FTRS_POWER8 (CPU_FTR_USE_TB | CPU_FTR_LWSYNC | \
CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | CPU_FTR_ARCH_206 |\
CPU_FTR_MMCRA | CPU_FTR_SMT | \
CPU_FTR_COHERENT_ICACHE | \
CPU_FTR_PURR | CPU_FTR_SPURR | CPU_FTR_REAL_LE | \
CPU_FTR_DSCR | CPU_FTR_SAO | \
CPU_FTR_STCX_CHECKS_ADDRESS | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \
CPU_FTR_ICSWX | CPU_FTR_CFAR | CPU_FTR_HVMODE | CPU_FTR_VMX_COPY | \
CPU_FTR_DBELL | CPU_FTR_HAS_PPR | CPU_FTR_DAWR | \
CPU_FTR_ARCH_207S | CPU_FTR_TM_COMP | CPU_FTR_SUBCORE)

and CPU_FTR_TM_COMP (0x0080000000000000) is among them.

Then, in arch/powerpc/kernel/prom.c, a function initializes the device tree and scans the CPUs in the current system. During the scan (early_init_dt_scan_cpus), the architecture is identified (arch/powerpc/kernel/cputable.c - identify_cpu) and the feature set above is assigned to the processor.

So, in a nutshell, when the kernel loads, the CPU arch is identified and its basic feature set is loaded.

Based on it, I could work around it by setting a Power7 arch: qemu-system-ppc64 -machine pseries -cpu POWER7 -vga none -nographic ...

Thanks

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Ok, thank you all for your help in clarifying that - given that Rafael seems to be ok as initial reporter and that IBM stated there is nothing to do for Qemu (we know newer qemu works, so there could be something, yet unidentified yet) I'm setting that to Won't Fix for now.

Changed in qemu (Ubuntu Xenial):
status: Incomplete → Won't Fix
Changed in qemu (Ubuntu Yakkety):
status: Incomplete → Won't Fix
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

My memory on newer qemu working was for a related, but not the same issue.
After checking with Joserz it is clear that this (bug 1664622) is still in qemu master as of now (qemu 2.9-rc0).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.