hw: cannot include hw/hw.h from user emulation

All qdev definitions are available from other headers, user-mode
emulation does not need hw/hw.h.

By considering system emulation only, it is simpler to disentangle
hw/hw.h from NEED_CPU_H.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2014-06-27 08:40:04 +02:00
parent 1e00b8d57a
commit 741da0d38b
8 changed files with 22 additions and 17 deletions

View file

@ -2,7 +2,7 @@
#define __OPENPIC_H__
#include "qemu-common.h"
#include "hw/qdev.h"
#include "hw/qdev-core.h"
#include "qom/cpu.h"
#define TYPE_OPENPIC "openpic"