> Testing
> -------
> 
> Kernel build configuration
> 
>       $ egrep LIVEPATCH .config
>       CONFIG_HAVE_LIVEPATCH=y
>       CONFIG_LIVEPATCH=y
>       CONFIG_TEST_LIVEPATCH=m
> 
>       $ egrep FTRACE .config
>       CONFIG_KPROBES_ON_FTRACE=y
>       CONFIG_HAVE_KPROBES_ON_FTRACE=y
>       CONFIG_HAVE_DYNAMIC_FTRACE=y
>       CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
>       CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
>       CONFIG_FTRACE=y
>       CONFIG_FTRACE_SYSCALLS=y
>       CONFIG_DYNAMIC_FTRACE=y
>       CONFIG_DYNAMIC_FTRACE_WITH_REGS=y
>       CONFIG_FTRACE_MCOUNT_RECORD=y
>       # CONFIG_FTRACE_STARTUP_TEST is not set
> 
> Builds fine but doesn't boot in Qemu.  I've never run dynamic Ftrace, it
> appears to crash during this.  Was hoping to run the livepatch tests but
> not sure how to at this moment.  Is dynamic Ftrace and livepatch testing
> something that can even be done in a VM or do I need to do this or
> baremetal?

It definitely should work in VM/qemu. We use it like that all the time.

Miroslav

Reply via email to