diff options
| author | Sean Christopherson <[email protected]> | 2021-12-06 20:54:20 +0100 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-12-08 04:24:26 -0500 |
| commit | 77aedf26fe5d2795cd6aa1a75a8dd62dbac503e6 (patch) | |
| tree | 8a61ffaa6fc66ac72bed588431193e5c19096af2 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 07921665a651918350bc6653d4ca8a516a867b4b (diff) | |
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 <[email protected]>
Reviewed-by: Maciej S. Szmigiero <[email protected]>
Signed-off-by: Maciej S. Szmigiero <[email protected]>
Message-Id: <2eb7788adbdc2bc9a9c5f86844dd8ee5c8428732.1638817640.git.maciej.szmigiero@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions