|
From: | Avi Kivity |
Subject: | [Qemu-devel] Re: [RFC] KVM: PPC: Add level based interrupt logic |
Date: | Wed, 01 Sep 2010 15:09:59 +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 03:09 PM, Avi Kivity wrote:
On 09/01/2010 02:58 PM, Alexander Graf wrote:How would you model it? Call kvm_arch_set_interrupt in hw/ppc.c? Which header would I define the call in?Why not limit it to ppc? Someone might call it by accident.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.
Another way to look at this: shouldn't this be the same for kvm and non-kvm? -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.
[Prev in Thread] | Current Thread | [Next in Thread] |