+65
−75
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>