diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-07-30 20:07:08 +1000 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 10:18:21 +0200 |
commit | e756fc626d7d8a220864dd6bc6634d9d933650b0 (patch) | |
tree | 03ec44448f28c9cf42f0c0e6c514c876102275a6 /lib | |
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions