All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qemu-kvm: move msi-x to Makefile.target
@ 2009-10-06 12:21 Michael S. Tsirkin
  2009-10-08 12:43 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Michael S. Tsirkin @ 2009-10-06 12:21 UTC (permalink / raw)
  To: avi, kvm, gleb

KVM interrupt injection support depends on target,
so MSI-X needs to be in Makefile.target for interrupt
injection to work.  We'll be able to clean it up once
interrupt injection is upstream.

This fixes virtio breakage with kvm caused by 263b7947327e13.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 Makefile.hw     |    4 +++-
 Makefile.target |    3 +++
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Makefile.hw b/Makefile.hw
index 830902b..dcb61aa 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -22,7 +22,9 @@ obj-y += m48t59.o escc.o
 # PCI watchdog devices
 obj-y += wdt_i6300esb.o
 
-obj-y += msix.o
+# MSI-X depends on kvm for interrupt injection,
+# so moved it from Makefile.hw to Makefile.target for now
+# obj-y += msix.o
 
 # PCI network cards
 obj-y += ne2000.o
diff --git a/Makefile.target b/Makefile.target
index e991fa3..acee285 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -162,6 +162,9 @@ obj-y = vl.o monitor.o pci.o isa_mmio.o machine.o \
 # need to fix this properly
 obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o
 obj-$(CONFIG_KVM) += kvm.o kvm-all.o
+# MSI-X depends on kvm for interrupt injection,
+# so moved it from Makefile.hw to Makefile.target for now
+obj-y += msix.o
 
 LIBS+=-lz
 
-- 
1.6.5.rc2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] qemu-kvm: move msi-x to Makefile.target
  2009-10-06 12:21 [PATCH] qemu-kvm: move msi-x to Makefile.target Michael S. Tsirkin
@ 2009-10-08 12:43 ` Avi Kivity
  2009-10-08 12:57   ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2009-10-08 12:43 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: kvm, gleb

On 10/06/2009 02:21 PM, Michael S. Tsirkin wrote:
> KVM interrupt injection support depends on target,
> so MSI-X needs to be in Makefile.target for interrupt
> injection to work.  We'll be able to clean it up once
> interrupt injection is upstream.
>
> This fixes virtio breakage with kvm caused by 263b7947327e13.
>
>    

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] qemu-kvm: move msi-x to Makefile.target
  2009-10-08 12:43 ` Avi Kivity
@ 2009-10-08 12:57   ` Avi Kivity
  2009-10-08 13:21     ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2009-10-08 12:57 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: kvm, gleb

On 10/08/2009 02:43 PM, Avi Kivity wrote:
> On 10/06/2009 02:21 PM, Michael S. Tsirkin wrote:
>> KVM interrupt injection support depends on target,
>> so MSI-X needs to be in Makefile.target for interrupt
>> injection to work. We'll be able to clean it up once
>> interrupt injection is upstream.
>>
>> This fixes virtio breakage with kvm caused by 263b7947327e13.
>>
>
> Applied, thanks.
>

Er, this doesn't build:

In file included from /home/avi/qemu-kvm/hw/msix.c:18:
/home/avi/qemu-kvm/qemu-kvm.h:1234: error: field ‘kvm_sw_breakpoints’ 
has incomplete type

Dropped.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] qemu-kvm: move msi-x to Makefile.target
  2009-10-08 12:57   ` Avi Kivity
@ 2009-10-08 13:21     ` Avi Kivity
  0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2009-10-08 13:21 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: kvm, gleb

On 10/08/2009 02:57 PM, Avi Kivity wrote:
> On 10/08/2009 02:43 PM, Avi Kivity wrote:
>> On 10/06/2009 02:21 PM, Michael S. Tsirkin wrote:
>>> KVM interrupt injection support depends on target,
>>> so MSI-X needs to be in Makefile.target for interrupt
>>> injection to work. We'll be able to clean it up once
>>> interrupt injection is upstream.
>>>
>>> This fixes virtio breakage with kvm caused by 263b7947327e13.
>>>
>>
>> Applied, thanks.
>>
>
> Er, this doesn't build:
>
> In file included from /home/avi/qemu-kvm/hw/msix.c:18:
> /home/avi/qemu-kvm/qemu-kvm.h:1234: error: field ‘kvm_sw_breakpoints’ 
> has incomplete type
>
> Dropped.
>

And re-applied, after seeing your previous fix.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-08 13:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-06 12:21 [PATCH] qemu-kvm: move msi-x to Makefile.target Michael S. Tsirkin
2009-10-08 12:43 ` Avi Kivity
2009-10-08 12:57   ` Avi Kivity
2009-10-08 13:21     ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.