Hello, On Wed, Jun 16, 2021 at 03:09:33PM +0200, Dominik Csapak wrote: > on slower ceph clusters, the write pattern of the ovmf booting process > slows down the boot of the vm, so we turn on caching by default > > + my $cache = ""; > + if ($path =~ m/^rbd:/) { > + $cache = ',cache=writeback'; does this work, evven if the rbd storage is not called "rbd"? > + } > + > push @$cmd, '-drive', "if=pflash,unit=0,format=raw,readonly=on,file=$ovmf_code"; > - push @$cmd, '-drive', "if=pflash,unit=1,format=$format,id=drive-efidisk0$size_str,file=$path"; > + push @$cmd, '-drive', "if=pflash,unit=1$cache,format=$format,id=drive-efidisk0$size_str,file=$path"; > } > > # load q35 config > -- > 2.20.1