Skip to contentSkip to conversation

New: VM fails to boot with invariant tsc enabled with kvm_amd

Bug 207099 [email protected] 1 participant 1 message Apr 4, 2020 KVM

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=207099

            Bug ID: 207099
           Summary: VM fails to boot with invariant tsc enabled with
                    kvm_amd
           Product: Virtualization
           Version: unspecified
    Kernel Version: 5.6.0 - 5.6.2
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: kvm
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

After the 5.6.0 release my windows 10 VM running on AMD 3950x fails to boot when option "migratable=no,+invtsc" is enabled. The VM starts the boot process but after a few seconds I get a bluescreen with the error "Kernel security check failed".

Neither the host or guest has any logs that I can find with any more details on the issue, or even that it happens at all.

The issue is reproducible at least for me with a minimum set of options in QEMU with no enlightenments:

"-M type=q35,accel=kvm,kernel_irqchip=on -cpu host, kvm=off, migratable=no,+invtsc, topoext -smp 24,sockets=1, cores=12, threads=2 -enable-kvm"

I've tried changing the options kvm_amd.avic and nested to no avail.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.