]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: vgic-its: Cleanup after failed ITT restore
authorChristoffer Dall <cdall@linaro.org>
Mon, 8 May 2017 11:31:12 +0000 (13:31 +0200)
committerChristoffer Dall <cdall@linaro.org>
Tue, 9 May 2017 10:19:46 +0000 (12:19 +0200)
commit3f22837d844177f1778ebac55311d30d82e244ff
treec158183a0bfdccb96e951da65f38ebdf8973ebd3
parent2e449c3ba39108661118ad6b63b51d2f767be744
KVM: arm/arm64: vgic-its: Cleanup after failed ITT restore

When failing to restore the ITT for a DTE, we should remove the failed
device entry from the list and free the object.

We slightly refactor vgic_its_destroy to be able to reuse the now
separate vgic_its_free_dte() function.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
virt/kvm/arm/vgic/vgic-its.c