[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
- Re: [Qemu-arm] [PATCH 1/4] arm: Uniquely name imx25 I2C buses., (continued)
[Qemu-arm] [PATCH 2/4] qtest: Support named interrupts, Alastair D'Silva, 2016/11/17
- Re: [Qemu-arm] [PATCH 2/4] qtest: Support named interrupts, Cédric Le Goater, 2016/11/22
- Re: [Qemu-arm] [PATCH 2/4] qtest: Support named interrupts, Paolo Bonzini, 2016/11/22
- Re: [Qemu-arm] [PATCH 2/4] qtest: Support named interrupts, Alastair D'Silva, 2016/11/22
- Re: [Qemu-arm] [PATCH 2/4] qtest: Support named interrupts,
Paolo Bonzini <=
- Re: [Qemu-arm] [PATCH 2/4] qtest: Support named interrupts, Alastair D'Silva, 2016/11/22
- Re: [Qemu-arm] [PATCH 2/4] qtest: Support named interrupts, Paolo Bonzini, 2016/11/23
- Re: [Qemu-arm] [PATCH 2/4] qtest: Support named interrupts, Edgar E. Iglesias, 2016/11/23
- Re: [Qemu-arm] [PATCH 2/4] qtest: Support named interrupts, Paolo Bonzini, 2016/11/23
[Qemu-arm] [PATCH 3/4] hw/timer: Add Epson RX8900 RTC support, Alastair D'Silva, 2016/11/17
Re: [Qemu-arm] [Qemu-devel] [PATCH 0/4] Add support for the Epson RX8900 RTC to the aspeed board, no-reply, 2016/11/17