From: Igor Mammedov <imammedo@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org, Eduardo Habkost <ehabkost@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
guangrong.xiao@linux.intel.com,
Paolo Bonzini <pbonzini@redhat.com>,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [PATCH 2/5] hw/i386: Rename 2.13 machine types to 3.0
Date: Wed, 30 May 2018 12:11:31 +0200 [thread overview]
Message-ID: <20180530121131.17c8bee0@redhat.com> (raw)
In-Reply-To: <20180522104000.9044-3-peter.maydell@linaro.org>
On Tue, 22 May 2018 11:39:57 +0100
Peter Maydell <peter.maydell@linaro.org> wrote:
> Rename the 2.13 machine types to match what we're going to
> use as our next release number.
>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
[...]
q35 hunk of this patch for no apparent reasons causes
change of the NVDIMM's DSM page allocated by Seabios.
@ -5,13 +5,13 @@
*
* Disassembling to symbolic ASL+ operators
*
- * Disassembly of tests/acpi-test-data/q35/SSDT.dimmpxm, Wed May 30 11:20:51 2018
+ * Disassembly of /tmp/aml-3XMAJZ, Wed May 30 11:20:51 2018
*
* Original Table Header:
* Signature "SSDT"
* Length 0x000002AD (685)
* Revision 0x01
- * Checksum 0x50
+ * Checksum 0x40
* OEM ID "BOCHS "
* OEM Table ID "NVDIMM"
* OEM Revision 0x00000001 (1)
@@ -183,6 +183,6 @@ DefinitionBlock ("", "SSDT", 1, "BOCHS ", "NVDIMM", 0x00000001)
}
}
- Name (MEMA, 0x07FFE000)
+ Name (MEMA, 0x07FFF000)
}
As far as I see it should safe wrt NVDIMMs,
but the question is what in this commit forced Seabios
to change allocated address?
Offending commit aa78a16d86:
Testcase to reproduce:
QTEST_QEMU_BINARY=x86_64-softmmu/qemu-system-x86_64 tests/bios-tables-test
CLI to reproduce manually:
x86_64-softmmu/qemu-system-x86_64 -M q35 -machine nvdimm=on -smp 4,sockets=4 -m 128M,slots=3,maxmem=1G -numa node,mem=32M,nodeid=0 -numa node,mem=32M,nodeid=1 -numa node,mem=32M,nodeid=2 -numa node,mem=32M,nodeid=3 -numa cpu,node-id=0,socket-id=0 -numa cpu,node-id=1,socket-id=1 -numa cpu,node-id=2,socket-id=2 -numa cpu,node-id=3,socket-id=3 -object memory-backend-ram,id=ram0,size=128M -object memory-backend-ram,id=nvm0,size=128M -device pc-dimm,id=dimm0,memdev=ram0,node=1 -device nvdimm,id=dimm1,memdev=nvm0,node=2
> diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
> index 2372457c6a..83d6d75efa 100644
> --- a/hw/i386/pc_q35.c
> +++ b/hw/i386/pc_q35.c
> @@ -308,18 +308,18 @@ static void pc_q35_machine_options(MachineClass *m)
> m->max_cpus = 288;
> }
>
> -static void pc_q35_2_13_machine_options(MachineClass *m)
> +static void pc_q35_3_0_machine_options(MachineClass *m)
> {
> pc_q35_machine_options(m);
> m->alias = "q35";
> }
>
> -DEFINE_Q35_MACHINE(v2_13, "pc-q35-2.13", NULL,
> - pc_q35_2_13_machine_options);
> +DEFINE_Q35_MACHINE(v3_0, "pc-q35-3.0", NULL,
> + pc_q35_3_0_machine_options);
>
> static void pc_q35_2_12_machine_options(MachineClass *m)
> {
> - pc_q35_2_13_machine_options(m);
> + pc_q35_3_0_machine_options(m);
> m->alias = NULL;
> SET_MACHINE_COMPAT(m, PC_COMPAT_2_12);
> }
next prev parent reply other threads:[~2018-05-30 10:11 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-22 10:39 [Qemu-devel] [PATCH 0/5] Make the next release be 3.0 Peter Maydell
2018-05-22 10:39 ` [Qemu-devel] [PATCH 1/5] qapi: Change "since 2.13" annotations to "since 3.0" Peter Maydell
2018-05-22 11:08 ` Cornelia Huck
2018-05-22 11:44 ` [Qemu-devel] [Qemu-ppc] " Thomas Huth
2018-05-22 10:39 ` [Qemu-devel] [PATCH 2/5] hw/i386: Rename 2.13 machine types to 3.0 Peter Maydell
2018-05-22 11:11 ` Cornelia Huck
2018-05-22 11:45 ` [Qemu-devel] [Qemu-ppc] " Thomas Huth
2018-05-22 11:46 ` [Qemu-devel] " Eduardo Habkost
2018-05-30 10:11 ` Igor Mammedov [this message]
2018-05-30 10:19 ` Paolo Bonzini
2018-05-30 10:53 ` Igor Mammedov
2018-05-22 10:39 ` [Qemu-devel] [PATCH 3/5] hw/s390x: Rename 2.13 machines " Peter Maydell
2018-05-22 11:12 ` Cornelia Huck
2018-05-22 11:47 ` [Qemu-devel] [Qemu-ppc] " Thomas Huth
2018-05-22 10:39 ` [Qemu-devel] [PATCH 4/5] ppc: " Peter Maydell
2018-05-22 11:14 ` Cornelia Huck
2018-05-22 11:48 ` [Qemu-devel] [Qemu-ppc] " Thomas Huth
2018-05-22 13:11 ` Greg Kurz
2018-05-22 10:40 ` [Qemu-devel] [PATCH 5/5] qemu-doc.texi: Rename references to 2.13 " Peter Maydell
2018-05-22 11:16 ` Cornelia Huck
2018-05-22 11:48 ` [Qemu-devel] [Qemu-ppc] " Thomas Huth
2018-05-29 12:00 ` [Qemu-devel] [PATCH 0/5] Make the next release be 3.0 Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180530121131.17c8bee0@redhat.com \
--to=imammedo@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=ehabkost@redhat.com \
--cc=guangrong.xiao@linux.intel.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.