OSDN Git Service

hw/i386: make x86.c independent from PCMachineState
authorSergio Lopez <slp@redhat.com>
Mon, 30 Sep 2019 15:26:29 +0000 (17:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 07:39:54 +0000 (09:39 +0200)
commit703a548aa9f148186ed8647092e8645e5a85f373
tree9ffef9a06c7ccab5752e6a03addc84a31f658a96
parentf0bb276bf8d5b3df57697357b802ca76e4cdf05f
hw/i386: make x86.c independent from PCMachineState

As a last step into splitting PCMachineState and deriving
X86MachineState from it, make the functions previously extracted from
pc.c to x86.c independent from PCMachineState, using X86MachineState
instead.

Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/i386/x86.c
include/hw/i386/x86.h