pc: clean up compat machines
commit5719a179e08805cde9348632890dc4c4c1a57cc7
authorCornelia Huck <cohuck@redhat.com>
Mon, 12 Dec 2022 15:21:45 +0000 (12 16:21 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 21 Dec 2022 11:35:28 +0000 (21 06:35 -0500)
treecdc22c9583f1c468a406b969e03944924a0756b5
parentdb723c80b12a98f386af305cbc015bbaf9951e31
pc: clean up compat machines

We can move setting default_cpu_version into the base machine options,
and we need to unset alias and is_default only once.

Suggested-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20221212152145.124317-3-cohuck@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
hw/i386/pc_piix.c
hw/i386/pc_q35.c