From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWupe-0003r7-57 for qemu-devel@nongnu.org; Sat, 03 Dec 2011 14:01:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWupc-0000vy-NW for qemu-devel@nongnu.org; Sat, 03 Dec 2011 14:01:06 -0500 Received: from cantor2.suse.de ([195.135.220.15]:54222 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWupc-0000vl-Iq for qemu-devel@nongnu.org; Sat, 03 Dec 2011 14:01:04 -0500 Message-ID: <4EDA71B5.1060006@suse.de> Date: Sat, 03 Dec 2011 20:00:05 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC][PATCH 02/16] kvm: Move kvmclock into hw/kvm folder List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Anthony Liguori , kvm@vger.kernel.org, "Michael S. Tsirkin" , Marcelo Tosatti , qemu-devel , Blue Swirl , Avi Kivity Am 03.12.2011 12:17, schrieb Jan Kiszka: > From: Jan Kiszka >=20 > More KVM-specific devices will come, so let's start with moving the > kvmclock into a dedicated folder. >=20 > Signed-off-by: Jan Kiszka > --- > diff --git a/Makefile.target b/Makefile.target > index 1e90df7..3a9e95d 100644 > --- a/Makefile.target > +++ b/Makefile.target > @@ -231,7 +231,7 @@ obj-i386-y +=3D vmport.o > obj-i386-y +=3D device-hotplug.o pci-hotplug.o smbios.o wdt_ib700.o > obj-i386-y +=3D debugcon.o multiboot.o > obj-i386-y +=3D pc_piix.o > -obj-i386-$(CONFIG_KVM) +=3D kvmclock.o > +obj-i386-$(CONFIG_KVM) +=3D kvm/clock.o > obj-i386-$(CONFIG_SPICE) +=3D qxl.o qxl-logger.o qxl-render.o > =20 > # shared objects > diff --git a/hw/kvmclock.c b/hw/kvm/clock.c > similarity index 96% > rename from hw/kvmclock.c > rename to hw/kvm/clock.c > index 5388bc4..aa37c5d 100644 > --- a/hw/kvmclock.c > +++ b/hw/kvm/clock.c > @@ -11,11 +11,11 @@ > * > */ > =20 > -#include "qemu-common.h" > -#include "sysemu.h" > -#include "sysbus.h" > -#include "kvm.h" > -#include "kvmclock.h" > +#include > +#include > +#include > +#include > +#include > =20 > #include > #include Please don't start using system includes for everything. Rather extend QEMU_CFLAGS to contain the right user include path(s). Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg