qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] pc: drop AML files
@ 2016-02-07 10:29 Michael S. Tsirkin
  2016-02-07 10:29 ` [Qemu-devel] [PATCH 1/4] pc/piix: drop acpi-dsdt.aml Michael S. Tsirkin
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Michael S. Tsirkin @ 2016-02-07 10:29 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, Marcel Apfelbaum, Laszlo Ersek,
	Markus Armbruster, Igor Mammedov, Paolo Bonzini, John Snow

This is a lightly tested patchset that shows how it's possible to clean out old
bits without breaking any user configs.  It's quite a lot of bits, too, since
we are dealing with binaries here.  Will test later if this is received
favorably. As a bonus, seabios will be able to drop q35-acpi-dsdt.dsl if it
wants to.

Michael S. Tsirkin (4):
  pc/piix: drop acpi-dsdt.aml
  pc/q35: drop compatiility with old bios types
  pc/q35: drop dsdt aml
  configure: don't install aml links

 configure                 |   1 -
 Makefile                  |   1 -
 hw/i386/pc_q35.c          |   8 --------
 pc-bios/acpi-dsdt.aml     | Bin 4405 -> 0 bytes
 pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 0 bytes
 5 files changed, 9 deletions(-)
 delete mode 100644 pc-bios/acpi-dsdt.aml
 delete mode 100644 pc-bios/q35-acpi-dsdt.aml

-- 
MST

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Qemu-devel] [PATCH 1/4] pc/piix: drop acpi-dsdt.aml
  2016-02-07 10:29 [Qemu-devel] [PATCH 0/4] pc: drop AML files Michael S. Tsirkin
@ 2016-02-07 10:29 ` Michael S. Tsirkin
  2016-02-07 10:29 ` [Qemu-devel] [PATCH 2/4] pc/q35: drop compatiility with old bios types Michael S. Tsirkin
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Michael S. Tsirkin @ 2016-02-07 10:29 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, Marcel Apfelbaum, Laszlo Ersek,
	Markus Armbruster, Michael Roth,
	=?UTF-8?q?Marc-Andr=C3=A9=20Lureau?=,
	Igor Mammedov, Paolo Bonzini, John Snow

commit 9fb7aaaf4c58c9108327f0ae4766087e3e496b47 ("pc: drop external DSDT
loading") removes the only use of acpi-dsdt.aml. It's safe to drop it
from QEMU source.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 Makefile              |   2 +-
 pc-bios/acpi-dsdt.aml | Bin 4405 -> 0 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)
 delete mode 100644 pc-bios/acpi-dsdt.aml

diff --git a/Makefile b/Makefile
index d0de2d4..fa36a48 100644
--- a/Makefile
+++ b/Makefile
@@ -390,7 +390,7 @@ bepo    cz
 ifdef INSTALL_BLOBS
 BLOBS=bios.bin bios-256k.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \
 vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin vgabios-virtio.bin \
-acpi-dsdt.aml q35-acpi-dsdt.aml \
+q35-acpi-dsdt.aml \
 ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc QEMU,tcx.bin QEMU,cgthree.bin \
 pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom \
 pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom \
diff --git a/pc-bios/acpi-dsdt.aml b/pc-bios/acpi-dsdt.aml
deleted file mode 100644
index 558c10f51ccbbf9ec2f47a4a998a7055059a8963..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 4405
zcmb7{O>f)C8OI;KNTx=#Ov$uk$9XY?b_=xIjb0q@_EJP5WkrsxFrpHqP*76NE}&CE
zqzSOzpn&5RO*WTe*G<u*ve0?^5!z#q`3UV-*rJF}QJ-hVlxK_$u;qa>|Kam8znLL9
z<A?s>dJ#bTx_LkF0GjuGY(WhGo!+3koGWcQ9rFPU5B+94((<~g4WH$C9dAv`{m^gT
zZEJrW$A5|A$IoMJl)(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
zZU426&7a``5jTMQ$<uue9!|<%ACDd;4|&&Pn6TrAT5quPt5|z&@sb%&VyBmj+Chtt
z+hW5DI+aRg8*mW1l?u2kQL9pg2WMw1+E%*`w$|W**tBCmxpiGQZHeN#C{81NEYv5W
U_=PAMqG*c36NN8|mMC`Mf01wzJpcdz

-- 
MST

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Qemu-devel] [PATCH 2/4] pc/q35: drop compatiility with old bios types
  2016-02-07 10:29 [Qemu-devel] [PATCH 0/4] pc: drop AML files Michael S. Tsirkin
  2016-02-07 10:29 ` [Qemu-devel] [PATCH 1/4] pc/piix: drop acpi-dsdt.aml Michael S. Tsirkin
@ 2016-02-07 10:29 ` Michael S. Tsirkin
  2016-02-15 10:58   ` Gerd Hoffmann
  2016-02-07 10:29 ` [Qemu-devel] [PATCH 3/4] pc/q35: drop dsdt aml Michael S. Tsirkin
  2016-02-07 10:29 ` [Qemu-devel] [PATCH 4/4] configure: don't install aml links Michael S. Tsirkin
  3 siblings, 1 reply; 9+ messages in thread
From: Michael S. Tsirkin @ 2016-02-07 10:29 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, Marcel Apfelbaum, Laszlo Ersek,
	Markus Armbruster, Igor Mammedov, Paolo Bonzini, John Snow,
	Richard Henderson

We don't ship bios without support for loading ACPI anymore, and old q35
machine types don't allow migrating such bios.  Drop it, as well as
has_*mr flags that are there for migration compatibility.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 hw/i386/pc_q35.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index 208a224..22a0fdc 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -116,10 +116,6 @@ static void pc_q35_init(MachineState *machine)
     }
 
     pc_cpus_init(pcms);
-    if (!pcmc->has_acpi_build) {
-        /* only machine types 1.7 & older need this */
-        pc_acpi_init("q35-acpi-dsdt.aml");
-    }
 
     kvmclock_create();
 
@@ -435,7 +431,6 @@ static void pc_q35_1_7_machine_options(MachineClass *m)
     pc_q35_2_0_machine_options(m);
     m->hw_version = "1.7.0";
     m->default_machine_opts = NULL;
-    m->option_rom_has_mr = true;
     SET_MACHINE_COMPAT(m, PC_COMPAT_1_7);
     pcmc->smbios_defaults = false;
     pcmc->gigabyte_align = false;
@@ -447,12 +442,9 @@ DEFINE_Q35_MACHINE(v1_7, "pc-q35-1.7", pc_compat_1_7,
 
 static void pc_q35_1_6_machine_options(MachineClass *m)
 {
-    PCMachineClass *pcmc = PC_MACHINE_CLASS(m);
     pc_q35_machine_options(m);
     m->hw_version = "1.6.0";
-    m->rom_file_has_mr = false;
     SET_MACHINE_COMPAT(m, PC_COMPAT_1_6);
-    pcmc->has_acpi_build = false;
 }
 
 DEFINE_Q35_MACHINE(v1_6, "pc-q35-1.6", pc_compat_1_6,
-- 
MST

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [Qemu-devel] [PATCH 3/4] pc/q35: drop dsdt aml
  2016-02-07 10:29 [Qemu-devel] [PATCH 0/4] pc: drop AML files Michael S. Tsirkin
  2016-02-07 10:29 ` [Qemu-devel] [PATCH 1/4] pc/piix: drop acpi-dsdt.aml Michael S. Tsirkin
  2016-02-07 10:29 ` [Qemu-devel] [PATCH 2/4] pc/q35: drop compatiility with old bios types Michael S. Tsirkin
@ 2016-02-07 10:29 ` Michael S. Tsirkin
  2016-02-07 10:29 ` [Qemu-devel] [PATCH 4/4] configure: don't install aml links Michael S. Tsirkin
  3 siblings, 0 replies; 9+ messages in thread
From: Michael S. Tsirkin @ 2016-02-07 10:29 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, Marcel Apfelbaum, Laszlo Ersek,
	Markus Armbruster, Michael Roth,
	=?UTF-8?q?Marc-Andr=C3=A9=20Lureau?=,
	Igor Mammedov, Paolo Bonzini, John Snow

DSDT AML binary is now unused, drop it.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 Makefile                  |   1 -
 pc-bios/q35-acpi-dsdt.aml | Bin 7344 -> 0 bytes
 2 files changed, 1 deletion(-)
 delete mode 100644 pc-bios/q35-acpi-dsdt.aml

diff --git a/Makefile b/Makefile
index fa36a48..bc9444a 100644
--- a/Makefile
+++ b/Makefile
@@ -390,7 +390,6 @@ bepo    cz
 ifdef INSTALL_BLOBS
 BLOBS=bios.bin bios-256k.bin sgabios.bin vgabios.bin vgabios-cirrus.bin \
 vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin vgabios-virtio.bin \
-q35-acpi-dsdt.aml \
 ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc QEMU,tcx.bin QEMU,cgthree.bin \
 pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom \
 pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom \
diff --git a/pc-bios/q35-acpi-dsdt.aml b/pc-bios/q35-acpi-dsdt.aml
deleted file mode 100644
index d71b3a328ced5ce2cb16d153cfa7cda0aca966a4..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 7344
zcmb7JOK%(38ND;4q|uO)h7v8y@)KILX!?jAj?xxrVRD9~Xj9UNl${hbz>%C3Dhw2a
z>i}_#0J2)tjutIqH9?njz;)Vx&@8+3u8VHkZI>wuYi0F(-^VN8JBol<i<x`woO8c9
zcOGYW6}6(xzg|$v885#Zhf0;-jnJc%tCXs*Z8oMxC$9wc>}}QFjmou-lXJ69`%#YD
z*p$8E52EtTn)BzK<ntuC|2T2Bx@!B2;Ir+m?r)zY+lojZY<GR18o~EEt#YTm8;7k;
zC#Syj^V}{wx%`(jEc(mW;;>%!g7rL8_iB0Id9SllkMgDGzUOs9X=S`lDQYUObF&^f
zUh8HYD=*w^HdHYh?X0)L?EYO9M(-^2sv`$Gg(*L1ul{rC#pMgvK7Z$a>8qdp<Cpt)
z{VWKJ*n8M7bqUZo)L5dS9@56YNZVfU^x#*{$2hXU?1kR+(*w<u?tl(<iA?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ested] 9+ messages in thread

* [Qemu-devel] [PATCH 4/4] configure: don't install aml links
  2016-02-07 10:29 [Qemu-devel] [PATCH 0/4] pc: drop AML files Michael S. Tsirkin
                   ` (2 preceding siblings ...)
  2016-02-07 10:29 ` [Qemu-devel] [PATCH 3/4] pc/q35: drop dsdt aml Michael S. Tsirkin
@ 2016-02-07 10:29 ` Michael S. Tsirkin
  3 siblings, 0 replies; 9+ messages in thread
From: Michael S. Tsirkin @ 2016-02-07 10:29 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Marcel Apfelbaum, Laszlo Ersek,
	Markus Armbruster, Gerd Hoffmann, Stefan Hajnoczi, Igor Mammedov,
	Paolo Bonzini, John Snow

There aren't any left.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 configure | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configure b/configure
index d4411a1..06cb815 100755
--- a/configure
+++ b/configure
@@ -5967,7 +5967,6 @@ FILES="$FILES roms/seabios/Makefile roms/vgabios/Makefile"
 FILES="$FILES pc-bios/qemu-icon.bmp"
 for bios_file in \
     $source_path/pc-bios/*.bin \
-    $source_path/pc-bios/*.aml \
     $source_path/pc-bios/*.rom \
     $source_path/pc-bios/*.dtb \
     $source_path/pc-bios/*.img \
-- 
MST

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] [PATCH 2/4] pc/q35: drop compatiility with old bios types
  2016-02-07 10:29 ` [Qemu-devel] [PATCH 2/4] pc/q35: drop compatiility with old bios types Michael S. Tsirkin
@ 2016-02-15 10:58   ` Gerd Hoffmann
  2016-02-15 11:30     ` Michael S. Tsirkin
  2016-02-15 14:16     ` Markus Armbruster
  0 siblings, 2 replies; 9+ messages in thread
From: Gerd Hoffmann @ 2016-02-15 10:58 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: Eduardo Habkost, Marcel Apfelbaum, John Snow, Markus Armbruster,
	qemu-devel, Paolo Bonzini, Igor Mammedov, Laszlo Ersek,
	Richard Henderson

On So, 2016-02-07 at 12:29 +0200, Michael S. Tsirkin wrote:
> We don't ship bios without support for loading ACPI anymore, and old q35
> machine types don't allow migrating such bios.  Drop it, as well as
> has_*mr flags that are there for migration compatibility.

Wouldn't that break migration between 2.5 and 2.6 with -M q35-1.6 ?
It's also a guest-visible change as acpi tables change ...

I'm all for cleaning up this old cruft, but I think it would be cleaner
to just drop the old (pre-migration support) q35 machine types instead
of changing them in subtle ways ...

cheers,
  Gerd

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] [PATCH 2/4] pc/q35: drop compatiility with old bios types
  2016-02-15 10:58   ` Gerd Hoffmann
@ 2016-02-15 11:30     ` Michael S. Tsirkin
  2016-02-15 15:20       ` Eduardo Habkost
  2016-02-15 14:16     ` Markus Armbruster
  1 sibling, 1 reply; 9+ messages in thread
From: Michael S. Tsirkin @ 2016-02-15 11:30 UTC (permalink / raw)
  To: Gerd Hoffmann
  Cc: Eduardo Habkost, Marcel Apfelbaum, John Snow, Markus Armbruster,
	qemu-devel, Paolo Bonzini, Igor Mammedov, Laszlo Ersek,
	Richard Henderson

On Mon, Feb 15, 2016 at 11:58:24AM +0100, Gerd Hoffmann wrote:
> On So, 2016-02-07 at 12:29 +0200, Michael S. Tsirkin wrote:
> > We don't ship bios without support for loading ACPI anymore, and old q35
> > machine types don't allow migrating such bios.  Drop it, as well as
> > has_*mr flags that are there for migration compatibility.
> 
> Wouldn't that break migration between 2.5 and 2.6 with -M q35-1.6 ?

I think I said this somewhere but I'll repeat it here: I think we should
just mark the old machine types non migrateable.

> It's also a guest-visible change as acpi tables change ...

acpi tables change yes but not too much - there are just bugfixes.  We
change acpi tables without versioning within reason.
For example, recent change by Igor completely removed SSDT and
affected old machine types too.

> I'm all for cleaning up this old cruft, but I think it would be cleaner
> to just drop the old (pre-migration support) q35 machine types instead
> of changing them in subtle ways ...
> 
> cheers,
>   Gerd

Easier, sure. Not sure about the cleaner ...

-- 
MST

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] [PATCH 2/4] pc/q35: drop compatiility with old bios types
  2016-02-15 10:58   ` Gerd Hoffmann
  2016-02-15 11:30     ` Michael S. Tsirkin
@ 2016-02-15 14:16     ` Markus Armbruster
  1 sibling, 0 replies; 9+ messages in thread
From: Markus Armbruster @ 2016-02-15 14:16 UTC (permalink / raw)
  To: Gerd Hoffmann
  Cc: Eduardo Habkost, Marcel Apfelbaum, Laszlo Ersek,
	Michael S. Tsirkin, qemu-devel, Igor Mammedov, Paolo Bonzini,
	John Snow, Richard Henderson

Gerd Hoffmann <kraxel@redhat.com> writes:

> On So, 2016-02-07 at 12:29 +0200, Michael S. Tsirkin wrote:
>> We don't ship bios without support for loading ACPI anymore, and old q35
>> machine types don't allow migrating such bios.  Drop it, as well as
>> has_*mr flags that are there for migration compatibility.
>
> Wouldn't that break migration between 2.5 and 2.6 with -M q35-1.6 ?
> It's also a guest-visible change as acpi tables change ...

Madness.

> I'm all for cleaning up this old cruft, but I think it would be cleaner
> to just drop the old (pre-migration support) q35 machine types instead
> of changing them in subtle ways ...

Yup.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] [PATCH 2/4] pc/q35: drop compatiility with old bios types
  2016-02-15 11:30     ` Michael S. Tsirkin
@ 2016-02-15 15:20       ` Eduardo Habkost
  0 siblings, 0 replies; 9+ messages in thread
From: Eduardo Habkost @ 2016-02-15 15:20 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: Marcel Apfelbaum, John Snow, Markus Armbruster, qemu-devel,
	Gerd Hoffmann, Paolo Bonzini, Igor Mammedov, Laszlo Ersek,
	Richard Henderson

On Mon, Feb 15, 2016 at 01:30:49PM +0200, Michael S. Tsirkin wrote:
> On Mon, Feb 15, 2016 at 11:58:24AM +0100, Gerd Hoffmann wrote:
> > On So, 2016-02-07 at 12:29 +0200, Michael S. Tsirkin wrote:
> > > We don't ship bios without support for loading ACPI anymore, and old q35
> > > machine types don't allow migrating such bios.  Drop it, as well as
> > > has_*mr flags that are there for migration compatibility.
> > 
> > Wouldn't that break migration between 2.5 and 2.6 with -M q35-1.6 ?
> 
> I think I said this somewhere but I'll repeat it here: I think we should
> just mark the old machine types non migrateable.

If you are making changes that break migration, I believe you
need to mark the machines as non-migratable before making those
changes.

...or we could stop wasting time changing those old machines and
remove them.

-- 
Eduardo

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-02-15 15:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-07 10:29 [Qemu-devel] [PATCH 0/4] pc: drop AML files Michael S. Tsirkin
2016-02-07 10:29 ` [Qemu-devel] [PATCH 1/4] pc/piix: drop acpi-dsdt.aml Michael S. Tsirkin
2016-02-07 10:29 ` [Qemu-devel] [PATCH 2/4] pc/q35: drop compatiility with old bios types Michael S. Tsirkin
2016-02-15 10:58   ` Gerd Hoffmann
2016-02-15 11:30     ` Michael S. Tsirkin
2016-02-15 15:20       ` Eduardo Habkost
2016-02-15 14:16     ` Markus Armbruster
2016-02-07 10:29 ` [Qemu-devel] [PATCH 3/4] pc/q35: drop dsdt aml Michael S. Tsirkin
2016-02-07 10:29 ` [Qemu-devel] [PATCH 4/4] configure: don't install aml links Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).