Re: [Xen-devel] [PATCH] x86: make arch_set_info_guest() match comments in load_segments()

2018-08-16 Thread Andrew Cooper
On 10/07/18 11:13, Jan Beulich wrote: > For both fs_base and gs_base_user, there are comments saying "This can > only be non-zero if selector is NULL." While save_segments() ensures > this, so far arch_set_info_guest() didn't. Make behavior consistent > (attaching comments identical to those in

[Xen-devel] [PATCH] x86: make arch_set_info_guest() match comments in load_segments()

2018-07-10 Thread Jan Beulich
For both fs_base and gs_base_user, there are comments saying "This can only be non-zero if selector is NULL." While save_segments() ensures this, so far arch_set_info_guest() didn't. Make behavior consistent (attaching comments identical to those in save_segments()). Signed-off-by: Jan Beulich