From cba27f6fc4e140753ac33c4b4835d480a6709597 Mon Sep 17 00:00:00 2001 From: gaojiazhen Date: Thu, 12 Oct 2023 02:18:32 +0000 Subject: [PATCH] update target/i386/kvm.c. Signed-off-by: gaojiazhen --- target/i386/kvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/i386/kvm.c b/target/i386/kvm.c index f55d4b4b97..3791a554bc 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -2669,6 +2669,7 @@ static int kvm_put_msrs(X86CPU *cpu, int level) struct kvm_msr_entry *e = &cpu->kvm_msr_buf->entries[ret]; error_report("error: failed to set MSR 0x%" PRIx32 " to 0x%" PRIx64, (uint32_t)e->index, (uint64_t)e->data); + error_report("If your machine is using an AMD CPU, you can consider creating a qemu-system-x86.conf configuration file in the path/etc/modprobe.d, with the following content: options kvm ignore_msrs=1"); } assert(ret == cpu->kvm_msr_buf->nmsrs); -- Gitee