[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] hvm/vmx: WRITE_MSR() macro hygene

At 15:38 +0000 on 08 Jan (1420727918), Andrew Cooper wrote:
> Use the standard "do { } while ( 0 )" semantics, and don't hide the break
> statement, incase this macro wants to be used anywhere outside of a switch.
> No functional change, but it is now clear that long_mode_do_msr_write()
> doesn't have fallthough for the STAR, LSTAR and SYSCALL_MASK cases.
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Tim Deegan <tim@xxxxxxx>

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.