Re: [PATCH] libxl: add discard support to libxl_device_disk

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

 



On Mon, Jul 07, Daniel P. Berrange wrote:

> IIUC, this is not about the underlying storage, but about whether the
> hypervisor API supports the discard setting. The libvirt policy is to
> always raise VIR_ERR_CONFIG_UNSUPPORTED and return failure to the app
> if they request a setting that the hypervisor does not support. Whether
> discard is critical or not really depends on your POV, so it is better
> not to make such assumptions on behalf of the mgmt app.

So how should the code path error out in this case?


Olaf

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]