xref: /openbmc/qemu/include/hw/hw.h (revision ab1b2ba9c9e9871bb622b0f14a1b2e3f4adaa68f)
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 G_NORETURN void hw_error(const char *fmt, ...) G_GNUC_PRINTF(1, 2);
9 
10 #endif
11