Re: [PATCH v2 3/6] remove kvm_abi variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 21, 2009 at 06:13:09PM -0400, Glauber Costa wrote:
> We're not using this for anything
> 
> Signed-off-by: Glauber Costa <glommer@xxxxxxxxxx>
> ---
>  qemu-kvm.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/qemu-kvm.c b/qemu-kvm.c
> index 8eeace4..a8298e4 100644
> --- a/qemu-kvm.c
> +++ b/qemu-kvm.c
> @@ -43,7 +43,6 @@ int kvm_pit = 1;
>  int kvm_pit_reinject = 1;
>  int kvm_nested = 0;
>  
> -
>  static KVMState *kvm_state;
>  kvm_context_t kvm_context;
>  
> @@ -79,7 +78,6 @@ static LIST_HEAD(, ioperm_data) ioperm_head;
>  
>  #define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1))
>  
> -int kvm_abi = EXPECTED_KVM_API_VERSION;
>  int kvm_page_size;
>  
>  #ifdef KVM_CAP_SET_GUEST_DEBUG
> @@ -429,7 +427,6 @@ int kvm_init(int smp_cpus)
>  	    fprintf(stderr, "kvm userspace version too old\n");
>  	    goto out_close;
>  	}
> -	kvm_abi = r;
>  	kvm_page_size = getpagesize();
>  	kvm_state = qemu_mallocz(sizeof(*kvm_state));
>      kvm_context = &kvm_state->kvm_context;
> -- 

Forgot qemu-kvm.h? Applied 1,2,3 and 5 (hopefully nobody outside vl.c
is playing with stopped/stop/created?).

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux