]> bbs.cooldavid.org Git - net-next-2.6.git/commit - arch/x86/kvm/i8254.c
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)
commit6b66ac1ae3328177305a2600eb85b7446f41fdc9
tree6b61633cf186000dcde663f83b1358ed0ef0d440
parentd76685c4a074041ed168e0b04dd604c3df5dcaa5
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