qemu-arm
[Top][All Lists]
Advanced

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

Re: [Qemu-arm] [PATCH 2/4] qtest: Support named interrupts


From: Paolo Bonzini
Subject: Re: [Qemu-arm] [PATCH 2/4] qtest: Support named interrupts
Date: Tue, 22 Nov 2016 23:39:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0


On 22/11/2016 23:31, Alastair D'Silva wrote:
>>>> > > > +        if (irq == NULL) {
>>>> > > > +            qtest_send_prefix(chr);
>>>> > > > +            qtest_send(chr, "FAIL Unknown IRQ\n");
>>>> > > > +            return;
>>>> > > > +        }
>>>> > > > +
>>>> > > > +        qemu_set_irq(irq, level);
>> > 
>> > This seems wrong.  The IRQ should not be modifiable by the test.
>> > 
>> > Paolo
>> > 
> Thanks Paolo, could you please advise as to why that is?
> 
> The situation I am addressing is that I device under test that changes
> behaviour when a GPIO line is raised. Is there another way I should be
> raising that line from within qtest?

What causes the GPIO line to be raised in the normal emulated case?

Paolo



reply via email to

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