Re: [PATCH v2] x86: svm: use kvm_register_write()/read()

2015-02-25 Thread Marcelo Tosatti
On Sat, Feb 21, 2015 at 12:21:16AM +0100, Borislav Petkov wrote: > On Fri, Feb 20, 2015 at 04:02:10PM -0600, Joel Schopp wrote: > > From: David Kaplan > > > > KVM has nice wrappers to access the register values, clean up a few places > > that should use them but currently do not. > > > >

Re: [PATCH v2] x86: svm: use kvm_register_write()/read()

2015-02-25 Thread Marcelo Tosatti
On Sat, Feb 21, 2015 at 12:21:16AM +0100, Borislav Petkov wrote: On Fri, Feb 20, 2015 at 04:02:10PM -0600, Joel Schopp wrote: From: David Kaplan david.kap...@amd.com KVM has nice wrappers to access the register values, clean up a few places that should use them but currently do not.

Re: [PATCH v2] x86: svm: use kvm_register_write()/read()

2015-02-20 Thread Borislav Petkov
On Fri, Feb 20, 2015 at 04:02:10PM -0600, Joel Schopp wrote: > From: David Kaplan > > 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 > [forward port and testing] > Signed-off-by: Joel

[PATCH v2] x86: svm: use kvm_register_write()/read()

2015-02-20 Thread Joel Schopp
From: David Kaplan 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 [forward port and testing] Signed-off-by: Joel Schopp --- arch/x86/kvm/svm.c | 19 +-- 1 file changed, 9

Re: [PATCH v2] x86: svm: use kvm_register_write()/read()

2015-02-20 Thread Borislav Petkov
On Fri, Feb 20, 2015 at 04:02:10PM -0600, Joel Schopp wrote: From: David Kaplan david.kap...@amd.com 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.kap...@amd.com [forward port and

[PATCH v2] x86: svm: use kvm_register_write()/read()

2015-02-20 Thread Joel Schopp
From: David Kaplan david.kap...@amd.com 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.kap...@amd.com [forward port and testing] Signed-off-by: Joel Schopp joel.sch...@amd.com ---