i386: hvf: Move HVFState definition into hvf
commit24115348bd8a8a1206646b81990e451ee841c8e5
authorRoman Bolshakov <r.bolshakov@yadro.com>
Thu, 28 May 2020 19:37:46 +0000 (28 22:37 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 12 Jun 2020 15:12:45 +0000 (12 11:12 -0400)
tree29de8b1e1ccbd40f4bf967b789b129a027b87fbf
parente89aac1acdc62c09313c20ea1706554d9c3b9162
i386: hvf: Move HVFState definition into hvf

"sysemu/hvf.h" is intended for inclusion in generic code. However it
also contains several hvf definitions and declarations, including
HVFState that are used only inside "hvf.c". "hvf-i386.h" would be more
appropriate place to define HVFState as it's only included by "hvf.c"
and "x86_task.c".

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200528193758.51454-2-r.bolshakov@yadro.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/sysemu/hvf.h
target/i386/hvf/hvf-i386.h