diff options
author | Junaid Shahid <[email protected]> | 2022-07-29 15:43:29 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2022-08-24 13:41:59 -0700 |
commit | b24ede22538b4d984cbe20532bbcb303692e7f52 (patch) | |
tree | 22d8cfc0728b7a45fb37dfcefd43c8ea0b342ff1 /tools/perf/scripts/python/netdev-times.py | |
parent | 372d07084593dc7a399bf9bee815711b1fb1bcf2 (diff) |
kvm: x86: Do proper cleanup if kvm_x86_ops->vm_init() fails
If vm_init() fails [which can happen, for instance, if a memory
allocation fails during avic_vm_init()], we need to cleanup some
state in order to avoid resource leaks.
Signed-off-by: Junaid Shahid <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions