[Libguestfs] Xen drivers for virt-builder images
Richard W.M. Jones
rjones at redhat.com
Thu Jun 12 07:20:31 UTC 2014
On Wed, Jun 11, 2014 at 10:02:22PM +0100, George Dunlap wrote:
> On Wed, Jun 11, 2014 at 8:34 PM, Richard W.M. Jones <rjones at redhat.com> wrote:
> > Do you know what extra packages have to be installed or commands need
> > to be run to enable Xen drivers in Fedora?
>
> The kernel already has a lot of the Xen stuff enabled. AFAICT from
> looking at the boot output it's just missing those two modules in the
> initrd. (Although it's possible you'll need more.) I'm pretty sure
> they should just come in the normal kernel rpm; there aren't really
> any user-space components necessary for basic functionality of a Xen
> guest. (There are a few tools which someone might want to install for
> one purpose or another -- tools for querying Xen state or acting as a
> "driver domain" -- but they're something that should be added as
> needed, not in the core.)
I suspect we may need to run a dracut command in %post. Something
like:
dracut --add-drivers "some list of xen kmods ..."
I'm not sure which Xen drivers are required. The Fedora 21 kernel has
13 files named 'xen*.ko.xz'.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
More information about the Libguestfs
mailing list