|
From: | Markus Armbruster |
Subject: | Re: [PATCH 1/2] hw/core/machine: Split out smp_parse as an inline API |
Date: | Mon, 11 Oct 2021 07:26:19 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Yanan Wang <wangyanan55@huawei.com> writes: > Functionally smp_parse() is only called once and in one place > i.e. machine_set_smp, the possible second place where it'll be > called should be some unit tests if any. > > Actually we are going to introduce an unit test for the parser. > For necessary isolation of the tested code, split smp_parse out > into a separate header as an inline API. Why inline? > Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
[Prev in Thread] | Current Thread | [Next in Thread] |