diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-07-30 16:31:43 +1000 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 10:18:21 +0200 |
commit | 8b9cf98cc7ea7354d6d4cbc4ffdb18a26a1129d3 (patch) | |
tree | e9bb48a799538c24c2ccd6b5023446d18076c881 /drivers/kvm/svm.c | |
parent | 9bd01506ee551689b90ba5822c28ef55207146af (diff) |
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 <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions