]> www.infradead.org Git - users/dwmw2/qemu.git/commit
migration: Split ram_bytes_total_common() in two functions
authorJuan Quintela <quintela@redhat.com>
Tue, 10 May 2022 17:18:19 +0000 (19:18 +0200)
committerJuan Quintela <quintela@redhat.com>
Thu, 9 Feb 2023 20:13:20 +0000 (21:13 +0100)
commit57906a75744c22543cba3d6252f5deddea49cacf
treecb2a1be183da4396cd3ad6239bf7fca334ce865e
parent816150528b6aa44d60113fe77667665eb5b8b12c
migration: Split ram_bytes_total_common() in two functions

It is just a big if in the middle of the function, and we need two
functions anways.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Juan Quintela <quintela@redhat.com>
---

Reindent to make Phillipe happy (and CODING_STYLE)
migration/ram.c