mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
* qemu-kvm/uq/master: apic: Fix legacy vmstate loading for KVM kvm: Implement kvm_irqchip_in_kernel like kvm_enabled kvm: Allow to set shadow MMU size
This commit is contained in:
commit
6c263e26a5
9 changed files with 43 additions and 26 deletions
|
@ -188,6 +188,7 @@ static void apic_reset_common(DeviceState *d)
|
|||
static int apic_load_old(QEMUFile *f, void *opaque, int version_id)
|
||||
{
|
||||
APICCommonState *s = opaque;
|
||||
APICCommonClass *info = APIC_COMMON_GET_CLASS(s);
|
||||
int i;
|
||||
|
||||
if (version_id > 2) {
|
||||
|
@ -220,7 +221,11 @@ static int apic_load_old(QEMUFile *f, void *opaque, int version_id)
|
|||
s->next_time = qemu_get_be64(f);
|
||||
|
||||
if (version_id >= 2) {
|
||||
qemu_get_timer(f, s->timer);
|
||||
s->timer_expiry = qemu_get_be64(f);
|
||||
}
|
||||
|
||||
if (info->post_load) {
|
||||
info->post_load(s);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue