qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [RFC] KVM: PPC: Add level based interrupt logic


From: Avi Kivity
Subject: [Qemu-devel] Re: [RFC] KVM: PPC: Add level based interrupt logic
Date: Wed, 01 Sep 2010 15:09:06 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Thunderbird/3.1.2

 On 09/01/2010 02:58 PM, Alexander Graf wrote:

Why not limit it to ppc?  Someone might call it by accident.
How would you model it? Call kvm_arch_set_interrupt in hw/ppc.c? Which header 
would I define the call in?


Well, eventually this finds its way to cpu code in target-ppc, no? from there you can call a function in target-ppc/kvm.c without any need for tricks.

So just hack it there.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.




reply via email to

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