mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-08-03 04:21:54 +03:00
tests: cfg2cmd: add test for windows machine pinning from meta info
so we test that logic at least once. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Reviewed-by: Fiona Ebner <f.ebner@proxmox.com> Reviewed-by: Stoiko Ivanov <s.ivanov@proxmox.com> Tested-By: Stoiko Ivanov <s.ivanov@proxmox.com> Link: https://lore.proxmox.com/all/20250404125345.3244659-2-d.csapak@proxmox.com/ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
481eca69dc
commit
7e01d6cf70
5
test/cfg2cmd/q35-windows-pinning.conf
Normal file
5
test/cfg2cmd/q35-windows-pinning.conf
Normal file
@ -0,0 +1,5 @@
|
||||
# TEST: Config with q35, win, meta to test version pinning
|
||||
#
|
||||
machine: q35
|
||||
meta: creation-qemu=9.2.0,ctime=1741179133
|
||||
ostype: win11
|
24
test/cfg2cmd/q35-windows-pinning.conf.cmd
Normal file
24
test/cfg2cmd/q35-windows-pinning.conf.cmd
Normal file
@ -0,0 +1,24 @@
|
||||
/usr/bin/kvm \
|
||||
-id 8006 \
|
||||
-name 'vm8006,debug-threads=on' \
|
||||
-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=5' \
|
||||
-mon 'chardev=qmp-event,mode=control' \
|
||||
-pidfile /var/run/qemu-server/8006.pid \
|
||||
-daemonize \
|
||||
-smp '1,sockets=1,cores=1,maxcpus=1' \
|
||||
-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,hv_ipi,hv_relaxed,hv_reset,hv_runtime,hv_spinlocks=0x1fff,hv_stimer,hv_synic,hv_time,hv_vapic,hv_vpindex,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep' \
|
||||
-m 512 \
|
||||
-readconfig /usr/share/qemu-server/pve-q35-4.0.cfg \
|
||||
-device 'usb-tablet,id=tablet,bus=ehci.0,port=1' \
|
||||
-device 'VGA,id=vga,bus=pcie.0,addr=0x1,edid=off' \
|
||||
-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' \
|
||||
-rtc 'driftfix=slew,base=localtime' \
|
||||
-machine 'hpet=off,type=pc-q35-9.2+pve0' \
|
||||
-global 'kvm-pit.lost_tick_policy=discard'
|
Reference in New Issue
Block a user