[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
- [Qemu-devel] [PATCH 00/12] KVM Support for MIPS32 Processors, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 02/12] KVM/MIPS: GIC emulation for SMP guests., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 03/12] KVM/MIPS: Add save/restore state APIs for saving/restoring KVM guests., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 07/12] KVM/MIPS: QEMU <-> Kernel interface for KVM/MIPS, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 09/12] KVM/MIPS: set sigmask length to 16 for MIPS targets., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 11/12] KVM/MIPS: MIPS specfic APIs for KVM., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 12/12] KVM/MIPS: General KVM support and support for SMP Guests, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 08/12] KVM/MIPS: Enable KVM/MIPS for MIPS targets. Add MIPS GIC code to the build., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 01/12] KVM/MIPS: Bootcode for MIPS SMP configurations with a GCMP, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 01/12] MIPS: Bootcode for MIPS SMP configurations with a GCMP, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 05/12] KVM/MIPS: In KVM mode, inject IRQ2 (I/O) interupts via ioctls(). COP0 emulation is in-kernel, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 04/12] KVM/MIPS: Do not start the periodic timer in KVM mode. Compare/Count timer interrupts are handled in-kernel., Sanjay Lal, 2013/03/02