* KVM: x86: remove unused last_kernel_ns variable
@ 2014-01-29 19:31 Marcelo Tosatti
2014-01-30 10:58 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Marcelo Tosatti @ 2014-01-29 19:31 UTC (permalink / raw)
To: kvm-devel; +Cc: Paolo Bonzini
Remove unused last_kernel_ns variable.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index fdf83af..0ffe714 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -444,7 +444,6 @@ struct kvm_vcpu_arch {
} st;
u64 last_guest_tsc;
- u64 last_kernel_ns;
u64 last_host_tsc;
u64 tsc_offset_adjustment;
u64 this_tsc_nsec;
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 0c76f7c..0206b87 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1565,7 +1565,6 @@ static int kvm_guest_time_update(struct kvm_vcpu *v)
/* With all the info we got, fill in the values */
vcpu->hv_clock.tsc_timestamp = tsc_timestamp;
vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset;
- vcpu->last_kernel_ns = kernel_ns;
vcpu->last_guest_tsc = tsc_timestamp;
/*
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: KVM: x86: remove unused last_kernel_ns variable
2014-01-29 19:31 KVM: x86: remove unused last_kernel_ns variable Marcelo Tosatti
@ 2014-01-30 10:58 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2014-01-30 10:58 UTC (permalink / raw)
To: Marcelo Tosatti, kvm-devel
Il 29/01/2014 20:31, Marcelo Tosatti ha scritto:
>
> Remove unused last_kernel_ns variable.
>
> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
>
> diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
> index fdf83af..0ffe714 100644
> --- a/arch/x86/include/asm/kvm_host.h
> +++ b/arch/x86/include/asm/kvm_host.h
> @@ -444,7 +444,6 @@ struct kvm_vcpu_arch {
> } st;
>
> u64 last_guest_tsc;
> - u64 last_kernel_ns;
> u64 last_host_tsc;
> u64 tsc_offset_adjustment;
> u64 this_tsc_nsec;
> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
> index 0c76f7c..0206b87 100644
> --- a/arch/x86/kvm/x86.c
> +++ b/arch/x86/kvm/x86.c
> @@ -1565,7 +1565,6 @@ static int kvm_guest_time_update(struct kvm_vcpu *v)
> /* With all the info we got, fill in the values */
> vcpu->hv_clock.tsc_timestamp = tsc_timestamp;
> vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset;
> - vcpu->last_kernel_ns = kernel_ns;
> vcpu->last_guest_tsc = tsc_timestamp;
>
> /*
>
Applying to kvm/queue, thanks.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-30 10:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-29 19:31 KVM: x86: remove unused last_kernel_ns variable Marcelo Tosatti
2014-01-30 10:58 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox