Paolo Bonzini <pbonzini@xxxxxxxxxx> writes: > The microcode version should be set just once, since it is essentially a CPU feature; so do it on vCPU creation rather than reset. > > Userspace can tie the fix to the availability of MSR_IA32_UCODE_REV in the list of emulated MSRs. > > Reported-by: Alex Williamson <alex.williamson@xxxxxxxxxx> > Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> Looks good. Thanks. Reviewed-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>