commit | d76685c4a074041ed168e0b04dd604c3df5dcaa5 | [log] [tgz] |
---|---|---|
author | Gregory Haskins <ghaskins@novell.com> | Mon Jun 01 12:54:50 2009 -0400 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 10 08:32:45 2009 +0300 |
tree | 828fb3a57b7829530904318a0ad9d006e21408ad | |
parent | 787a660a4f03325a0e00493ac39017e53fd345fa [diff] |
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: Gregory Haskins <ghaskins@novell.com> Acked-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Avi Kivity <avi@redhat.com>