x86: put some code in arch_set_info_guest under CONFIG_PV
authorWei Liu <wei.liu2@citrix.com>
Fri, 19 Oct 2018 14:28:28 +0000 (15:28 +0100)
committerWei Liu <wei.liu2@citrix.com>
Sun, 28 Oct 2018 20:01:58 +0000 (20:01 +0000)
commit079df73c0a5b4b09b71044091d65a986452d829c
tree424226c5534f22aae6a7542bf525abb2d8bbab5b
parentde5a2bdcedf78855d4118a51fa8a3cecdb308b3b
x86: put some code in arch_set_info_guest under CONFIG_PV

This function is called by both PV and HVM. Unfortunately the code is
very convoluted. We can reason that code between the call to
hvm_set_info_guest and out label is PV only. Put that portion under
CONFIG_PV.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/domain.c