x86/hvm: Correct error message in check_segment()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 2 Oct 2020 11:20:44 +0000 (12:20 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 9 Oct 2020 16:20:11 +0000 (17:20 +0100)
commit8d255609930bed04c6436974bd895be9a405d0c1
tree6ced00d409ffaf05d093cb5e1750d96c84de89eb
parent25849c8b16f2a5b7fcd0a823e80a5f1b590291f9
x86/hvm: Correct error message in check_segment()

The error message is wrong (given AMD's older interpretation of what a NUL
segment should contain, attribute wise), and actively unhelpful because you
only get it in response to a hypercall where the one piece of information you
cannot provide is the segment selector.

Fix the message to talk about segment attributes, rather than the selector.

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