Skip to content

PVM guest kernel start failed after enabling FUNCTION_TRACER #11

@ljrcore

Description

@ljrcore

Hi,

When I enable these two options in the kernel configuration file .config
CONFIG_FTRACE=y
CONFIG_FUNCTION_TRACER=y

L2 PVM guest(L0 kvm, L1 pvm, L2 pvm) will fail to start(If disabled, it will start normally).

Cloud Virtual Machine L1 PVM dmesg log will show information like:

...
[  121.042351] loop0: detected capacity change from 0 to 21102592
[  121.092013] loop0: detected capacity change from 0 to 21102592
[  121.143412] loop0: detected capacity change from 0 to 21102592
[  121.289885] VFIO - User Level meta-driver version: 0.3
[  121.428387] loop0: detected capacity change from 0 to 21102592
[  121.478115] loop0: detected capacity change from 0 to 42074112
[  121.521191] loop0: detected capacity change from 0 to 8388608
[  175.312249] kvm_intel: VMX not supported by CPU 5
...

or(Booting L2 PVM guest on bare metal, L1 log)

...
[21024.403726] KVM: debugfs: duplicate directory 100691-30
[21024.680447] KVM: debugfs: duplicate directory 100691-30
[21024.966014] KVM: debugfs: duplicate directory 100691-30
[21027.499152] kvm_create_vm_debugfs: 8 callbacks suppressed
[21027.499154] KVM: debugfs: duplicate directory 100691-30
[21027.782950] KVM: debugfs: duplicate directory 100691-30
[21028.063162] KVM: debugfs: duplicate directory 100691-30
[21028.351486] KVM: debugfs: duplicate directory 100691-30
...

I would like to know what the current PVM support for FUNCTION_TRACER is like and whether we have plans to support FUNCTION_TRACER.

Thanks

Metadata

Metadata

Assignees

Labels

bootingbooting problembugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions