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

Re: [Xen-devel] [PATCH for-4.12] x86/altp2m: fix HVMOP_altp2m_set_domain_state race



On 2/8/19 2:58 PM, Jan Beulich wrote:
Well, to be honest I expected dependencies like this to be there,
and hence I didn't expect it would be a straightforward change.
Just like we do e.g. for the IOMMU enabling, I guess the boolean
wants to become a tristate then (off -> enabling -> enabled),
which interested sites then can use to distinguish what they
want/need to do.

Another relatively obvious solution would be to add a boolean
parameter to altp2m_vcpu_update_p2m() such that
altp2m_vcpu_initialise() can guide it properly. But this of course
depends to a certain degree on how wide spread the problem is.

Fair enough, I'll attempt V2 with the second suggestion (adding a bool to altp2m_vcpu_update_p2m()).


Razvan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.