xref: /qemu/include/hw/hw.h (revision d42cd96100724bc9fbac18cc17c5f5f9b9b2f181)
1 #ifndef QEMU_HW_H
2 #define QEMU_HW_H
3 
4 #ifdef CONFIG_USER_ONLY
5 #error Cannot include hw/hw.h from user emulation
6 #endif
7 
8 void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
9 
10 #endif
11