All of lore.kernel.org
 help / color / mirror / Atom feed
* target/i386/kvm/kvm.c:2996: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed
@ 2022-04-22 17:47 Michael Tokarev
  0 siblings, 0 replies; only message in thread
From: Michael Tokarev @ 2022-04-22 17:47 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Maxim Levitsky

Hi!

Apparently there's an assertion failure like in $subj in qemu-7.0.0
(it didn't happen with qemu-6.2), even after the commit:

commit e910a53fb4f20aa012e46371ffb4c32c8da259b4
Author: Maxim Levitsky <mlevitsk@redhat.com>
Date:   Wed Feb 23 13:56:49 2022 +0200

     KVM: x86: nSVM: disallow userspace setting of MSR_AMD64_TSC_RATIO to non default value when tsc scaling disabled

is included in the kernel build.

The original debian bugreport: https://bugs.debian.org/1010026

The logs from libvirt with 2 kernels which have the said commit
included: (based on 5.16.18 and 5.17.3 - unfortunately the kernel
release reported there is difficult):
  https://bugs.debian.org/1010026#42

Both ends up with

qemu-system-x86_64: error: failed to set MSR 0xc0000104 to 0x100000000
qemu-system-x86_64: ../../target/i386/kvm/kvm.c:2996: kvm_buf_set_msrs:
  Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.

I wonder if there's something else needs to be fixed..

BTW, commit e910a53fb4f20aa012e46 included a bugfix for qemu 6.2, -
maybe we should not accumulate fixes for other software bugs in
kernel?  That's just a thought, nothing more..

Thanks!

/mjt


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-22 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-22 17:47 target/i386/kvm/kvm.c:2996: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.