[pve-devel] [PATCH qemu-server 18/31] blockdev: add change_medium() helper
DERUMIER, Alexandre
alexandre.derumier at groupe-cyllene.com
Tue Jul 1 12:01:47 CEST 2025
>>if you start a VM with cdrom=none, throttle group object is
>>generated:
sorry, I wanted to said : the throttle top node (which is using the
throttle group)
I think it's just related to blockdev-medium-change, as we can't
specify the node chain, qemu is simply autocreating a format+file node
with autogenerated node-name, and attach it to the top.
here the blockdev dump after going from none -> iso
ide2 => {
device => "",
inserted => {
active => $VAR1->{ide0}{inserted}{active},
backing_file_depth => 0,
bps => 0,
bps_rd => 0,
bps_wr => 0,
cache => {
direct => $VAR1->{ide0}{inserted}{cache}{direct},
"no-flush" => $VAR1->{ide0}{inserted}{cache}{direct},
writeback => $VAR1->{ide0}{inserted}{active},
},
detect_zeroes => "off",
drv => "raw",
encrypted => $VAR1->{ide0}{inserted}{cache}{direct},
file => "/var/lib/vz/template/iso/debian-12.5.0-amd64-
netinst.iso",
image => {
"actual-size" => 659554304,
"dirty-flag" => $VAR1->{ide0}{inserted}{cache}{direct},
filename => "/var/lib/vz/template/iso/isofile.iso",
format => "raw",
"virtual-size" => 659554304,
},
iops => 0,
iops_rd => 0,
iops_wr => 0,
"node-name" => "#block127",
ro => $VAR1->{ide0}{inserted}{active},
write_threshold => 0,
},
"io-status" => "ok",
locked => $VAR1->{ide0}{inserted}{active},
qdev => "ide2",
removable => $VAR1->{ide0}{inserted}{active},
tray_open => $VAR1->{ide0}{inserted}{cache}{direct},
type => "unknown",
},
>>@alexandre are you testing with all three patch series applied (qemu-
>>server, pve-qemu-kvm, pve-storage)?
yes sure !
More information about the pve-devel
mailing list