From: Rusty Russell Date: Mon, 30 Jul 2007 06:31:43 +0000 (+1000) Subject: KVM: VMX: pass vcpu_vmx internally X-Git-Tag: v2.6.24-rc1~1365^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b9cf98cc7ea7354d6d4cbc4ffdb18a26a1129d3;p=pandora-kernel.git KVM: VMX: pass vcpu_vmx internally container_of is wonderful, but not casting at all is better. This patch changes vmx.c's internal functions to pass "struct vcpu_vmx" instead of "struct kvm_vcpu" and using container_of. Signed-off-by: Rusty Russell Signed-off-by: Avi Kivity --- Reading git-diff-tree failed