[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PULL 0/7] ppc-for-2.10 queue 20170822
From: |
Peter Maydell |
Subject: |
Re: [Qemu-ppc] [PULL 0/7] ppc-for-2.10 queue 20170822 |
Date: |
Tue, 22 Aug 2017 11:52:00 +0100 |
On 22 August 2017 at 11:41, Laurent Vivier <address@hidden> wrote:
> On 22/08/2017 11:53, Peter Maydell wrote:
>> On 22 August 2017 at 10:43, Laurent Vivier <address@hidden> wrote:
>>> On 22/08/2017 11:34, Peter Maydell wrote:
>>>> I get a make check failure on ppc64 Linux:
>>>>
>>>> TEST: tests/postcopy-test... (pid=12468)
>>>> /ppc64/postcopy:
>>>> Broken pipe
>>>> qemu-system-ppc64: RP: Received invalid message 0x0000 length 0x0000
>>>> FAIL
>>>> GTester: last random seed: R02Se5468e06f561627824306d95b0566d2b
>>>> (pid=13011)
>>>> FAIL: tests/postcopy-test
>
> The problem is in:
>
> bool kvmppc_pvr_workaround_required(PowerPCCPU *cpu)
> {
> CPUState *cs = CPU(cpu);
>
> if (cap_ppc_pvr_compat) {
> return false;
> }
>
> return !kvmppc_is_pr(cs->kvm_state);
> }
>
> It guesses !kvm pr means kvm_hv. That is not true, it can be TCG.
>
> This fixes the problem for me:
> --- a/target/ppc/kvm.c
> +++ b/target/ppc/kvm.c
> @@ -2817,5 +2817,5 @@ bool kvmppc_pvr_workaround_required(PowerPCCPU *cpu)
> return false;
> }
>
> - return !kvmppc_is_pr(cs->kvm_state);
> + return kvm_enabled() && !kvmppc_is_pr(cs->kvm_state);
> }
Yep, fixes the failure for me too. David, can you respin your
pull request, please?
thanks
-- PMM
- [Qemu-ppc] [PULL 1/7] boot-serial-test: prefer tcg accelerator, (continued)
- [Qemu-ppc] [PULL 1/7] boot-serial-test: prefer tcg accelerator, David Gibson, 2017/08/22
- [Qemu-ppc] [PULL 3/7] ppc: fix ppc_set_compat() with KVM PR, David Gibson, 2017/08/22
- [Qemu-ppc] [PULL 2/7] target/ppc: 'PVR != host PVR' in KVM_SET_SREGS workaround, David Gibson, 2017/08/22
- [Qemu-ppc] [PULL 5/7] hw/ppc/spapr: Fix segfault when instantiating a 'pc-dimm' without 'memdev', David Gibson, 2017/08/22
- [Qemu-ppc] [PULL 7/7] hw/ppc/spapr_iommu: Fix crash when removing the "spapr-tce-table" device, David Gibson, 2017/08/22
- [Qemu-ppc] [PULL 6/7] hw/ppc/spapr_rtc: Mark the RTC device with user_creatable = false, David Gibson, 2017/08/22
- Re: [Qemu-ppc] [PULL 0/7] ppc-for-2.10 queue 20170822, Peter Maydell, 2017/08/22