Re: [PATCH] hw/nmi: Fix the NMI() macro, based on INTERFACE_CHECK()

2019-12-13 Thread Eduardo Habkost
On Sun, Dec 08, 2019 at 12:44:16AM +1100, Gavin Shan wrote: > On 12/7/19 8:48 PM, Philippe Mathieu-Daudé wrote: > > There is no declaration of the 'NMI' type. INTERFACE_CHECK() > > returns an abstract type (see commit aa1b35b975d8). The abstract > > type corresponding to the TYPE_NMI interface is '

Re: [PATCH] hw/nmi: Fix the NMI() macro, based on INTERFACE_CHECK()

2019-12-07 Thread Gavin Shan
On 12/7/19 8:48 PM, Philippe Mathieu-Daudé wrote: There is no declaration of the 'NMI' type. INTERFACE_CHECK() returns an abstract type (see commit aa1b35b975d8). The abstract type corresponding to the TYPE_NMI interface is 'NMIState'. Fixes: 9cb805fd267 Signed-off-by: Philippe Mathieu-Daudé --

[PATCH] hw/nmi: Fix the NMI() macro, based on INTERFACE_CHECK()

2019-12-07 Thread Philippe Mathieu-Daudé
There is no declaration of the 'NMI' type. INTERFACE_CHECK() returns an abstract type (see commit aa1b35b975d8). The abstract type corresponding to the TYPE_NMI interface is 'NMIState'. Fixes: 9cb805fd267 Signed-off-by: Philippe Mathieu-Daudé --- include/hw/nmi.h | 2 +- 1 file changed, 1 insert