Package: qemu-system-x86 Version: 1:7.0+dfsg-1 Severity: normal Dear Maintainer,
VMs controlled by libvirt failed to start when using "host" cpu type with kvm acceleration libvirt log gives: 2022-04-21T17:07:40.354354Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.npt [bit 0] 2022-04-21T17:07:40.354467Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.nrip-save [bit 3] 2022-04-21T17:07:40.354476Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.vmcb-clean [bit 5] 2022-04-21T17:07:40.354482Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.svme-addr-chk [bit 28] 2022-04-21T17:07:40.355818Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.npt [bit 0] 2022-04-21T17:07:40.355850Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.nrip-save [bit 3] 2022-04-21T17:07:40.355857Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.vmcb-clean [bit 5] 2022-04-21T17:07:40.355864Z qemu-system-x86_64: warning: This feature depends on other features that were not requested: CPUID.8000000AH:EDX.svme-addr-chk [bit 28] 2022-04-21T17:07:40.419616Z 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. Reverting to qemu-system-x86 6.2+dfsg-3 and the VMs start-up perfectly fine using the same libvirt xml. host cpu flags from /proc/cpuinfo : flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate vmmcall npt lbrv svm_lock nrip_save Cheers, Adrian -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.16.0-5-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages qemu-system-x86 depends on: ii ipxe-qemu 1.0.0+git-20190125.36a4c85-5.1 ii libaio1 0.3.113-2 ii libbpf0 1:0.7.0-2 ii libc6 2.33-7 ii libcapstone4 4.0.2-5 ii libfdt1 1.6.1-1 ii libfuse3-3 3.10.5-1 ii libgcc-s1 12-20220319-1 ii libglib2.0-0 2.72.1-1 ii libgnutls30 3.7.4-2 ii libibverbs1 39.0-1+b1 ii libjpeg62-turbo 1:2.1.2-1 ii libnettle8 3.7.3-1 ii libnuma1 2.0.14-3 ii libpixman-1-0 0.40.0-1 ii libpmem1 1.11.1-3 ii libpng16-16 1.6.37-3 ii librdmacm1 39.0-1+b1 ii libsasl2-2 2.1.28+dfsg-4 ii libseccomp2 2.5.3-2 ii libslirp0 4.6.1-1 ii libudev1 250.4-1 ii liburing2 2.1-2 ii libvdeplug2 4.0.1-3 ii libxendevicemodel1 4.16.0+51-g0941d6cb-1+b1 ii libxenevtchn1 4.16.0+51-g0941d6cb-1+b1 ii libxenforeignmemory1 4.16.0+51-g0941d6cb-1+b1 ii libxengnttab1 4.16.0+51-g0941d6cb-1+b1 ii libxenmisc4.16 4.16.0+51-g0941d6cb-1+b1 ii libxenstore4 4.16.0+51-g0941d6cb-1+b1 ii libxentoolcore1 4.16.0+51-g0941d6cb-1+b1 ii libzstd1 1.5.2+dfsg-1 ii qemu-system-common 1:7.0+dfsg-1 ii qemu-system-data 1:7.0+dfsg-1 ii seabios 1.15.0-1 ii zlib1g 1:1.2.11.dfsg-4 Versions of packages qemu-system-x86 recommends: ii ovmf 2022.02-3 pn qemu-block-extra <none> pn qemu-system-gui <none> ii qemu-utils 1:7.0+dfsg-1 Versions of packages qemu-system-x86 suggests: ii samba 2:4.16.0+dfsg-6 pn vde2 <none> -- no debconf information