sorry about missing reply-all before On Thu, Feb 9, 2012 at 3:07 PM, Alexander Graf <agraf at suse.de> wrote: > On 10.02.2012, at 00:04, Christoffer Dall wrote: > >> becuase KVM_CAP_IRQ_ROUTING is only defined when __KVM_HAVE_IOAPIC. >> kvm/arm does not have this defined. > > Then it's not a cross compiling issue, but a header definition issue. > >> >> any better way to fix this - I'm completely open to that. > > Yes, get rid of conditional CAP definitions. Just always define them :). The number space is linear anyways, so it doesn't make any sense to hide specific constants. > this is a Linux imported header file. I'm not sure about the whole flow here, so consider this patch a hint to the qemu to please help me fix it then...