[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 2/7] kvm-all: remove useless typedef
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 2/7] kvm-all: remove useless typedef |
Date: |
Fri, 15 May 2015 18:36:58 +0200 |
Signed-off-by: Paolo Bonzini <address@hidden>
---
kvm-all.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/kvm-all.c b/kvm-all.c
index 6e1a3f8..8205ea1 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -69,8 +69,6 @@ typedef struct KVMSlot
int flags;
} KVMSlot;
-typedef struct kvm_dirty_log KVMDirtyLog;
-
struct KVMState
{
AccelState parent_obj;
@@ -425,7 +423,7 @@ static int
kvm_physical_sync_dirty_bitmap(MemoryRegionSection *section)
{
KVMState *s = kvm_state;
unsigned long size, allocated_size = 0;
- KVMDirtyLog d = {};
+ struct kvm_dirty_log d = {};
KVMSlot *mem;
int ret = 0;
hwaddr start_addr = section->offset_within_address_space;
--
1.8.3.1
- [Qemu-devel] [RFC PATCH 0/7] x86: SMRAM implementation for KVM, Paolo Bonzini, 2015/05/15
- [Qemu-devel] [PATCH 2/7] kvm-all: remove useless typedef,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 1/7] kvm-all: put kvm_mem_flags to more work, Paolo Bonzini, 2015/05/15
- [Qemu-devel] [PATCH 3/7] kvm-all: move KVMState definitions to kvm_int.h, Paolo Bonzini, 2015/05/15
- [Qemu-devel] [PATCH 4/7] kvm-all: add KVM address space, Paolo Bonzini, 2015/05/15
- [Qemu-devel] [PATCH 5/7] memory: add kvm_mem_flags to MemoryRegion, Paolo Bonzini, 2015/05/15
- [Qemu-devel] [PATCH 7/7] kvm-i386: register SMRAM regions with KVM_MEM_X86_SMRAM, Paolo Bonzini, 2015/05/15
- [Qemu-devel] [PATCH 6/7] i386: disable the region in /machine/smram when SMRAM is open, Paolo Bonzini, 2015/05/15