On 01.12.2021 12:20, Jan Beulich wrote: > @@ -333,6 +334,9 @@ p2m_pod_set_mem_target(struct domain *d, > int ret = 0; > unsigned long populated, pod_target; > > + if ( has_arch_pdevs(d) || cache_flush_permitted(d) ) > + return -ENOTEMPTY;
This breaks toolstack based ballooning of PVH Dom0. While I question the invocation of set_pod_target in that case, for v3 I'm moving the check down to near the end of the function. Jan
