KVM: i8254: tone down WARN_ON pit.state_lock
authorRadim Krčmář <rkrcmar@redhat.com>
Wed, 2 Mar 2016 21:56:42 +0000 (22:56 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Mar 2016 08:29:51 +0000 (09:29 +0100)
commitb69d920f68b119bdc0483f0c33d34fd0c57724f5
treee3f4efee35077356a274760bda38276f15e4ebd5
parentddf54503e2bbed01958cf5fb16ad6378971d2468
KVM: i8254: tone down WARN_ON pit.state_lock

If the guest could hit this, it would hang the host kernel, bacause of
sheer number of those reports.  Internal callers have to be sensible
anyway, so we now only check for it in an API function.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/i8254.c
This page took 0.024771 seconds and 5 git commands to generate.