KVM: VMX: Don't clear the vmcs if the vcpu is not loaded on any processor
commiteae5ecb5b9043812968fae7ad9d74bf5e7a50245
authorAvi Kivity <avi@qumranet.com>
Sun, 30 Sep 2007 08:50:12 +0000 (30 10:50 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:49 +0000 (30 17:52 +0200)
tree68af0cc24f0e878240109ab2b3f1dfa27b3f80ff
parentb4c6abfef400c0f74d9b86a149a6719706cfdbbc
KVM: VMX: Don't clear the vmcs if the vcpu is not loaded on any processor

Noted by Eddie Dong.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/vmx.c