diff options
| author | Sean Christopherson <[email protected]> | 2021-12-06 20:54:34 +0100 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-12-08 04:24:37 -0500 |
| commit | 0f9bdef3d933ba10d577b446c703a901fa5fdc30 (patch) | |
| tree | b0df65fd9dd3c2c94f5519017ff5c5d44c70be2f /tools/perf/scripts/python/bin | |
| parent | 44401a204734ce837e0b36c8418af4fad6a21f95 (diff) | |
KVM: Wait 'til the bitter end to initialize the "new" memslot
Initialize the "new" memslot in the !DELETE path only after the various
sanity checks have passed. This will allow a future commit to allocate
@new dynamically without having to copy a memslot, and without having to
deal with freeing @new in error paths and in the "nothing to change" path
that's hiding in the sanity checks.
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: <a084d0531ca3a826a7f861eb2b08b5d1c06ef265.1638817641.git.maciej.szmigiero@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions