Re: [Xen-devel] [PATCH] x86/traps: consolidate PV RDMSR emulation paths

2015-02-26 Thread Andrew Cooper
On 26/02/15 14:16, Jan Beulich wrote: > Settle on just using one variable (val), and move the other into > WRMSR's local scope. Chain up further success paths to the > rdmsr_writeback label rather than open coding them. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper > > --- a/xen/arc

[Xen-devel] [PATCH] x86/traps: consolidate PV RDMSR emulation paths

2015-02-26 Thread Jan Beulich
Settle on just using one variable (val), and move the other into WRMSR's local scope. Chain up further success paths to the rdmsr_writeback label rather than open coding them. Signed-off-by: Jan Beulich --- a/xen/arch/x86/traps.c +++ b/xen/arch/x86/traps.c @@ -2008,7 +2008,7 @@ static int emulat