From: Paolo Bonzini <pbonzini@redhat.com>
To: Li Feng <fengli@smartx.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: vkuznets@redhat.com, "Philippe Mathieu-Daudé" <philmd@redhat.com>,
"open list:All patches CC here" <qemu-devel@nongnu.org>
Subject: Re: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.
Date: Wed, 20 May 2020 09:28:48 +0200 [thread overview]
Message-ID: <986fbf33-8127-870b-9163-4aa8d332553f@redhat.com> (raw)
In-Reply-To: <CAHckoCwee+aNHcgRFvReCCz_0J-vLrM5=MPZFpqvQjkefV2MiQ@mail.gmail.com>
On 20/05/20 05:50, Li Feng wrote:
>>>>>>>>> qemu-system-x86_64: error: failed to set MSR 0x48f to 0x7fefff00036dfb
The high 32 bits are 0111 1111 1110 1111 1111 1111.
The low 32 bits are 0000 0011 0110 1101 1111 1011.
The features that are set are the xor, so 0111 1100 1000 0010 0000 0100:
- bit 2, vmx-exit-nosave-debugctl
- bit 9, host address space size, is handled automatically by QEMU
- bit 15, vmx-exit-ack-intr
- bit 17, vmx-exit-save-pat
- bit 18, vmx-exit-load-pat
- bit 19, vmx-exit-save-efer
- bit 20, vmx-exit-load-efer
- bit 21, vmx-exit-save-preemption-timer
Try removing all of these and see if QEMU starts:
qemu-kvm ... -cpu
host,-vmx-exit-nosave-debugctl,-vmx-exit-ack-intr,-vmx-exit-save-pat,-vmx-exit-load-pat,-vmx-exit-save-efer,-vmx-exit-load-efer,-vmx-exit-save-preemption-timer
And then add them back one at a time.
Paolo
next prev parent reply other threads:[~2020-05-20 7:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAHckoCymFfuVd=tKV-hk+PHn2fk6ydWjSxwKVorj9Qe5KV6nGQ@mail.gmail.com>
2020-05-14 11:27 ` kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed Li Feng
2020-05-14 12:09 ` Philippe Mathieu-Daudé
2020-05-14 12:52 ` Dr. David Alan Gilbert
2020-05-14 13:15 ` Vitaly Kuznetsov
2020-05-14 15:10 ` Li Feng
2020-05-14 15:12 ` Li Feng
2020-05-14 15:16 ` Dr. David Alan Gilbert
2020-05-14 15:19 ` Li Feng
2020-05-14 15:31 ` Dr. David Alan Gilbert
2020-05-14 15:49 ` Li Feng
2020-05-20 3:50 ` Li Feng
2020-05-20 7:28 ` Paolo Bonzini [this message]
2020-05-20 8:22 ` Li Feng
2020-05-20 8:32 ` Paolo Bonzini
2020-05-20 8:55 ` Li Feng
2020-05-20 9:34 ` Paolo Bonzini
2020-05-20 9:36 ` Li Feng
2020-05-20 10:10 ` Paolo Bonzini
2020-05-20 10:15 ` Li Feng
2020-05-20 10:26 ` Paolo Bonzini
2020-05-21 8:10 ` Li Feng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=986fbf33-8127-870b-9163-4aa8d332553f@redhat.com \
--to=pbonzini@redhat.com \
--cc=dgilbert@redhat.com \
--cc=fengli@smartx.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=vkuznets@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).