From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLUeW-000638-JQ for qemu-devel@nongnu.org; Tue, 09 Oct 2012 03:54:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLUeV-0004r5-4P for qemu-devel@nongnu.org; Tue, 09 Oct 2012 03:54:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLUeU-0004r1-Rw for qemu-devel@nongnu.org; Tue, 09 Oct 2012 03:54:55 -0400 Message-ID: <5073D845.5010105@redhat.com> Date: Tue, 09 Oct 2012 09:54:45 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 17/21] q35: Add kvmclock support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Baron Cc: aliguori@us.ibm.com, juzhang@redhat.com, mst@redhat.com, jan.kiszka@siemens.com, qemu-devel@nongnu.org, agraf@suse.de, blauwirbel@gmail.com, yamahata@valinux.co.jp, alex.williamson@redhat.com, kevin@koconnor.net, avi@redhat.com, mkletzan@redhat.com, lcapitulino@redhat.com, afaerber@suse.de, armbru@redhat.com, kraxel@redhat.com Il 09/10/2012 05:30, Jason Baron ha scritto: > From: Jan Kiszka > > Signed-off-by: Jan Kiszka > Signed-off-by: Jason Baron > --- > hw/pc_q35.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/hw/pc_q35.c b/hw/pc_q35.c > index b6a619a..48083bb 100644 > --- a/hw/pc_q35.c > +++ b/hw/pc_q35.c > @@ -69,6 +69,7 @@ > #include "mc146818rtc.h" > #include "xen.h" > #include "kvm.h" > +#include "kvm/clock.h" > > #include "q35.h" > #include "exec-memory.h" > @@ -357,6 +358,8 @@ static void pc_q35_init(ram_addr_t ram_size, > > pc_cpus_init(cpu_model); > > + kvmclock_create(); > + > if (ram_size >= 0xb0000000) { > above_4g_mem_size = ram_size - 0xb0000000; > below_4g_mem_size = 0xb0000000; > Reviewed-by: Paolo Bonzini