|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v6 05/12] vfio: Support for RamDiscardMgr in the !vIOMMU case |
Date: | Mon, 22 Feb 2021 18:29:23 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 22/02/21 15:43, David Hildenbrand wrote:
Also, why can't you just pass vrdl to the call?I have to modify the callbacks. Similarly done for memory_region_iommu_replay().
Since replay_populate only uses a single callback, that suggests using a function pointer instead of the RamDiscardListener*.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |