qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 11/12] KVM/MIPS: MIPS specfic APIs for KVM.


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 11/12] KVM/MIPS: MIPS specfic APIs for KVM.
Date: Sat, 2 Mar 2013 15:45:39 +0000

On 2 March 2013 15:18, Sanjay Lal <address@hidden> wrote:
> +    /* If we have an interrupt but the guest is not ready to receive an
> +     * interrupt, request an interrupt window exit.  This will
> +     * cause a return to userspace as soon as the guest is ready to
> +     * receive interrupts.
> +     */
> +    if ((env->interrupt_request & CPU_INTERRUPT_HARD)) {
> +        run->request_interrupt_window = 1;
> +    } else {
> +        run->request_interrupt_window = 0;
> +    }
> +}

Does MIPS really need x86-style fully-synchronised delivery
of interrupts from userspace to the kernel? Don't copy x86
unless you know it's really what your architecture requires.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]