]> git.proxmox.com Git - mirror_qemu.git/commit - hw/pc_piix.c
kvm: x86: Introduce kvmclock device to save/restore its state
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 7 Feb 2011 11:19:26 +0000 (12:19 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Feb 2011 14:43:09 +0000 (12:43 -0200)
commit0ec329dab938e2d97d12a91f8ed15fec27b325e0
tree380012f1fda4003027243b35d4a811d2ec15f5c4
parent6a7af8cb04c345eb1ed9d95250ef3ad4400e65c5
kvm: x86: Introduce kvmclock device to save/restore its state

If kvmclock is used, which implies the kernel supports it, register a
kvmclock device with the sysbus. Its main purpose is to save and restore
the kernel state on migration, but this will also allow to visualize it
one day.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
CC: Glauber Costa <glommer@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Makefile.target
hw/kvmclock.c [new file with mode: 0644]
hw/kvmclock.h [new file with mode: 0644]
hw/pc_piix.c