On Mon, 22 Sep 2014, Paolo Bonzini wrote:
On x86_64, kernel text mappings are mapped read-only with CONFIG_DEBUG_RODATA.
In that case, KVM will fail to patch VMCALL instructions to VMMCALL
as required on AMD processors.
The failure mode is currently a divide-by-zero exception, which
Il 22/09/2014 21:43, Borislav Petkov ha scritto:
On x86_64, kernel text mappings are mapped read-only with
CONFIG_DEBUG_RODATA.
Hmm, that depends on DEBUG_KERNEL.
I think you're actually talking about distro kernels which enable
CONFIG_DEBUG_RODATA, right?
This is for guest kernels, so
On Tue, Sep 23, 2014 at 10:00:12AM +0200, Paolo Bonzini wrote:
Il 22/09/2014 21:43, Borislav Petkov ha scritto:
On x86_64, kernel text mappings are mapped read-only with
CONFIG_DEBUG_RODATA.
Hmm, that depends on DEBUG_KERNEL.
I think you're actually talking about distro kernels
On x86_64, kernel text mappings are mapped read-only with CONFIG_DEBUG_RODATA.
In that case, KVM will fail to patch VMCALL instructions to VMMCALL
as required on AMD processors.
The failure mode is currently a divide-by-zero exception, which obviously
is a KVM bug that has to be fixed. However,
On Mon, Sep 22, 2014 at 01:17:48PM +0200, Paolo Bonzini wrote:
On x86_64, kernel text mappings are mapped read-only with CONFIG_DEBUG_RODATA.
Hmm, that depends on DEBUG_KERNEL.
I think you're actually talking about distro kernels which enable
CONFIG_DEBUG_RODATA, right?
--
Regards/Gruss,