• A
    KVM: Lazify fpu activation and deactivation · 02daab21
    Avi Kivity 提交于
    Defer fpu deactivation as much as possible - if the guest fpu is loaded, keep
    it loaded until the next heavyweight exit (where we are forced to unload it).
    This reduces unnecessary exits.
    
    We also defer fpu activation on clts; while clts signals the intent to use the
    fpu, we can't be sure the guest will actually use it.
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    02daab21
x86.c 132.2 KB