KVM: SVM: add helper functions for global interrupt flag
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 7 Aug 2009 09:49:28 +0000 (11:49 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:23 +0000 (08:33 +0300)
commit2af9194d1b683f91ae956afff9afb0b52a241371
tree70e7bc17d9e715b19545ce6002dfedbf160f6964
parent256cd2ef4f5c125f5df2c81d8457f080a4684ae6
KVM: SVM: add helper functions for global interrupt flag

This patch makes the code easier to read when it comes to setting,
clearing and checking the status of the virtualized global
interrupt flag for the VCPU.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c