Skip to content

Add preliminary KVM support for non-embedded PPC v3

Alexander Graf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 1 replyIn review

V1 -> V2 from the cover letter

- remove unnecessary code for MP patch
- include SoB

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchHollis Blanchard
SeriesA-b A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] Add preliminary KVM support for non-embedded PPC v3

With KVM support emerging for Book3S (PPC64), let's add support for it in Qemu too, so we have a user of this awesome new infrastructure.

This patchset enabled building of Qemu on KVM, though it does not work completely due to

1) Brokenness of Qemu (PPC32 and PPC64 targets are broken for me atm)
2) Brokenness in Slot management (guest breaks in Linux's PCI init code)

Nevertheless, this is a good starting point for anyone who wants to get involved with KVM on PowerPC!

V1 -> V2

- remove unnecessary code for MP patch
- include SoB

V2 -> V3

- update to new configure
- don't break 440
- relax slot setting
- fake dirty log when it's not available

Alexander Graf (7):
Enable PPC KVM for non-embedded
Set PVR in sregs
Add mp_state to PPC CPU struct
Fix warning in kvm-all.c
Use correct input constant
Set slots more carefully
Fake dirty loggin when it's not there

 configure        |    3 ++-
 kvm-all.c        |   17 ++++++++++++++---
 target-ppc/cpu.h |    4 ++++
 target-ppc/kvm.c |   18 ++++++++++++++++--
 4 files changed, 36 insertions(+), 6 deletions(-)