[pve-devel] [RFC qemu-server 15/15] command line: switch to blockdev starting with machine version 10.0
DERUMIER, Alexandre
alexandre.derumier at groupe-cyllene.com
Tue Jun 24 15:53:32 CEST 2025
>>diff --git a/src/test/cfg2cmd/efidisk-on-rbd.conf.cmd
>>b/src/test/cfg2cmd/efidisk-on-rbd.conf.cmd
>>index 5c55c01b..474e8038 100644
>>--- a/src/test/cfg2cmd/efidisk-on-rbd.conf.cmd
>>+++ b/src/test/cfg2cmd/efidisk-on-rbd.conf.cmd
>>@@ -9,8 +9,9 @@
>> -pidfile /var/run/qemu-server/8006.pid \
>> -daemonize \
>> -smbios 'type=1,uuid=3dd750ce-d910-44d0-9493-525c0be4e688' \
>>- -drive
>>'if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-
>>firmware//OVMF_CODE.fd' \
>>- -drive 'if=pflash,unit=1,id=drive-
>>efidisk0,cache=writeback,format=raw,file=rbd:cpool/vm-100-disk-
>>1:mon_host=127.0.0.42;127.0.0.21;>>>>[\:\:1]:auth_supported=none:rbd_
cache_policy=writeback,size=131072' \
>>+ -object '{"id":"throttle-drive-efidisk0","limits":{},"qom-
>>type":"throttle-group"}' \
>>+ -blockdev
'{"driver":"raw","file":>>{"driver":"file","filename":"/usr/share/pve-
edk2->>firmware//OVMF_CODE.fd"},"node-name":"pflash0"}' \
>>+ -blockdev
'{"driver":"throttle","file":{"cache":>>{"direct":false,"no-
flush":false},"driver":"raw","file":{"auth-client-
>>required":["none"],"cache":{"direct":false,"no-flush":false},"detect-
>>zeroes":"on","discard":"ignore","driver":"rbd","image":"vm-100-disk-
>>1","node-
>>name":"eeb8f022b5551ad1d795611f112c767","pool":"cpool","read-
>>only":false,"server":[{"host":"127.0.0.42","port":"3300"},{"host":"12
7.0.0.21","port":"3300"},{"host":"::1","port":"3300"}]},"node-
>>name":"feb8f022b5551ad1d795611f112c767","read-
>>only":false,"size":131072},"node-name":"drive-efidisk0","throttle-
>>group":"throttle-drive-efidisk0"}' \
It's missing
"key-value-pairs":{"rbd-cache-policy":"writeback"}
?
More information about the pve-devel
mailing list