commit | e756fc626d7d8a220864dd6bc6634d9d933650b0 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Mon Jul 30 20:07:08 2007 +1000 |
committer | Avi Kivity <avi@qumranet.com> | Sat Oct 13 10:18:21 2007 +0200 |
tree | 03ec44448f28c9cf42f0c0e6c514c876102275a6 | |
parent | 3077c4513c46f66537c1205acc464e49c9847dc0 [diff] |
KVM: SVM: de-containization container_of is wonderful, but not casting at all is better. This patch changes svm.c's internal functions to pass "struct vcpu_svm" 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>