• Tambe, William's avatar
    KVM: nSVM: Fix nested guest support for PAUSE filtering. · e081354d
    Tambe, William authored
    Currently, the nested guest's PAUSE intercept intentions are not being
    honored.  Instead, since the L0 hypervisor's pause_filter_count and
    pause_filter_thresh values are still in place, these values are used
    instead of those programmed in the VMCB by the L1 hypervisor.
    
    To honor the desired PAUSE intercept support of the L1 hypervisor, the L0
    hypervisor must use the PAUSE filtering fields of the L1 hypervisor. This
    requires saving and restoring of both the L0 and L1 hypervisor's PAUSE
    filtering fields.
    Signed-off-by: default avatarWilliam Tambe <william.tambe@amd.com>
    Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
    e081354d
svm.c 183 KB