]> xenbits.xensource.com Git - xen.git/commit
x86: only generate compat headers actually needed
authorJan Beulich <jbeulich@suse.com>
Fri, 4 Sep 2020 09:15:21 +0000 (11:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 4 Sep 2020 09:15:21 +0000 (11:15 +0200)
commit2c8fabb2232d34d6d20a9ce6989e2e6cbee07d52
treea083b495412543fabe673ca7bab9830871664672
parent7dcf89d9ec96254f69744ab6d91e8af13f4cda83
x86: only generate compat headers actually needed

As was already the case for XSM/Flask, avoid generating compat headers
when they're not going to be needed. To address resulting build issues
- move compat/hvm/dm_op.h inclusion to the only source file needing it,
- add a little bit of #ifdef-ary.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/hvm/dm.c
xen/common/compat/domain.c
xen/include/Makefile
xen/include/xen/hypercall.h