diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-23 03:50:30 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-11-30 11:54:12 +0300 |
commit | 2b347a387811cb4aa7bcdb96e9203c5019a6fb41 (patch) | |
tree | 426585769400ab002d01814c090c7712ddd685df /drivers/soc/dove | |
parent | 501b580c02339a83917cf3b44c445f2419b15dcb (diff) | |
download | linux-2b347a387811cb4aa7bcdb96e9203c5019a6fb41.tar.xz |
KVM: SEV: initialize regions_list of a mirror VM
This was broken before the introduction of KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM,
but technically harmless because the region list was unused for a mirror
VM. However, it is untidy and it now causes a NULL pointer access when
attempting to move the encryption context of a mirror VM.
Fixes: 54526d1fd593 ("KVM: x86: Support KVM VMs sharing SEV context")
Message-Id: <20211123005036.2954379-7-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/soc/dove')
0 files changed, 0 insertions, 0 deletions