summary refs log tree commit diff stats
path: root/system/ram-block-attributes.c
diff options
context:
space:
mode:
authorChenyi Qiang <chenyi.qiang@intel.com>2025-06-12 16:27:44 +0800
committerPeter Xu <peterx@redhat.com>2025-06-23 16:03:59 -0400
commit2205b8466733f8c6e3306c964f31c5a7cac69dfa (patch)
tree7a1b35a8bdcbcb763af65476bc0539de2d8aa670 /system/ram-block-attributes.c
parentff1211154c45c9f7f82116ae9a8c72a848e4a8b5 (diff)
downloadfocaccia-qemu-2205b8466733f8c6e3306c964f31c5a7cac69dfa.tar.gz
focaccia-qemu-2205b8466733f8c6e3306c964f31c5a7cac69dfa.zip
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 'system/ram-block-attributes.c')
0 files changed, 0 insertions, 0 deletions