|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 8/9] ppc/pnv: Rephrase error when run with KVM |
Date: | Tue, 20 Jun 2023 13:31:48 +0200 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 |
On 20/6/23 07:59, Cédric Le Goater wrote:
Signed-off-by: Cédric Le Goater <clg@kaod.org> --- hw/ppc/pnv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c index 590fc64b32e9..fc083173f346 100644 --- a/hw/ppc/pnv.c +++ b/hw/ppc/pnv.c @@ -799,7 +799,8 @@ static void pnv_init(MachineState *machine) DeviceState *dev;if (kvm_enabled()) {- error_report("The powernv machine does not work with KVM acceleration"); + error_report("machine %s does not support the KVM accelerator", + mc->name); exit(EXIT_FAILURE); }
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Now thinking loudly, we could have an array of allowed accelerators in MachineClass, similarly to allowed_dynamic_sysbus_devices[], then handle this generically.
[Prev in Thread] | Current Thread | [Next in Thread] |