]> www.infradead.org Git - users/dwmw2/qemu.git/commit
cpu-target: don't set cpu->thread_id to bogus value
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 30 May 2024 19:42:48 +0000 (20:42 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 4 Jun 2024 08:02:39 +0000 (10:02 +0200)
commit39e4bc4cdf83175e4a2d73e32c8d6785b80ebeef
treea3ed30646f63f39673713096951f18e247ad2672
parenta4c2735f35b8b2bca5784ff9bf754a99b654c9a8
cpu-target: don't set cpu->thread_id to bogus value

The thread_id isn't valid until the threads are created. There is no
point setting it here. The only thing that cares about the thread_id
is qmp_query_cpus_fast.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240530194250.1801701-4-alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
cpu-target.c