Re: [PATCH] target/i386/monitor: synchronize cpu before printing lapic state

2023-10-26 Thread Dongli Zhang
Hi David, Thank you very much for the Reviewed-by in another thread. I have re-based the patch and sent again. https://lore.kernel.org/all/20231026211938.162815-1-dongli.zh...@oracle.com/ Dongli Zhang On 10/26/23 09:39, Dongli Zhang wrote: > Hi David, > > On 10/26/23 08:39, David Woodhouse wr

Re: [PATCH] target/i386/monitor: synchronize cpu before printing lapic state

2023-10-26 Thread Dongli Zhang
Hi David, On 10/26/23 08:39, David Woodhouse wrote: > From: David Woodhouse > > Where the local APIC is emulated by KVM, we need kvm_get_apic() to pull > the current state into userspace before it's printed. Otherwise we get > stale values. > > Signed-off-by: David Woodhouse > --- > target/i3

[PATCH] target/i386/monitor: synchronize cpu before printing lapic state

2023-10-26 Thread David Woodhouse
From: David Woodhouse Where the local APIC is emulated by KVM, we need kvm_get_apic() to pull the current state into userspace before it's printed. Otherwise we get stale values. Signed-off-by: David Woodhouse --- target/i386/monitor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/targ