Skip to contentSkip to conversation

New: Host call trace and crash after boot guest with perf kvm stat record

Bug 220019 [email protected] 1 participant 5 messages Apr 16, 2025 – Nov 3, 2025 KVM

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 220019
Summary: Host call trace and crash after boot guest with perf
kvm stat record
Product: Virtualization
Version: unspecified
Hardware: Intel
OS: Linux
Status: NEW
Severity: high
Priority: P3
Component: kvm
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Environment:

CPU: EMR/GNR

Host kernel:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

Guest kernel: 6.15-rc2 release

QEMU: https://gitlab.com/qemu-project/qemu.git

Bug detail description:

Host call trace and crash when boot guest with perf kvm stat record, host crash in 1~2s after guest boot up

Reproduce steps:

Boot guest with perf kvm stat record:

perf kvm stat record qemu-system-x86_64 \
    -name legacy,debug-threads=on \
    -accel kvm -smp 4 -m 4G -cpu host \
    -drive file=${img},if=none,id=virtio-disk0 \
    -serial stdio
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 220019] Host call trace and crash after boot guest with perf kvm stat record

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

Sean Christopherson ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Sean Christopherson ([email protected]) --- Can you provide more information on the host crash? Assuming this is a new issue, can you bisect the host?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 220019] Host call trace and crash after boot guest with perf kvm stat record

In reply to [email protected]

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

Chen, Fan ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Chen, Fan ([email protected]) --- Created attachment 307977
--> https://bugzilla.kernel.org/attachment.cgi?id=307977&action=edit
Call Trace

Sorry, forgot to add the call trace log, attached

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 220019] Host call trace and crash after boot guest with perf kvm stat record

In reply to [email protected]

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

--- Comment #3 from Chen, Fan ([email protected]) --- And we found the fix patch has been posted already
https://lore.kernel.org/lkml/[email protected]/,
verified this patch, it fixed the issue indeed.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 220019] Host call trace and crash after boot guest with perf kvm stat record

In reply to [email protected]

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

Chen, Fan ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.