diff options
| author | Sean Christopherson <seanjc@google.com> | 2021-12-06 20:54:20 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-08 04:24:26 -0500 |
| commit | 77aedf26fe5d2795cd6aa1a75a8dd62dbac503e6 (patch) | |
| tree | 8a61ffaa6fc66ac72bed588431193e5c19096af2 /virt | |
| parent | 07921665a651918350bc6653d4ca8a516a867b4b (diff) | |
| download | linux-77aedf26fe5d2795cd6aa1a75a8dd62dbac503e6.tar.bz2 | |
KVM: x86: Don't assume old/new memslots are non-NULL at memslot commit
Play nice with a NULL @old or @new when handling memslot updates so that
common KVM can pass NULL for one or the other in CREATE and DELETE cases
instead of having to synthesize a dummy memslot.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
Message-Id: <2eb7788adbdc2bc9a9c5f86844dd8ee5c8428732.1638817640.git.maciej.szmigiero@oracle.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions