You are not logged in.

#1 2022-05-19 15:04:53

xorbettino
Member
Registered: 2020-06-05
Posts: 4

Qemu 7.0.0 broke my VM setup

Hello all,
after qemu update my vm setup fails with this error:

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

The VM is starting with this:

qemu-system-x86_64 -enable-kvm -boot order=c -drive file=/home/VM/Arch_Linux.img,if=virtio -drive file=/opt/Software/Sistemi\ Operativi/Linux/archlinux-2022.01.01-x86_64.iso,media=cdrom -m 2048 -k it -vnc :$vncscreen  -vga virtio -k it -device usb-ehci,id=usb,bus=pci.0,addr=0x4 -device usb-tablet -net nic,model=virtio,macaddr=$macaddress,netdev=user.0 $porta_ssh$porta_http$porta_admin -daemonize -qmp unix:$monitor,server,nowait &

Using previous version of qemu give me no issues.
Anyone has some advice on it?

Last edited by xorbettino (2022-05-19 15:06:01)

Offline

#2 2022-05-28 15:25:44

nerux
Member
From: France
Registered: 2009-10-13
Posts: 6
Website

Re: Qemu 7.0.0 broke my VM setup

Hello,

I have the same issue.

A quick workaround without any explanation for the moment :

echo Y > /sys/module/kvm/parameters/ignore_msrs

Regards,

Last edited by nerux (2022-05-28 15:34:28)


richard :]

Offline

#3 2022-05-29 20:09:18

loqs
Member
Registered: 2014-03-06
Posts: 17,373

Re: Qemu 7.0.0 broke my VM setup

Offline

#4 2022-05-30 15:05:39

nerux
Member
From: France
Registered: 2009-10-13
Posts: 6
Website

Re: Qemu 7.0.0 broke my VM setup

Indeed, I have this tab opened after a quick search
https://lore.kernel.org/all/4c1c558a-5e … ls.msk.ru/


richard :]

Offline

Board footer

Powered by FluxBB