|
From: | Richard Henderson |
Subject: | Re: [PATCH v4 4/7] dump: Introduce win_dump_available() |
Date: | Thu, 23 Feb 2023 13:43:24 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
On 2/23/23 13:17, Philippe Mathieu-Daudé wrote:
@@ -2130,12 +2136,10 @@ void qmp_dump_guest_memory(bool paging, const char *file, } #endif-#ifndef TARGET_X86_64- if (has_format && format == DUMP_GUEST_MEMORY_FORMAT_WIN_DMP) { - error_setg(errp, "Windows dump is only available for x86-64"); + if (has_format && format == DUMP_GUEST_MEMORY_FORMAT_WIN_DMP + && !win_dump_available(errp)) {
Indentation is off. Otherwise looks plausible as an intermediate step before more targets. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |