Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Paolo Bonzini
On 10/23/2010 03:50 AM, Alex Williamson wrote: Oops, memory.c isn't upstream, I'll push it down in my patch queue and send a new one. Neither is kvm_set_irq actually. :) This patch is only needed for qemu-kvm. BTW, maybe the better solution would be to move the kvm_*_irq* functions from

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Michael S. Tsirkin
On Fri, Oct 22, 2010 at 02:40:39PM -0600, Alex Williamson wrote: We need to pull in config.h or else kvm.h doesn't pull in linux/config.h, which we need if we ever want KVM_CAP_IRQCHIP defined. This requires moving the object over to Makefile.target or else we can't find config-target.h

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Alex Williamson
On Sat, 2010-10-23 at 18:16 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:39PM -0600, Alex Williamson wrote: We need to pull in config.h or else kvm.h doesn't pull in linux/config.h, which we need if we ever want KVM_CAP_IRQCHIP defined. This requires moving the object

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Michael S. Tsirkin
On Sat, Oct 23, 2010 at 10:52:43AM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at 18:16 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:39PM -0600, Alex Williamson wrote: We need to pull in config.h or else kvm.h doesn't pull in linux/config.h, which we need if we ever

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Alex Williamson
On Sat, 2010-10-23 at 19:29 +0200, Michael S. Tsirkin wrote: On Sat, Oct 23, 2010 at 10:52:43AM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at 18:16 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:39PM -0600, Alex Williamson wrote: We need to pull in config.h or else

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Michael S. Tsirkin
On Sat, Oct 23, 2010 at 12:42:44PM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at 19:29 +0200, Michael S. Tsirkin wrote: On Sat, Oct 23, 2010 at 10:52:43AM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at 18:16 +0200, Michael S. Tsirkin wrote: On Fri, Oct 22, 2010 at 02:40:39PM

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-23 Thread Alex Williamson
On Sat, Oct 23, 2010 at 2:38 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sat, Oct 23, 2010 at 12:42:44PM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at 19:29 +0200, Michael S. Tsirkin wrote: On Sat, Oct 23, 2010 at 10:52:43AM -0600, Alex Williamson wrote: On Sat, 2010-10-23 at

[PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-22 Thread Alex Williamson
We need to pull in config.h or else kvm.h doesn't pull in linux/config.h, which we need if we ever want KVM_CAP_IRQCHIP defined. This requires moving the object over to Makefile.target or else we can't find config-target.h Signed-off-by: Alex Williamson alex.william...@redhat.com ---

Re: [PATCH 2/2] msix: Pull in config.h for CONFIG_KVM

2010-10-22 Thread Alex Williamson
On Fri, 2010-10-22 at 14:40 -0600, Alex Williamson wrote: We need to pull in config.h or else kvm.h doesn't pull in linux/config.h, which we need if we ever want KVM_CAP_IRQCHIP defined. This requires moving the object over to Makefile.target or else we can't find config-target.h