i386/cpu: Store LAPIC bus frequency in CPU structure

No functional change.
This information will be used by following patches.

Backports commit 73b994f6d74ec00a1d78daf4145096ff9f0e2982 from qemu
This commit is contained in:
Liran Alon 2020-06-15 13:00:44 -04:00 committed by Lioncash
parent 6f41687234
commit 7373942623

View file

@ -1486,6 +1486,7 @@ typedef struct CPUX86State {
bool tsc_valid;
int64_t tsc_khz;
int64_t user_tsc_khz; /* for sanity check only */
uint64_t apic_bus_freq;
void *kvm_xsave_buf;
uint64_t mcg_cap;