plugins: Ensure vCPU index is assigned in init/exit hooks
commit2089a2e5bb81a258b7d30bf51a2ab7447ecc4e7f
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jul 2024 08:40:34 +0000 (5 09:40 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 5 Jul 2024 11:34:48 +0000 (5 12:34 +0100)
tree30cf8ac1621c592129fb1c983e94af38eef88bad
parent3b8550c955ccd0a31667414d69a469bfdb7a56ff
plugins: Ensure vCPU index is assigned in init/exit hooks

Since vCPUs are hashed by their index, this index can't
be uninitialized (UNASSIGNED_CPU_INDEX).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240606124010.2460-2-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240705084047.857176-28-alex.bennee@linaro.org>
plugins/core.c