Skip to content

Change default Settings to virtio-scsi by default? (for fstrim support ) #268

@4920441

Description

@4920441

Hi,
how can I change the default parameters, so "fstrim" compatible vms are created by default without manually changing the xml files?
I found a couple of parameters, but not all I need to achieve this...:

<controller type='scsi' index='0' model='virtio-scsi'/>
<disk type='file' device='disk'>
 <driver name='qemu' type='qcow2' discard='unmap'/>
 <source file='/var/lib/libvirt/images/example.qcow2'/>
 <backingStore/>
 <target dev='sda' bus='scsi'/>
</disk>

Thanks for you help (again:-)

Cheers,

4920441

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions