Skip to content
Commit d76685c4 authored by Gregory Haskins's avatar Gregory Haskins Committed by Avi Kivity
Browse files

KVM: cleanup io_device code



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: default avatarGregory Haskins <ghaskins@novell.com>
Acked-by: default avatarChris Wright <chrisw@sous-sol.org>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 787a660a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment