From: Avi Kivity Subject: [PATCH 0/9] msix/kvm integration cleanups Date: Mon, 20 Sep 2010 17:06:41 +0200 Message-ID: <1284995210-32432-1-git-send-email-avi@redhat.com> To: Marcelo Tosatti , kvm@vger.kernel.org, "Michael S. Tsirkin" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:19941 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752427Ab0ITPGw (ORCPT ); Mon, 20 Sep 2010 11:06:52 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o8KF6pU0000537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 20 Sep 2010 11:06:52 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o8KF6pnO016581 for ; Mon, 20 Sep 2010 11:06:51 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This cleans up msix/kvm integration a bit. The really important patch is the last one, which allows msix.o to be part of non-target-specific build. Avi Kivity (9): msix: avoid leaking kvm data on init failure msix: make kvm specific initialization a function msix: move kvm specific msix notify into a function msix: move definitions from msix.c to msix.h Add missing #include to hw/irq.h msix: move kvm support functions to kvm-all.c and kvm-stub.c msix: Move kvm_enabled() guards to kvm-all.c functions Protect qemu-kvm.h declarations with NEED_CPU_H Move msix.o build back to Makefile.objs Makefile.objs | 4 +- Makefile.target | 4 - hw/irq.h | 2 + hw/msix.c | 173 ++++--------------------------------------------------- hw/msix.h | 26 ++++++++ kvm-all.c | 142 +++++++++++++++++++++++++++++++++++++++++++++ kvm-stub.c | 29 +++++++++ kvm.h | 16 +++++ qemu-kvm.h | 21 ++++++- 9 files changed, 247 insertions(+), 170 deletions(-) -- 1.7.2.3