From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
To: avi@redhat.com
Cc: ehrhardt@linux.vnet.ibm.com, c=kvm-ppc@vger.kernel.org,
kvm@vger.kernel.org, hollisb@us.ibm.com
Subject: [PATCH 1 of 6] [PATCH] kvm-userspace: ppc: fix compatfd build decision
Date: Wed, 10 Dec 2008 16:45:47 +0100 [thread overview]
Message-ID: <b41f0d6129f51fb86bf7.1228923947@HelionPrime> (raw)
In-Reply-To: <patchbomb.1228923946@HelionPrime>
# HG changeset patch
# User Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
# Date 1228922788 -3600
# Node ID b41f0d6129f51fb86bf799a5fe7b14a9270eeca4
# Parent 3af3fa5e009e143e1167979e55d547c453661059
[PATCH] kvm-userspace: ppc: fix compatfd build decision
From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
qemu-kvm.c uses qemu_eventfd/qemu_signalfd. The code of compatfd takes care
if CONFIG_eventfd/CONFIG_signalfd is really enabled. But currently compatfd is
not build if --disable-aio is set. This patch lets compatfd.c build if USE_KVM
is set to allow qemu-kvm to be linked in all cases (with/without --disable-aio)
Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
---
[diffstat]
Makefile | 2 +-
Makefile.target | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[diff]
diff --git a/qemu/Makefile b/qemu/Makefile
--- a/qemu/Makefile
+++ b/qemu/Makefile
@@ -59,7 +59,7 @@ BLOCK_OBJS += block-raw-posix.o
BLOCK_OBJS += block-raw-posix.o
endif
-ifdef CONFIG_AIO
+ifeq ($(USE_KVM), 1)
BLOCK_OBJS += compatfd.o
endif
diff --git a/qemu/Makefile.target b/qemu/Makefile.target
--- a/qemu/Makefile.target
+++ b/qemu/Makefile.target
@@ -655,7 +655,7 @@ OBJS+=block-raw-posix.o
OBJS+=block-raw-posix.o
endif
-ifdef CONFIG_AIO
+ifeq ($(USE_KVM), 1)
OBJS+=compatfd.o
endif
next prev parent reply other threads:[~2008-12-10 15:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 15:45 [PATCH 0 of 6] powerpc updates to kvm-userspace Christian Ehrhardt
2008-12-10 15:45 ` Christian Ehrhardt [this message]
2008-12-14 10:45 ` [PATCH 1 of 6] [PATCH] kvm-userspace: ppc: fix compatfd build decision Avi Kivity
[not found] ` <4944E3E0.1050607-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2008-12-15 12:43 ` Christian Ehrhardt
2008-12-10 15:45 ` [PATCH 2 of 6] [PATCH] kvm-userspace: ppc: fix configure enabling kvm for ppc Christian Ehrhardt
2008-12-10 15:45 ` [PATCH 3 of 6] [PATCH] kvm-userspace: ppc: align with upstream qemu - breakpoint reset Christian Ehrhardt
2008-12-10 15:45 ` [PATCH 4 of 6] [PATCH] kvm-userpace: ppc: align with upstream qemu - 4xxdevs Christian Ehrhardt
2008-12-10 15:45 ` [PATCH 5 of 6] [PATCH] kvm-userspace: ppc: use virtio-blk header Christian Ehrhardt
2008-12-10 15:45 ` [PATCH 6 of 6] [PATCH] kvm-userspace: ppc: align with upstream qemu - pcibus Christian Ehrhardt
2008-12-14 8:36 ` [PATCH 0 of 6] powerpc updates to kvm-userspace Avi Kivity
2008-12-14 8:37 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b41f0d6129f51fb86bf7.1228923947@HelionPrime \
--to=ehrhardt@linux.vnet.ibm.com \
--cc=avi@redhat.com \
--cc=c=kvm-ppc@vger.kernel.org \
--cc=hollisb@us.ibm.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox