From: Gregory Haskins Date: Mon, 1 Jun 2009 16:54:50 +0000 (-0400) Subject: KVM: cleanup io_device code X-Git-Tag: v2.6.32-rc1~693^2~178 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76685c4a074041ed168e0b04dd604c3df5dcaa5;p=pandora-kernel.git 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 Acked-by: Chris Wright Signed-off-by: Avi Kivity --- Reading git-diff-tree failed