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: Sanjay Lal
Subject: Re: [Qemu-devel] [PATCH 11/12] KVM/MIPS: MIPS specfic APIs for KVM.
Date: Wed, 6 Mar 2013 11:43:45 -0800

On Mar 2, 2013, at 7:45 AM, Peter Maydell wrote:

> 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
> 

Sorry my bad, this was from an older snapshot of the code. The whole 
request_interrupt_window code has been deprecated and will be removed from the 
v2 of patch set.

Regards
Sanjay




reply via email to

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