[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/5] pc: hack for migration compatibility from Q
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 2/5] pc: hack for migration compatibility from QEMU 2.0 |
Date: |
Mon, 28 Jul 2014 17:06:37 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Il 28/07/2014 17:05, Michael S. Tsirkin ha scritto:
>> > +/* These are used to size the ACPI tables for -M pc-i440fx-1.7 and
>> > + * -M pc-i440fx-2.0. Even if the actual amount of AML generated grows
>> > + * a little bit, there should be plenty of free space since the DSDT
>> > + * shrunk by ~1.5k between QEMU 2.0 and QEMU 2.1.
>> > + */
>> > +#define ACPI_BUILD_LEGACY_CPU_AML_SIZE 97
>> > +#define ACPI_BUILD_LEGACY_BRIDGE_AML_SIZE 1872
>
> Hmm this is wrong if some slot is occupied by a
> non hotpluggable device, is it not?
I honestly have no idea. If even more complicated code is needed, I'd
rather get rid of all this bridge stuff altogether (as far as computing
the AML size goes), and declare 2.0->2.1 migration broken if the VM has
bridges.
Paolo
- [Qemu-devel] [PATCH v3 0/5] ACPI fixes for QEMU 2.1, Paolo Bonzini, 2014/07/28
- [Qemu-devel] [PATCH 1/5] acpi-dsdt: procedurally generate _PRT, Paolo Bonzini, 2014/07/28
- [Qemu-devel] [PATCH 2/5] pc: hack for migration compatibility from QEMU 2.0, Paolo Bonzini, 2014/07/28
- [Qemu-devel] [PATCH 3/5] pc: future-proof migration-compatibility of ACPI tables, Paolo Bonzini, 2014/07/28
- [Qemu-devel] [PATCH 4/5] bios-tables-test: fix ASL normalization false positive, Paolo Bonzini, 2014/07/28
- [Qemu-devel] [PATCH 5/5] pc: acpi: generate AML only for PCI0 devices if PCI bridge hotplug is disabled, Paolo Bonzini, 2014/07/28