Re: [PATCH 1/1] ppc/pef.c: initialize cgs->ready in kvmppc_svm_init()

2021-05-28 Thread David Gibson
On Fri, May 28, 2021 at 05:16:19PM -0300, Daniel Henrique Barboza wrote: > QEMU is failing to launch a CGS pSeries guest in a host that has PEF > support: > > qemu-system-ppc64: ../softmmu/vl.c:2585: qemu_machine_creation_done: > Assertion `machine->cgs->ready' failed. > Aborted > > This is happ

Re: [PATCH 1/1] ppc/pef.c: initialize cgs->ready in kvmppc_svm_init()

2021-05-28 Thread Ram Pai
On Fri, May 28, 2021 at 05:16:19PM -0300, Daniel Henrique Barboza wrote: > QEMU is failing to launch a CGS pSeries guest in a host that has PEF > support: > > qemu-system-ppc64: ../softmmu/vl.c:2585: qemu_machine_creation_done: > Assertion `machine->cgs->ready' failed. > Aborted > > This is happ

[PATCH 1/1] ppc/pef.c: initialize cgs->ready in kvmppc_svm_init()

2021-05-28 Thread Daniel Henrique Barboza
QEMU is failing to launch a CGS pSeries guest in a host that has PEF support: qemu-system-ppc64: ../softmmu/vl.c:2585: qemu_machine_creation_done: Assertion `machine->cgs->ready' failed. Aborted This is happening because we're not setting the cgs->ready flag that is asserted in qemu_machine_crea