On 13/4/26 15:19, Daniel P. Berrangé wrote:
On Mon, Apr 13, 2026 at 03:07:48PM +0200, Philippe Mathieu-Daudé wrote:
With SMP configurations, using the 'current vCPU' under the monitor isn't recommended, as it changes during runtime. Better to specify which vCPU we want to monitor by its index. Deprecate the default of 'info lapic', mentioning an argument is expected, so we can remove this unpredictable behavior one day.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- The other command with this unpredictable behavior is 'info tlb' which we'll deal with differently, after the v11.0 release.
Aren't there quite a few more commands that rely on the HMP "current" vCPU concept besides these two ?
info registers comes to mind,
There are others whic call mon_get_cpu(), which are not directly caring about a specific CPU, eg 'info mem', 'memory_dump'
Why the rush to get lapic deprecated in 11.0 but not the otherrs ?
Reading the "Arm OABI and NWFPE" deprecation patch triggered "oh it is still possible to get deprecation message merged" and I took that first patch of a bigger branch. Not a smart move because no rush indeed.
--- docs/about/deprecated.rst | 6 ++++++ target/i386/cpu-apic.c | 2 ++ hmp-commands-info.hx | 3 +-- 3 files changed, 9 insertions(+), 2 deletions(-)