> -----Original Message-----
> From: [email protected] [mailto:kvm-ppc-
> [email protected]] On Behalf Of Alexander Graf
> Sent: Monday, December 09, 2013 5:02 PM
> To: "; " <[email protected]>"@suse.de
> Cc: [email protected] mailing list
> Subject: [PATCH] KVM: PPC: Add devname:kvm aliases for modules
>
> Systems that support automatic loading of kernel modules through
> device aliases should try and automatically load kvm when /dev/kvm
> gets opened.
>
> Add code to support that magic for all PPC kvm targets, even the
> ones that don't support modules yet.
>
> Signed-off-by: Alexander Graf <[email protected]>
...
> --- a/arch/powerpc/kvm/e500mc.c
> +++ b/arch/powerpc/kvm/e500mc.c
> @@ -391,3 +391,6 @@ static void __exit kvmppc_e500mc_exit(void)
>
> module_init(kvmppc_e500mc_init);
> module_exit(kvmppc_e500mc_exit);
> +#include <linux/miscdevice.h>
> +MODULE_ALIAS_MISCDEV(KVM_MINOR);
> +MODULE_ALIAS("devname:kvm");
> --
This patch breaks the build on KMV Book3E, you need to include
<linux/module.h> too.
-Mike
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html