qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH-for-6.2 v3 6/6] hw/core: Rename smp_parse() -> machine_parse_


From: Richard Henderson
Subject: Re: [PATCH-for-6.2 v3 6/6] hw/core: Rename smp_parse() -> machine_parse_smp_config()
Date: Thu, 11 Nov 2021 15:20:59 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 11/11/21 11:03 AM, Philippe Mathieu-Daudé wrote:
All methods related to MachineState are prefixed with "machine_".
smp_parse() does not need to be an exception. Rename it and
const'ify the SMPConfiguration argument, since it doesn't need
to be modified.

Signed-off-by: Philippe Mathieu-Daudé<philmd@redhat.com>
---
  include/hw/boards.h         | 3 ++-
  hw/core/machine-smp.c       | 6 ++++--
  hw/core/machine.c           | 2 +-
  tests/unit/test-smp-parse.c | 8 ++++----
  4 files changed, 11 insertions(+), 8 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]