On Mon, Oct 08, 2012 at 07:54:08PM +0100, Richard W.M. Jones wrote:
On Mon, Oct 08, 2012 at 08:50:47PM +0200, Olaf Hering wrote:
> On Mon, Oct 08, Richard W.M. Jones wrote:
>
> > But out of interest, how are you creating this appliance? I thought
> > we'd ripped out support for old-style appliances from the rest of the
> > toolchain ...
>
> I use mkinitrd to pull in all tools and run guestfsd instead of
> /sysroot/sbin/init. This allows me to build the package automated as
> unprivileged user in the buildsystem. Creating a loop file requires
> root, which is cumbersome in the openSuSE buildservice.
>
> In src/appliance I noticed that initramfs.<arch>.img etc. is obsolete,
> will it be removed for 1.20?
No we shouldn't remove this, I guess I'll have to make this work.
There are quite a lot of assumptions in the libvirt backend that
appliance != NULL, but we can fix them ...
The attached patch isn't tested, but it seems as if it should work.
I've based it on top of my current set of hotplugging patches because
this code has changed so much.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v