> From: Dongli Zhang <[email protected]> > > 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 should be synchronized when apic-id is available. Otherwise > the "info lapic <apic-id>" always returns stale data. > > Cc: Joe Jin <[email protected]> > Reviewed-by: Daniel P. Berrangé <[email protected]> > Signed-off-by: Dongli Zhang <[email protected]>
Reviewed-by: David Woodhouse <[email protected]> I spent a while staring at stale data from 'info lapic 1' this week before realising. This fix would have been nice.
smime.p7s
Description: S/MIME cryptographic signature
Amazon Development Centre (London) Ltd. Registered in England and Wales with registration number 04543232 with its registered office at 1 Principal Place, Worship Street, London EC2A 2FA, United Kingdom.
