On 29.11.2010, at 13:30, Jan Kiszka wrote: > Am 29.11.2010 13:24, Alexander Graf wrote: >> >> On 28.11.2010, at 16:59, Jan Kiszka wrote: >> >>> From: Jan Kiszka <jan.kis...@siemens.com> >>> >>> Xen target bits in qemu are intended for x86. Let the build system >>> reflect this and avoid useless building/linking for other targets. >> >> Not sure I understand the split. Xen is x86 only, yes. But why split it into >> host and target? Target usually defines the guest. The piece you marked as >> _HOST are target specific. > > At least so far, the HOST part is build once for all targets into the > host backend library. As this step injected CONFIG_XEN into all target > builds, even non-x86 targets built xen_machine_pv and xen_domainbuild. > That's addressed by the patch.
I still don't understand the need for that split. The device drivers should be built only once, as do the xen_machine_pv parts. Both are useless on non-x86. CONFIG_XEN should simply always be a target specific option. Alex