[libvirt] [sandbox][PATCH] Add module directory prefix selection feature

Radu Caragea sinaelgl at gmail.com
Wed Jun 20 07:17:42 UTC 2012


Add module directory selection feature

This is useful when running as a non-privileged user if we want to
boot a custom compiled kernel: we might not have rights to install in
/lib/modules/<kernel release> so when compiling the kernel we can use
"make modules_install INSTALL_MOD_PATH=/path" which installs in
/path/lib/modules/<kernel release>. By setting with
gvir_sandbox_config_set_kmodpath(cfg, "/path/lib/modules") we can
now achieve just that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmod.patch
Type: text/x-patch
Size: 14250 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120620/d25808cd/attachment-0001.bin>


More information about the libvir-list mailing list