mirror of https://github.com/xemu-project/xemu.git
kvm-all: remove useless typedef
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d6ff5cbc12
commit
714f78c587
|
@ -69,8 +69,6 @@ typedef struct KVMSlot
|
||||||
int flags;
|
int flags;
|
||||||
} KVMSlot;
|
} KVMSlot;
|
||||||
|
|
||||||
typedef struct kvm_dirty_log KVMDirtyLog;
|
|
||||||
|
|
||||||
struct KVMState
|
struct KVMState
|
||||||
{
|
{
|
||||||
AccelState parent_obj;
|
AccelState parent_obj;
|
||||||
|
@ -393,7 +391,7 @@ static int kvm_physical_sync_dirty_bitmap(MemoryRegionSection *section)
|
||||||
{
|
{
|
||||||
KVMState *s = kvm_state;
|
KVMState *s = kvm_state;
|
||||||
unsigned long size, allocated_size = 0;
|
unsigned long size, allocated_size = 0;
|
||||||
KVMDirtyLog d = {};
|
struct kvm_dirty_log d = {};
|
||||||
KVMSlot *mem;
|
KVMSlot *mem;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
hwaddr start_addr = section->offset_within_address_space;
|
hwaddr start_addr = section->offset_within_address_space;
|
||||||
|
|
Loading…
Reference in New Issue