summaryrefslogtreecommitdiff
path: root/virt/kvm/arm/hyp/vgic-v2-sr.c
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2017-11-27 21:17:18 +0300
committerChristoffer Dall <christoffer.dall@linaro.org>2017-12-01 11:09:31 +0300
commit6b2ad81bcfedaf36ceb8e6e71a58ad4ebd716313 (patch)
tree3bb40fb8b8f7eae4b2559bb24d5488c8b6501bd5 /virt/kvm/arm/hyp/vgic-v2-sr.c
parent7465894e90e5a47e0e52aa5f1f708653fc40020f (diff)
downloadlinux-6b2ad81bcfedaf36ceb8e6e71a58ad4ebd716313.tar.xz
KVM: arm/arm64: kvm_arch_destroy_vm cleanups
kvm_vgic_vcpu_destroy already gets called from kvm_vgic_destroy for each vcpu, so we don't have to call it from kvm_arch_vcpu_free. Additionally the other architectures set kvm->online_vcpus to zero after freeing them. We might as well do that for ARM too. Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/arm/hyp/vgic-v2-sr.c')
0 files changed, 0 insertions, 0 deletions