Re: [RFC PATCH 1/6] kvm: add device control API

Benjamin Herrenschmidt
2013-03-06T04:28:23Z

On Tue, 2013-03-05 at 21:36 -0600, Scott Wood wrote:
>
> Which file is this in?

A few hits:

$ grep anon arch/powerpc/kvm/*
arch/powerpc/kvm/book3s_64_mmu_hv.c:#include <linux/anon_inodes.h>
arch/powerpc/kvm/book3s_64_mmu_hv.c: ret = anon_inode_getfd("kvm-htab", &kvm_htab_fops, ctx, rwflag);
arch/powerpc/kvm/book3s_64_vio.c:#include <linux/anon_inodes.h>
arch/powerpc/kvm/book3s_64_vio.c: return anon_inode_getfd("kvm-spapr-tce", &kvm_spapr_tce_fops,
arch/powerpc/kvm/#book3s_hv.c#:#include <linux/anon_inodes.h>
arch/powerpc/kvm/#book3s_hv.c#: fd = anon_inode_getfd("kvm-rma", &kvm_rma_fops, ri, O_RDWR);
arch/powerpc/kvm/book3s_hv.c:#include <linux/anon_inodes.h>
arch/powerpc/kvm/book3s_hv.c: fd = anon_inode_getfd("kvm-rma", &kvm_rma_fops, ri, O_RDWR);
arch/powerpc/kvm/book3s_pr_papr.c:#include <linux/anon_inodes.h>

Cheers,
Ben.