qemu/hw/kvm
Jan Kiszka 050a46065d kvm: i8254: Finish time conversion fix
0cdd3d1444 fixed reading back the counter load time from the kernel
while assuming the kernel would always update its load time on writing
the state. That is only true for channel 1, and so pit_get_channel_info
returned wrong output pin states for high counter values.

Fix this by applying the offset also on kvm_pit_put. Now we also need to
update the offset when we write the state while the VM is stopped as it
keeps on changing in that state.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2012-08-14 19:23:16 -03:00
..
Makefile.objs make: automatically include dependencies in recursive subdir rules (v2) 2012-06-19 13:32:42 -05:00
apic.c kvm/apic: correct short memset 2012-06-11 12:57:40 +03:00
clock.c kvmclock: guest stop notification 2012-04-12 19:01:42 -03:00
clock.h kvm: Move kvmclock into hw/kvm folder 2012-01-19 12:14:39 +01:00
i8254.c kvm: i8254: Finish time conversion fix 2012-08-14 19:23:16 -03:00
i8259.c kvm: Rename kvm_irqchip_set_irq() to kvm_set_irq() 2012-08-09 16:16:54 +03:00
ioapic.c kvm: Rename kvm_irqchip_set_irq() to kvm_set_irq() 2012-08-09 16:16:54 +03:00