History | View | Annotate | Download (8.7 kB)
i8254: Open-code timer restore
Same as for the APIC: To enable migration between accelerated andnon-accelerated models, we need to arm the channel 0 timer only insidethe emulated PIT model. The common code just saves/restores that timerto the the next_transition_time field....
i8254: Factor out base class for KVM reuse
Applying the concept used for the *PICs once again: establish a baseclass for the i8254 that can be used both by the current user spaceemulation and the upcoming KVM in-kernel version. We share most of thepublic interface of the i8254, specifically to the pcspk, vmstate, reset...