diff options
author | Like Xu <[email protected]> | 2022-03-01 20:49:41 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-03-02 10:55:58 -0500 |
commit | c6c937d673aaa1d603f62f134e1ca9c173eeeed3 (patch) | |
tree | 2c0aab27010170b61be15ceddf408fdf7b6d3ec2 /net/switchdev/switchdev.c | |
parent | 9ee83635d872812f3920209c606c6ea9e412ffcc (diff) |
KVM: x86/mmu: Passing up the error state of mmu_alloc_shadow_roots()
Just like on the optional mmu_alloc_direct_roots() path, once shadow
path reaches "r = -EIO" somewhere, the caller needs to know the actual
state in order to enter error handling and avoid something worse.
Fixes: 4a38162ee9f1 ("KVM: MMU: load PDPTRs outside mmu_lock")
Signed-off-by: Like Xu <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions