[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 06/12] kvm: Drop useless zero-initializations
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PATCH 06/12] kvm: Drop useless zero-initializations |
Date: |
Wed, 8 Jun 2011 16:11:00 +0200 |
Backing KVMState is alreay zero-initialized.
Signed-off-by: Jan Kiszka <address@hidden>
---
kvm-all.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/kvm-all.c b/kvm-all.c
index 106eb3a..4a9910a 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -764,28 +764,23 @@ int kvm_init(void)
}
#endif
- s->vcpu_events = 0;
#ifdef KVM_CAP_VCPU_EVENTS
s->vcpu_events = kvm_check_extension(s, KVM_CAP_VCPU_EVENTS);
#endif
- s->robust_singlestep = 0;
#ifdef KVM_CAP_X86_ROBUST_SINGLESTEP
s->robust_singlestep =
kvm_check_extension(s, KVM_CAP_X86_ROBUST_SINGLESTEP);
#endif
- s->debugregs = 0;
#ifdef KVM_CAP_DEBUGREGS
s->debugregs = kvm_check_extension(s, KVM_CAP_DEBUGREGS);
#endif
- s->xsave = 0;
#ifdef KVM_CAP_XSAVE
s->xsave = kvm_check_extension(s, KVM_CAP_XSAVE);
#endif
- s->xcrs = 0;
#ifdef KVM_CAP_XCRS
s->xcrs = kvm_check_extension(s, KVM_CAP_XCRS);
#endif
--
1.7.1
- Re: [Qemu-devel] [PATCH 03/12] Switch build system to accompanied kernel headers, (continued)
Re: [Qemu-devel] [PATCH 03/12] Switch build system to accompanied kernel headers, Stefan Weil, 2011/06/22
- Re: [Qemu-devel] [PATCH 03/12] Switch build system to accompanied kernel headers, Jan Kiszka, 2011/06/22
- Re: [Qemu-devel] [PATCH 03/12] Switch build system to accompanied kernel headers, Stefan Weil, 2011/06/23
- Re: [Qemu-devel] [PATCH 03/12] Switch build system to accompanied kernel headers, Jan Kiszka, 2011/06/23
- [Qemu-devel] [PATCH] Fix fallouts from Linux header inclusion, Jan Kiszka, 2011/06/23
- Re: [Qemu-devel] [PATCH] Fix fallouts from Linux header inclusion, Andreas Färber, 2011/06/23
- Re: [Qemu-devel] [PATCH] Fix fallouts from Linux header inclusion, Stefan Weil, 2011/06/23
- Re: [Qemu-devel] [PATCH] Fix fallouts from Linux header inclusion, Blue Swirl, 2011/06/26
[Qemu-devel] [PATCH 06/12] kvm: Drop useless zero-initializations,
Jan Kiszka <=
[Qemu-devel] [PATCH 11/12] kvm: x86: Pass KVMState to kvm_arch_get_supported_cpuid, Jan Kiszka, 2011/06/08
[Qemu-devel] [PATCH 02/12] Import kernel headers, Jan Kiszka, 2011/06/08
Re: [Qemu-devel] [PATCH 00/12] [uq/master] Import linux headers and some cleanups, Marcelo Tosatti, 2011/06/20