mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
memory: follow Error API guidelines
Return true/false on success/failure. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231009075310.153617-1-marcandre.lureau@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
committed by
Philippe Mathieu-Daudé
parent
47538e44d6
commit
8a5b974b98
@ -618,8 +618,10 @@ bool cpu_paging_enabled(const CPUState *cpu);
|
||||
* @cpu: The CPU whose memory mappings are to be obtained.
|
||||
* @list: Where to write the memory mappings to.
|
||||
* @errp: Pointer for reporting an #Error.
|
||||
*
|
||||
* Returns: %true on success, %false otherwise.
|
||||
*/
|
||||
void cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list,
|
||||
bool cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list,
|
||||
Error **errp);
|
||||
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
|
Reference in New Issue
Block a user