On 2/12/19 11:42 AM, Razvan Cojocaru wrote:
> HVMOP_altp2m_set_domain_state does not domain_pause(), presumably
> on purpose (as it was originally supposed to cater to a in-guest
> agent, and a domain pausing itself is not a good idea).
> 
> This can lead to domain crashes in the vmx_vmexit_handler() code
> that checks if the guest has the ability to switch EPTP without an
> exit. That code can __vmread() the host p2m's EPT_POINTER
> (before HVMOP_altp2m_set_domain_state "for_each_vcpu()" has a
> chance to run altp2m_vcpu_initialise(), but after
> d->arch.altp2m_active is set).

Sorry, where exactly does the crash happen?

 -George

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

Reply via email to