Re: [PATCH v2] KVM: x86: Allow guests to see MSR_IA32_TSX_CTRL even if tsx=off

From: Paolo Bonzini
Date: Mon Feb 01 2021 - 04:11:31 EST


On 01/02/21 09:46, Paolo Bonzini wrote:

This comment be updated to call out the new TSX_CTRL behavior.

    /*
     * On TAA affected systems:
     *      - nothing to do if TSX is disabled on the host.
     *      - we emulate TSX_CTRL if present on the host.
     *      This lets the guest use VERW to clear CPU buffers.
     */

Ok.

Hmm, but the comment is even more accurate now than before, isn't it? It said nothing about hiding TSX_CTRL, so now it matches the code below.

Paolo