/* Declarations for use by hardware emulation. */#ifndef QEMU_HW_H#define QEMU_HW_H#ifdef CONFIG_USER_ONLY#error Cannot include hw/hw.h from user emulation#endif#include"qom/object.h"void QEMU_NORETURN hw_error(const char*fmt, ...)GCC_FMT_ATTR(1,2);#endif