diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-11-14 15:54:08 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-11-26 09:35:37 -0600 |
commit | 21022c92dc5095324ceb3effc068b5ff81642125 (patch) | |
tree | f8778e31aa95b24ca64015f3648a723dda708935 | |
parent | 243b95111c8b8d171e627247a7de16e94c7e9de0 (diff) | |
download | hqemu-21022c92dc5095324ceb3effc068b5ff81642125.zip hqemu-21022c92dc5095324ceb3effc068b5ff81642125.tar.gz |
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>
-rw-r--r-- | 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 142bf8a..3429a9a 100644 --- a/hw/pc_q35.c +++ b/hw/pc_q35.c @@ -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; |