Re: [PATCH 1/3] x86: slightly re-arrange 32-bit handling in dom0_construct_pv()

2020-08-07 Thread Jan Beulich
On 06.08.2020 16:04, Andrew Cooper wrote: > On 06/08/2020 10:28, Jan Beulich wrote: >> Add #ifdef-s (the 2nd one will be needed in particular, to guard the >> uses of m2p_compat_vstart and HYPERVISOR_COMPAT_VIRT_START()) and fold >> duplicate uses of elf_32bit(). >> >> Also adjust what gets logged:

Re: [PATCH 1/3] x86: slightly re-arrange 32-bit handling in dom0_construct_pv()

2020-08-06 Thread Andrew Cooper
On 06/08/2020 10:28, Jan Beulich wrote: > Add #ifdef-s (the 2nd one will be needed in particular, to guard the > uses of m2p_compat_vstart and HYPERVISOR_COMPAT_VIRT_START()) and fold > duplicate uses of elf_32bit(). > > Also adjust what gets logged: Avoid "compat32" when support isn't built > in,

[PATCH 1/3] x86: slightly re-arrange 32-bit handling in dom0_construct_pv()

2020-08-06 Thread Jan Beulich
Add #ifdef-s (the 2nd one will be needed in particular, to guard the uses of m2p_compat_vstart and HYPERVISOR_COMPAT_VIRT_START()) and fold duplicate uses of elf_32bit(). Also adjust what gets logged: Avoid "compat32" when support isn't built in, and don't assume ELF class <> ELFCLASS64 means ELFC