Re: [PATCH v2 05/11] KVM: Expose a version 1 architectural PMU to guests

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

 



On 06/13/2011 09:10 PM, David Ahern wrote:
On 06/13/2011 07:35 AM, Avi Kivity wrote:
>  diff --git a/arch/x86/kvm/pmu.c b/arch/x86/kvm/pmu.c
>  new file mode 100644
>  index 0000000..763e763
>  --- /dev/null
>  +++ b/arch/x86/kvm/pmu.c
>  @@ -0,0 +1,255 @@
>  +/*
>  + * Kernel-based Virtual Machine -- Performane Monitoring Unit support
>  + *
>  + * Copyright 2011 Red Hat, Inc. and/or its affiliates.
>  + *
>  + * Authors:
>  + *   Avi Kivity<avi@xxxxxxxxxx>
>  + *
>  + * This work is licensed under the terms of the GNU GPL, version 2.  See
>  + * the COPYING file in the top-level directory.
>  + *
>  + */
>  +
>  +#include<linux/types.h>
>  +#include<linux/kvm_host.h>
>  +#include<linux/perf_event.h>
>  +#include "x86.h"
>  +#include "pmu.h"

If I remove the above line the patch set compiles cleanly.  Is this an
old reference? kvm_pm* structs are defined in kvm_host.h.


Yes, thanks.  I guess I have a stale pmu.h there.  Will fix.

--
error compiling committee.c: too many arguments to function

--
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