From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH qemu-server v2 5/7] test: cfg2cmd: add simple test case using an 11.0 binary
Date: Wed, 9 Sep 2026 16:52:15 +0200 [thread overview]
Message-ID: <20260909145252.454610-6-f.ebner@proxmox.com> (raw)
In-Reply-To: <20260909145252.454610-1-f.ebner@proxmox.com>
For testing the legacy behavior for the switch to the new monitor
commandline syntax with 11.1.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
New in v2.
src/test/cfg2cmd/simple-11.0-binary.conf | 15 +++++++++
src/test/cfg2cmd/simple-11.0-binary.conf.cmd | 35 ++++++++++++++++++++
2 files changed, 50 insertions(+)
create mode 100644 src/test/cfg2cmd/simple-11.0-binary.conf
create mode 100644 src/test/cfg2cmd/simple-11.0-binary.conf.cmd
diff --git a/src/test/cfg2cmd/simple-11.0-binary.conf b/src/test/cfg2cmd/simple-11.0-binary.conf
new file mode 100644
index 00000000..bef18856
--- /dev/null
+++ b/src/test/cfg2cmd/simple-11.0-binary.conf
@@ -0,0 +1,15 @@
+# TEST: Simple test for a basic configuration and binary version 11.0
+# QEMU_VERSION: 11.0.3
+bootdisk: scsi0
+cores: 3
+ide2: none,media=cdrom
+memory: 768
+name: simple
+net0: virtio=A2:C0:43:77:08:A0,bridge=vmbr0
+numa: 0
+ostype: l26
+scsi0: local:8006/vm-8006-disk-0.qcow2,discard=on,size=104858K
+scsihw: virtio-scsi-pci
+smbios1: uuid=7b10d7af-b932-4c66-b2c3-3996152ec465
+sockets: 1
+vmgenid: c773c261-d800-4348-9f5d-167fadd53cf8
diff --git a/src/test/cfg2cmd/simple-11.0-binary.conf.cmd b/src/test/cfg2cmd/simple-11.0-binary.conf.cmd
new file mode 100644
index 00000000..924d8041
--- /dev/null
+++ b/src/test/cfg2cmd/simple-11.0-binary.conf.cmd
@@ -0,0 +1,35 @@
+/usr/bin/kvm \
+ -id 8006 \
+ -name simple \
+ -no-shutdown \
+ -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
+ -mon 'chardev=qmp,mode=control' \
+ -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect-ms=5000' \
+ -mon 'chardev=qmp-event,mode=control' \
+ -pidfile /var/run/qemu-server/8006.pid \
+ -daemonize \
+ -smbios 'type=1,uuid=7b10d7af-b932-4c66-b2c3-3996152ec465' \
+ -smp '3,sockets=1,cores=3,maxcpus=3' \
+ -nodefaults \
+ -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' \
+ -vnc 'unix:/var/run/qemu-server/8006.vnc,password=on' \
+ -cpu kvm64,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep \
+ -m 768 \
+ -object '{"id":"throttle-drive-scsi0","limits":{},"qom-type":"throttle-group"}' \
+ -global 'PIIX4_PM.disable_s3=1' \
+ -global 'PIIX4_PM.disable_s4=1' \
+ -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' \
+ -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' \
+ -device 'vmgenid,guid=c773c261-d800-4348-9f5d-167fadd53cf8' \
+ -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' \
+ -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' \
+ -device 'VGA,id=vga,bus=pci.0,addr=0x2' \
+ -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on' \
+ -iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \
+ -device 'ide-cd,bus=ide.1,unit=0,id=ide2,bootindex=200' \
+ -device 'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' \
+ -blockdev '{"detect-zeroes":"unmap","discard":"unmap","driver":"throttle","file":{"cache":{"direct":true,"no-flush":false},"detect-zeroes":"unmap","discard":"unmap","driver":"qcow2","file":{"aio":"io_uring","cache":{"direct":true,"no-flush":false},"detect-zeroes":"unmap","discard":"unmap","driver":"file","filename":"/var/lib/vz/images/8006/vm-8006-disk-0.qcow2","node-name":"ecd04be4259153b8293415fefa2a84c","read-only":false},"node-name":"fcd04be4259153b8293415fefa2a84c","read-only":false},"node-name":"drive-scsi0","read-only":false,"throttle-group":"throttle-drive-scsi0"}' \
+ -device 'scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,device_id=drive-scsi0,bootindex=100,write-cache=on' \
+ -netdev 'type=tap,id=net0,ifname=tap8006i0,script=/usr/libexec/qemu-server/pve-bridge,downscript=/usr/libexec/qemu-server/pve-bridgedown,vhost=on' \
+ -device 'virtio-net-pci,mac=A2:C0:43:77:08:A0,netdev=net0,bus=pci.0,addr=0x12,id=net0,rx_queue_size=1024,tx_queue_size=256,bootindex=300,host_mtu=1500,host_tunnel=off' \
+ -machine 'hpet=off,type=pc+pve0'
--
2.47.3
next prev parent reply other threads:[~2026-09-09 14:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-09 14:52 [PATCH-SERIES qemu/qemu-server v2 0/7] QEMU 11.1.1 Fiona Ebner
2026-09-09 14:52 ` [PATCH qemu v2 1/7] update submodule and patches to " Fiona Ebner
2026-09-09 14:52 ` [PATCH qemu v2 2/7] spice: work around broken input cleanup feature in libspice-server1 Fiona Ebner
2026-09-09 14:52 ` [PATCH qemu v2 3/7] add more stable fixes for QEMU 11.1.1 Fiona Ebner
2026-09-09 14:52 ` [PATCH qemu v2 4/7] bump version to 11.1.1-1 Fiona Ebner
2026-09-09 14:52 ` Fiona Ebner [this message]
2026-09-09 14:52 ` [PATCH qemu-server v2 6/7] monitor: use new QOM syntax on the QEMU commandline for monitor objects Fiona Ebner
2026-09-09 14:52 ` [PATCH qemu-server v2 7/7] d/control: bump versioned build dependency for pve-qemu-kvm 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=20260909145252.454610-6-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