Open 512yottabytes opened 2 years ago
Hello, Not an issue, but may be useful and I think it's good to add to the template:
<qemu:commandline> <qemu:arg value='-set'/> <qemu:arg value='device.sata0-0-1.rotation_rate=1'/>` ... </qemu:commandline>
And also discard="unmap" to the disk configuration. My example:
discard="unmap"
<disk type="file" device="disk"> <driver name="qemu" type="raw" cache="writeback" io="threads" discard="unmap"/> <source file="/var/lib/libvirt/images/macos_12_template_root.img" index="2"/> <backingStore/> <target dev="sdb" bus="sata"/> <boot order="2"/> <alias name="sata0-0-1"/> <address type="drive" controller="0" bus="0" target="0" unit="1"/> </disk>
I've tried and it really works.
@512yottabytes looks interesting. Please create a PR on My Repository to add this
Hello, Not an issue, but may be useful and I think it's good to add to the template:
And also
discard="unmap"
to the disk configuration. My example:I've tried and it really works.