KVM: SVM: use kvm_register_write()/read()
authorDavid Kaplan <david.kaplan@amd.com>
Fri, 20 Feb 2015 22:02:10 +0000 (16:02 -0600)
committerMarcelo Tosatti <mtosatti@redhat.com>
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 <david.kaplan@amd.com>
[forward port and testing]
Signed-off-by: Joel Schopp <joel.schopp@amd.com>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/svm.c