aboutsummaryrefslogtreecommitdiff
path: root/hw/kvmclock.c
AgeCommit message (Collapse)Author
2011-05-02kvm: create kvmclock when one of the flags are presentGlauber Costa
kvmclock presence can be signalled by two different flags. So for device creation, we have to test for both. Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
2011-02-14kvm: x86: Introduce kvmclock device to save/restore its stateJan Kiszka
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>