target-i386: make cpu-qom.h not target specific
commit4da6f8d954429c0cd1471d25cb9dbe909607374e
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Mar 2016 12:49:25 +0000 (15 13:49 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 May 2016 11:08:04 +0000 (19 13:08 +0200)
tree6568eaef626fe8403a7de3ad9168bfa8087b8adf
parent28618ac6521e78466b49937e674c1f6f0760f49f
target-i386: make cpu-qom.h not target specific

Make X86CPU an opaque type within cpu-qom.h, and move all definitions of
private methods, as well as all type definitions that require knowledge
of the layout to cpu.h.  This helps making files independent of NEED_CPU_H
if they only need to pass around CPU pointers.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/cpu-qom.h
target-i386/cpu.h