From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55345 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOTwt-0000SP-Q9 for qemu-devel@nongnu.org; Tue, 15 Jun 2010 07:04:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOTwk-00056K-14 for qemu-devel@nongnu.org; Tue, 15 Jun 2010 07:04:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53450) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOTwj-00056D-Qf for qemu-devel@nongnu.org; Tue, 15 Jun 2010 07:04:45 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5FB4jEx001242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Jun 2010 07:04:45 -0400 From: Jes.Sorensen@redhat.com Date: Tue, 15 Jun 2010 13:04:32 +0200 Message-Id: <1276599879-22749-1-git-send-email-Jes.Sorensen@redhat.com> Subject: [Qemu-devel] [PATCH 0/7] Fix building qemu-kvm for non KVM target List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: avi@redhat.com Cc: Jes Sorensen , qemu-devel@nongnu.org From: Jes Sorensen Hi, This set of patches fixes building qemu-kvm for non KVM targets, as reported in http://sourceforge.net/tracker/?func=detail&atid=893831&aid=2984626&group_id=180599 One of the main problem is that we have a tendency to move things from Makefile.objs to Makefile.target in order to be able to use TARGET_I386 etc in hw/*.c files. IMHO we need to start clamping down on this harder and move things into separate files rather than the #ifdef hacks. Hence this patch fixes the short term problem, but there is more work to do for the longer term. Cheers, Jes Jes Sorensen (7): Only call kvm_set_irqfd() if CONFIG_KVM is defined No need for kvm_init() stub as already defined in qemu-kvm.h time_drift_fix is x86 only, rather than !ia64 Build certain drivers for MIPS as well. Only export phys_mem create functions for !CONFIG_USER_ONLY builds Only treat KVM specific cmdline options for KVM enabled builds Only accept -no-hpet for i386 targets Makefile.target | 2 ++ hw/i8259.c | 2 +- hw/virtio-pci.c | 4 ++++ kvm-stub.c | 5 ----- qemu-kvm.h | 2 ++ vl.c | 4 ++++ 6 files changed, 13 insertions(+), 6 deletions(-)