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

Re: [Xen-devel] guest crash in wrmsr_hypervisor_regs if hypercall page is paged out

>>> On 02.05.13 at 17:20, Olaf Hering <olaf@xxxxxxxxx> wrote:
> On Thu, May 02, Jan Beulich wrote:
>> We can't put a vCPU to sleep at arbitrary points yet, which means
>> that right now the caller of the function is responsible for the
>> wait-and-retry - normally that would be in hypercall handlers, but
>> obviously you need this here too.
> Yes, thats the issue.
> vmx_msr_write_intercept and svm_msr_write_intercept could just return
> X86EMUL_RETRY to their callers.
> How should emulate_privileged_op handle the wrmsr_hypervisor_regs
> failure due to a paged page?

That's a PV only path, hence no need to consider paging. Just
assert that the return value of X86EMUL_OKAY.


Xen-devel mailing list



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