diff options
| author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2021-05-28 17:16:19 -0300 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2021-06-03 18:10:31 +1000 |
| commit | b873ed83311d96644b544b10f6869a430660585a (patch) | |
| tree | 26540d2bdd6c377b790ba645c95567066abfd594 /hw/core/cpu-common.c | |
| parent | de3036acb4f2cbb80ef8d827ce2b7ec9104a0b14 (diff) | |
| download | focaccia-qemu-b873ed83311d96644b544b10f6869a430660585a.tar.gz focaccia-qemu-b873ed83311d96644b544b10f6869a430660585a.zip | |
ppc/pef.c: initialize cgs->ready in kvmppc_svm_init()
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_creation_done() during machine start. cgs->ready is set in s390_pv_kvm_init() and sev_kvm_init(). Let's set it in kvmppc_svm_init() as well. Reported-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20210528201619.52363-1-danielhb413@gmail.com> Acked-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/core/cpu-common.c')
0 files changed, 0 insertions, 0 deletions