• M
    kvm: support -overcommit cpu-pm=on|off · 6f131f13
    Michael S. Tsirkin 提交于
    With this flag, kvm allows guest to control host CPU power state.  This
    increases latency for other processes using same host CPU in an
    unpredictable way, but if decreases idle entry/exit times for the
    running VCPU, so to use it QEMU needs a hint about whether host CPU is
    overcommitted, hence the flag name.
    
    Follow-up patches will expose this capability to guest
    (using mwait leaf).
    
    Based on a patch by Wanpeng Li <kernellwp@gmail.com> .
    Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
    Message-Id: <20180622192148.178309-2-mst@redhat.com>
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    6f131f13
kvm.c 112.4 KB