Re: [PATCH v3 1/1] hmp: synchronize cpu state for lapic info

2023-11-08 Thread Philippe Mathieu-Daudé
On 26/10/23 23:19, Dongli Zhang wrote: While the default "info lapic" always synchronizes cpu state ... mon_get_cpu() -> mon_get_cpu_sync(mon, true) -> cpu_synchronize_state(cpu) -> ioctl KVM_GET_LAPIC (taking KVM as example) ... the cpu state is not synchronized when the apic-id is

Re: [PATCH v3 1/1] hmp: synchronize cpu state for lapic info

2023-11-05 Thread Thomas Huth
On 02/11/2023 07.00, Markus Armbruster wrote: Dongli Zhang writes: Hi Juan, On 10/30/23 09:31, Juan Quintela wrote: Dongli Zhang wrote: While the default "info lapic" always synchronizes cpu state ... mon_get_cpu() -> mon_get_cpu_sync(mon, true) -> cpu_synchronize_state(cpu) ->

Re: [PATCH v3 1/1] hmp: synchronize cpu state for lapic info

2023-11-01 Thread Markus Armbruster
Dongli Zhang writes: > Hi Juan, > > On 10/30/23 09:31, Juan Quintela wrote: >> Dongli Zhang wrote: >>> While the default "info lapic" always synchronizes cpu state ... >>> >>> mon_get_cpu() >>> -> mon_get_cpu_sync(mon, true) >>>-> cpu_synchronize_state(cpu) >>> -> ioctl KVM_GET_LAPIC (

Re: [PATCH v3 1/1] hmp: synchronize cpu state for lapic info

2023-10-31 Thread Dongli Zhang
Hi Juan, On 10/30/23 09:31, Juan Quintela wrote: > Dongli Zhang wrote: >> While the default "info lapic" always synchronizes cpu state ... >> >> mon_get_cpu() >> -> mon_get_cpu_sync(mon, true) >>-> cpu_synchronize_state(cpu) >> -> ioctl KVM_GET_LAPIC (taking KVM as example) >> >> ... th

Re: [PATCH v3 1/1] hmp: synchronize cpu state for lapic info

2023-10-30 Thread Juan Quintela
Dongli Zhang wrote: > While the default "info lapic" always synchronizes cpu state ... > > mon_get_cpu() > -> mon_get_cpu_sync(mon, true) >-> cpu_synchronize_state(cpu) > -> ioctl KVM_GET_LAPIC (taking KVM as example) > > ... the cpu state is not synchronized when the apic-id is availabl

[PATCH v3 1/1] hmp: synchronize cpu state for lapic info

2023-10-26 Thread Dongli Zhang
While the default "info lapic" always synchronizes cpu state ... mon_get_cpu() -> mon_get_cpu_sync(mon, true) -> cpu_synchronize_state(cpu) -> ioctl KVM_GET_LAPIC (taking KVM as example) ... the cpu state is not synchronized when the apic-id is available as argument. The cpu state shoul