q35: Add kvmclock support

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Jason Baron <jbaron@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Jan Kiszka 2012-11-14 15:54:08 -05:00 committed by Anthony Liguori
parent 243b95111c
commit 21022c92dc

View File

@ -34,6 +34,7 @@
#include "mc146818rtc.h"
#include "xen.h"
#include "kvm.h"
#include "kvm/clock.h"
#include "q35.h"
#include "exec-memory.h"
#include "ich9.h"
@ -87,6 +88,8 @@ static void pc_q35_init(QEMUMachineInitArgs *args)
pc_cpus_init(cpu_model);
kvmclock_create();
if (ram_size >= 0xb0000000) {
above_4g_mem_size = ram_size - 0xb0000000;
below_4g_mem_size = 0xb0000000;