[PATCH v1] libxl: remove conditionals from discard configuration

Jim Fehlig jfehlig at suse.com
Fri Aug 13 14:21:37 UTC 2021


On 8/13/21 8:00 AM, Olaf Hering wrote:
> Am Fri, 13 Aug 2021 07:52:31 -0600
> schrieb Jim Fehlig <jfehlig at suse.com>:
> 
>> Why remove the cast?
> 
> Because ->discard is of type virDomainDiskDiscard, the function can receive such type right away.

Ah, I missed the change to the function signature.

Jim




More information about the libvir-list mailing list