x86/vLAPIC: vlapic_reg_write() can't fail
authorJan Beulich <jbeulich@suse.com>
Thu, 24 Mar 2016 15:07:30 +0000 (16:07 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 24 Mar 2016 15:07:30 +0000 (16:07 +0100)
commit8972c37ab72d28b5b2577b03d160f2337c1dd2c0
tree65ba7b864fd4e6f7fe1b17872c45cd34a0db357c
parentec4ce7c38810e336f7dcc209e6f203cd604881a9
x86/vLAPIC: vlapic_reg_write() can't fail

It only ever returns X86EMUL_OKAY, so to make this more obvious change
the function return type to void. Re-structure vlapic_apicv_write() at
once to have only a single path leading to vlapic_reg_write().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/vlapic.c