> From: Dongli Zhang <dongli.zh...@oracle.com> > > 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 <joe....@oracle.com> > Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> > Signed-off-by: Dongli Zhang <dongli.zh...@oracle.com>
Reviewed-by: David Woodhouse <d...@amazon.co.uk> 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.