Re: [Qemu-devel] [PATCH 7/8] spapr: Move PAPR mode cpu setup fully to spapr code

2018-05-03 Thread Cédric Le Goater
On 05/03/2018 08:21 AM, David Gibson wrote: > cpu_ppc_set_papr() does several things: > 1) it sets up the virtual hypervisor interface > 2) it prevents the cpu from ever entering hypervisor mode > 3) it tells KVM that we're emulating a cpu in PAPR mode > and 4) it configures the LPCR an

[Qemu-devel] [PATCH 7/8] spapr: Move PAPR mode cpu setup fully to spapr code

2018-05-02 Thread David Gibson
cpu_ppc_set_papr() does several things: 1) it sets up the virtual hypervisor interface 2) it prevents the cpu from ever entering hypervisor mode 3) it tells KVM that we're emulating a cpu in PAPR mode and 4) it configures the LPCR and AMOR (hypervisor privileged registers) so tha