KVM: PIT: fix kpit_elapsed division by zero
Fix division by zero triggered by latch count command on uninitialized counter. Cc: stable@kernel.org Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
parent
e125e7b6
Please register or sign in to comment