On Mon, May 09, 2011 at 12:01:16PM +0100, Daniel P. Berrange wrote: > On Mon, May 09, 2011 at 06:34:38AM -0400, Stefan Berger wrote: > > On 05/09/2011 05:26 AM, Daniel P. Berrange wrote: > > >On Fri, May 06, 2011 at 10:39:52AM -0400, Stefan Berger wrote: > > >>This patch fixes the creation of VM images. Previously, FC12 images were > > >>created but the files necessary for FC12 image creation are no longer > > >>available in the public repositories. This patch now switches it to > > >>create FC14 images. To get such a new image one may want to remove all > > >>content in /var/cache/libvirt-tck. I takes a long time for the image to > > >>install, though. > > >We can probably do a little refactoring to use the libguestfs > > >appliance image soon, which will make things simpler... > > Will the appliance be downloadable in form of an image or part of > > libvirt-tck itself? > > It is part of the libguestfs RPM Actually we ship only the supermin appliance, but you can build a real appliance easily: $ guestfish -a /dev/null run $ ls -l /var/tmp/.guestfs-`id -un`/root To see how libguestfs actually boots this, do: $ libguestfs-test-tool and look carefully at the output, particularly the qemu command line. Now that's the libguestfs appliance. We also build "phony disk images" for testing libguestfs. These are quite useful because (a) they are very small and (b) they look a lot like real operating systems and (c) they have no licensing issues so you can redistribute the binaries at will. Downside is you can't boot them :-( Currently during the libguestfs tests we build phony images of Debian, Fedora, Ubuntu and Windows: $ du images/*.img 14M images/debian.img 14M images/fedora.img 17M images/ubuntu.img 3.6M images/windows.img -rw-rw-r--. 1 rjones rjones 83160 May 9 22:00 debian.img.xz -rw-rw-r--. 1 rjones rjones 84332 May 9 22:00 fedora.img.xz -rw-rw-r--. 1 rjones rjones 81760 May 9 22:00 ubuntu.img.xz -rw-rw-r--. 1 rjones rjones 263432 May 9 22:00 windows.img.xz (They are sparse images so they all appear to be 512 MB in size in 'ls'). These might or might not be more useful for you. You could also (more practically TBH) distribute the build scripts for these images. Take a look in the images/ subdirectory of libguestfs source. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list