KVM: cleanup io_device code
authorGregory Haskins <ghaskins@novell.com>
Mon, 1 Jun 2009 16:54:50 +0000 (12:54 -0400)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:45 +0000 (08:32 +0300)
We modernize the io_device code so that we use container_of() instead of
dev->private, and move the vtable to a separate ops structure
(theoretically allows better caching for multiple instances of the same
ops structure)

Signed-off-by: Gregory Haskins <ghaskins@novell.com>
Acked-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found