diff options
author | Chenyi Qiang <chenyi.qiang@intel.com> | 2025-06-12 16:27:44 +0800 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2025-06-23 16:03:59 -0400 |
commit | 2205b8466733f8c6e3306c964f31c5a7cac69dfa (patch) | |
tree | 7a1b35a8bdcbcb763af65476bc0539de2d8aa670 /scripts/qapi/source.py | |
parent | ff1211154c45c9f7f82116ae9a8c72a848e4a8b5 (diff) | |
download | qemu-2205b8466733f8c6e3306c964f31c5a7cac69dfa.zip qemu-2205b8466733f8c6e3306c964f31c5a7cac69dfa.tar.gz qemu-2205b8466733f8c6e3306c964f31c5a7cac69dfa.tar.bz2 |
memory: Unify the definiton of ReplayRamPopulate() and ReplayRamDiscard()
Update ReplayRamDiscard() function to return the result and unify the
ReplayRamPopulate() and ReplayRamDiscard() to ReplayRamDiscardState() at
the same time due to their identical definitions. This unification
simplifies related structures, such as VirtIOMEMReplayData, which makes
it cleaner.
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Link: https://lore.kernel.org/r/20250612082747.51539-4-chenyi.qiang@intel.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions