Re: Providing official virtualisation images of Debian
26.07.2011 02:46, Lars Wirzenius wrote:
> On Tue, Jul 26, 2011 at 12:27:09AM +0200, Moritz Mühlenhoff wrote:
>> What virtualisation solutions should be supported?
>> - Virtual Box seems like a natural candidate since it's free and
>> included since Squeeze.
>> - Vmware has a significant installed base and is relevant, although
>> - Microsoft Virtual PC is likely also needed
>> - Qemu
>> - Citrix XenServer?
> You don't mention KVM explicitly (it's almost identical to Qemu,
> but fast), or Xen. Anyway, qemu-img can convert a raw disk image
> into many other formats. So you generate one raw image, and then
> convert it to any other formats using qemu-img.
There is, actually, practically no need to provide different
images, just one should be sufficient.
The question is: how well all the listed virtualization solutions
can work with raw images?
If they can do that, it's the best approach to take: create _one_
single image (of each distribution or point release, whatever) as
a raw image, and include all software (drivers and agents) to work
as a guest for any of the mentioned solutions.
That's basically it.
Yes, if some solution can't work with raw format, it most likely
have some import tool to convert raw to whatever format they
understand, and this is better be done by "native" utility than
by qemu-img, since native better understands all the needs.
The only problem is that raw images may be large(ish). For that,
create as small as possible file, to fit stuff almost exactly,
and recommend resizing it. Maybe... :)