]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: do not register i8254 PIO regions until we are initialized
authorGregory Haskins <ghaskins@novell.com>
Mon, 1 Jun 2009 16:54:56 +0000 (12:54 -0400)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:45 +0000 (08:32 +0300)
commit6574de07162697c0eeb97ee927cdb440d7e9e893
tree6b61633cf186000dcde663f83b1358ed0ef0d440
parentc3f0326a92c9cec6892f88a0cd1db953f077e0eb
KVM: do not register i8254 PIO regions until we are initialized

We currently publish the i8254 resources to the pio_bus before the devices
are fully initialized.  Since we hold the pit_lock, its probably not
a real issue.  But lets clean this up anyway.

Reported-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Acked-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/i8254.c