diff options
| author | Maciej S. Szmigiero <[email protected]> | 2021-12-06 20:54:26 +0100 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-12-08 04:24:31 -0500 |
| commit | 1e8617d37fc36407f9fce9c08ef8d254613c00de (patch) | |
| tree | 80c0cbcc57bc7b25f49cf027ce2477196d66b49c /tools/perf/scripts/python | |
| parent | c928bfc2632fa3dd6a3bd4504ac6d8e42302287a (diff) | |
KVM: Move WARN on invalid memslot index to update_memslots()
Since kvm_memslot_move_forward() can theoretically return a negative
memslot index even when kvm_memslot_move_backward() returned a positive one
(and so did not WARN) let's just move the warning to the common code.
Signed-off-by: Maciej S. Szmigiero <[email protected]>
Reviewed-by: Claudio Imbrenda <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Message-Id: <eeed890ccb951e7b0dce15bc170eb2661d5b02da.1638817640.git.maciej.szmigiero@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions