public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH-SERIES qemu-server] cfg2cmd: bump minimum binary version to 5.0 and test for QEMU machine version instead of binary version
Date: Tue, 23 Jul 2024 17:25:38 +0200	[thread overview]
Message-ID: <20240723152548.129832-1-f.ebner@proxmox.com> (raw)

Since there are certain checks that depend on the QEMU binary version,
tests with a fixed QEMU binary version make it less likely to catch
issues on current setups, because current setups will always have a
newer QEMU binary version than the test.

There are only three tests that explicitly want to test for the binary
version. All others are better of setting the appropriate machine
version they want to test for or just use the current machine version
if no version-specific feature is tested for.

The minimum binary version that can be used is bumped to 5.0 which was
used in Proxmox VE 6.2, to still allow for long-term regression
testing.

Split into bite-sized pieces for better reviewability.


Fiona Ebner (10):
  code cleanup: drop unused parameter from get_vm_machine()
  test: bump QEMU version in tests for too new machine type and pve
    version
  test: cfg2cmd: don't use QEMU binary version less than 4.0 for tests
  cfg2cmd: require at least QEMU binary version 4.0
  test: cfg2cmd: don't use QEMU binary version less than 5.0 for tests
  cfg2cmd: require at least QEMU binary version 5.0
  cfg2cmd: drop superfluous check for QEMU binary version 4.1
  test: cfg2cmd: don't use QEMU binary version less than 6.0 for tests
  test: cfg2cmd: don't use QEMU binary version less than 7.0 for tests
  test: cfg2cmd: don't use QEMU binary version less than 8.0 for tests

 PVE/QemuServer.pm                             | 26 +++++++------------
 test/cfg2cmd/bootorder-empty.conf             |  1 -
 test/cfg2cmd/bootorder-empty.conf.cmd         | 12 ++++-----
 test/cfg2cmd/bootorder-legacy.conf            |  1 -
 test/cfg2cmd/bootorder-legacy.conf.cmd        | 12 ++++-----
 test/cfg2cmd/bootorder.conf                   |  1 -
 test/cfg2cmd/bootorder.conf.cmd               | 12 ++++-----
 .../cputype-icelake-client-deprecation.conf   |  1 -
 test/cfg2cmd/memory-hotplug-hugepages.conf    |  3 +--
 .../cfg2cmd/memory-hotplug-hugepages.conf.cmd |  4 +--
 test/cfg2cmd/memory-hotplug.conf              |  1 -
 test/cfg2cmd/memory-hotplug.conf.cmd          |  4 +--
 test/cfg2cmd/memory-hugepages-1g.conf         |  3 +--
 test/cfg2cmd/memory-hugepages-1g.conf.cmd     |  4 +--
 test/cfg2cmd/memory-hugepages-2m.conf         |  3 +--
 test/cfg2cmd/memory-hugepages-2m.conf.cmd     |  4 +--
 .../minimal-defaults-to-new-machine.conf      |  4 +--
 ...imal-defaults-unsupported-pve-version.conf |  6 ++---
 test/cfg2cmd/netdev-7.0-multiqueues.conf      |  2 +-
 test/cfg2cmd/netdev-7.0-multiqueues.conf.cmd  |  2 +-
 test/cfg2cmd/netdev-7.1-multiqueues.conf      |  1 -
 test/cfg2cmd/netdev-7.1.conf                  |  1 -
 test/cfg2cmd/netdev.conf                      |  2 +-
 test/cfg2cmd/netdev.conf.cmd                  |  2 +-
 test/cfg2cmd/old-qemu.conf                    |  4 +--
 test/cfg2cmd/ostype-usb13-error.conf          |  1 -
 test/cfg2cmd/q35-simple-6.0.conf              |  3 +--
 test/cfg2cmd/q35-simple-6.0.conf.cmd          |  2 +-
 test/cfg2cmd/q35-simple-7.0.conf              |  3 +--
 test/cfg2cmd/q35-simple-7.0.conf.cmd          |  2 +-
 test/cfg2cmd/q35-usb13-error.conf             |  3 +--
 test/cfg2cmd/q35-usb2.conf                    |  3 +--
 test/cfg2cmd/q35-usb2.conf.cmd                |  2 +-
 test/cfg2cmd/q35-usb3.conf                    |  3 +--
 test/cfg2cmd/q35-usb3.conf.cmd                |  2 +-
 test/cfg2cmd/qemu-xhci-7.1.conf               |  2 +-
 test/cfg2cmd/qemu-xhci-7.1.conf.cmd           |  2 +-
 test/cfg2cmd/qemu-xhci-q35-7.1.conf           |  1 -
 .../simple-balloon-free-page-reporting.conf   |  2 +-
 ...imple-balloon-free-page-reporting.conf.cmd |  2 +-
 test/cfg2cmd/simple-btrfs.conf                |  1 -
 test/cfg2cmd/simple-btrfs.conf.cmd            |  4 +--
 test/cfg2cmd/simple-virtio-blk.conf           |  1 -
 test/cfg2cmd/simple-virtio-blk.conf.cmd       |  8 +++---
 test/cfg2cmd/simple1-template.conf            |  1 -
 test/cfg2cmd/simple1-template.conf.cmd        | 10 +++----
 test/cfg2cmd/simple1.conf                     |  1 -
 test/cfg2cmd/simple1.conf.cmd                 | 10 +++----
 test/cfg2cmd/spice-enhancments.conf           |  2 +-
 test/cfg2cmd/spice-enhancments.conf.cmd       |  2 +-
 test/cfg2cmd/spice-linux-4.1.conf             |  2 +-
 test/cfg2cmd/spice-linux-4.1.conf.cmd         |  2 +-
 test/cfg2cmd/spice-usb3.conf                  |  2 +-
 test/cfg2cmd/spice-usb3.conf.cmd              |  2 +-
 test/cfg2cmd/spice-win.conf                   |  2 +-
 test/cfg2cmd/spice-win.conf.cmd               |  2 +-
 test/cfg2cmd/usb13-error.conf                 |  2 +-
 57 files changed, 88 insertions(+), 115 deletions(-)

-- 
2.39.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


             reply	other threads:[~2024-07-23 15:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-23 15:25 Fiona Ebner [this message]
2024-07-23 15:25 ` [pve-devel] [PATCH qemu-server 01/10] code cleanup: drop unused parameter from get_vm_machine() Fiona Ebner
2024-07-23 15:25 ` [pve-devel] [PATCH qemu-server 02/10] test: bump QEMU version in tests for too new machine type and pve version Fiona Ebner
2024-09-06 14:36   ` Daniel Kral
2024-07-23 15:25 ` [pve-devel] [PATCH qemu-server 03/10] test: cfg2cmd: don't use QEMU binary version less than 4.0 for tests Fiona Ebner
2024-09-06 14:37   ` Daniel Kral
2024-07-23 15:25 ` [pve-devel] [PATCH qemu-server 04/10] cfg2cmd: require at least QEMU binary version 4.0 Fiona Ebner
2024-07-23 15:25 ` [pve-devel] [PATCH qemu-server 05/10] test: cfg2cmd: don't use QEMU binary version less than 5.0 for tests Fiona Ebner
2024-07-23 15:25 ` [pve-devel] [PATCH qemu-server 06/10] cfg2cmd: require at least QEMU binary version 5.0 Fiona Ebner
2024-07-23 15:25 ` [pve-devel] [PATCH qemu-server 07/10] cfg2cmd: drop superfluous check for QEMU binary version 4.1 Fiona Ebner
2024-07-23 15:25 ` [pve-devel] [PATCH qemu-server 08/10] test: cfg2cmd: don't use QEMU binary version less than 6.0 for tests Fiona Ebner
2024-07-23 15:25 ` [pve-devel] [PATCH qemu-server 09/10] test: cfg2cmd: don't use QEMU binary version less than 7.0 " Fiona Ebner
2024-07-23 15:25 ` [pve-devel] [PATCH qemu-server 10/10] test: cfg2cmd: don't use QEMU binary version less than 8.0 " Fiona Ebner
2024-09-06 14:39   ` Daniel Kral
2024-09-09  7:42     ` Fiona Ebner

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=20240723152548.129832-1-f.ebner@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal