KVM: SVM: use kvm_register_write()/read()
authorDavid Kaplan <[email protected]>
Fri, 20 Feb 2015 22:02:10 +0000 (16:02 -0600)
committerMarcelo Tosatti <[email protected]>
Tue, 10 Mar 2015 13:37:42 +0000 (10:37 -0300)
commit668f198f40d1cc89c2330c6ad56f3b397b05a0bc
tree4db98234c341bede9545aa70c74e739000fed176
parentaffb8172de395a6e1db52ed9790ca0456d8c29a9
KVM: SVM: use kvm_register_write()/read()

KVM has nice wrappers to access the register values, clean up a few places
that should use them but currently do not.

Signed-off-by: David Kaplan <[email protected]>
[forward port and testing]
Signed-off-by: Joel Schopp <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
arch/x86/kvm/svm.c