Comment 32 for bug 1656112

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: Power S822LC (8335-GTB) failes KVM guest cert test with kvm_init_vcpu failed: Invalid argument

The Qemu patches are only ppc, which leaves some hope that the potential to affect other architectures should be minimal :-)

$ git show 7386ae6372cc07c77a39cb 8cd2ce7aaa3c3fadc561f4 52b2519c4ea9a6aa4df7ab eac4fba965136f61cc239a b30ff227c27c931155f768 | diffstat
 hw/ppc/spapr_hcall.c | 71 ++++++++++++++++++++++++++------------------
 target-ppc/cpu-qom.h | 3 +
 target-ppc/cpu.h | 3 +
 target-ppc/kvm.c | 19 ++++++++---
 target-ppc/kvm_ppc.h | 7 ++++
 target-ppc/translate_init.c | 24 +++++++++++---
 6 files changed, 86 insertions(+), 41 deletions(-)

The backport of the qemu fixes is not rocket-science, but also not applying as-is and at the moment I'd personally consider it more a feature than a fix. The series consists of 4 patches reworking code for the final one being "ppc: Add PowerISA 2.07 compatibility mode".
The question how much this is "fix or feature" might be important in the context of SRUing it eventually.