Re: fstrim support in libvirt/qemu guests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01.11.2014 05:30, Dennis Jacobfeuerborn wrote:
Hi,
I'm trying to find out how to enable fstrim support for libvirt/qemu
guests. Specifically I'm trying to enable this on a CentOS 7 host (qemu
1.5). I searched the web but only found very vague information and no
clear documentation on the requirements or how to modify the guest xml
to enable discard/fstrim support.

Can someone point me in the right direction?

One thing that you'll need is the guest agent:

  http://wiki.libvirt.org/page/Qemu_guest_agent

Then you can just use:

  # virsh domfstrim $dom

Michal

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux