Commit e77cb0bb authored by Roman Bolshakov's avatar Roman Bolshakov Committed by Paolo Bonzini
Browse files

i386: hvf: Drop HVFX86EmulatorState



Signed-off-by: default avatarRoman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200528193758.51454-14-r.bolshakov@yadro.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent fe76b09c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -51,7 +51,6 @@ typedef struct FWCfgIoState FWCfgIoState;
typedef struct FWCfgMemState FWCfgMemState;
typedef struct FWCfgState FWCfgState;
typedef struct HostMemoryBackend HostMemoryBackend;
typedef struct HVFX86EmulatorState HVFX86EmulatorState;
typedef struct I2CBus I2CBus;
typedef struct I2SCodec I2SCodec;
typedef struct IOMMUMemoryRegion IOMMUMemoryRegion;
+0 −1
Original line number Diff line number Diff line
@@ -1604,7 +1604,6 @@ typedef struct CPUX86State {
#if defined(CONFIG_HVF)
    HVFX86LazyFlags hvf_lflags;
    void *hvf_mmio_buf;
    HVFX86EmulatorState *hvf_emul;
#endif

    uint64_t mcg_cap;
+0 −1
Original line number Diff line number Diff line
@@ -568,7 +568,6 @@ int hvf_init_vcpu(CPUState *cpu)

    hvf_state->hvf_caps = g_new0(struct hvf_vcpu_caps, 1);
    env->hvf_mmio_buf = g_new(char, 4096);
    env->hvf_emul = g_new0(HVFX86EmulatorState, 1);

    r = hv_vcpu_create((hv_vcpuid_t *)&cpu->hvf_fd, HV_VCPU_DEFAULT);
    cpu->vcpu_dirty = 1;
+0 −4
Original line number Diff line number Diff line
@@ -228,10 +228,6 @@ typedef struct x68_segment_selector {
    };
} __attribute__ ((__packed__)) x68_segment_selector;

/* Definition of hvf_x86_state is here */
struct HVFX86EmulatorState {
};

/* useful register access  macros */
#define x86_reg(cpu, reg) ((x86_register *) &cpu->regs[reg])