[libvirt] [PATCH 2/3] Managed save compression flags.

Daniel P. Berrange berrange at redhat.com
Wed Aug 18 08:32:57 UTC 2010


On Tue, Aug 17, 2010 at 03:58:22PM -0400, Chris Lalancette wrote:
> On 08/13/10 - 04:06:24PM, Daniel P. Berrange wrote:
> > On Fri, Aug 13, 2010 at 10:53:48AM -0400, Chris Lalancette wrote:
> > > Add in the ability to specify compression flags from the
> > > managed save API.  We map these to the supported QEMU
> > > compression flags internally.
> > 
> > I'm not really convinced we need todo this. I think the host
> > level setting in /etc/libvirt/qemu.conf is sufficient already.
> 
> Don't get me wrong, I don't think this is a killer feature.  But when I
> initially implemented compression, I definitely would have done it through
> the API if we had had a "flags" parameter available for virDomainSave().  Now
> that we have a ManagedSave that does have a flags parameter, I figured we do
> it the right way.  I think it's a little cleaner, and more intuitive, to do
> it through the API, and it makes the feature available to hypervisors other
> than qemu.

I still can't imagine anyone needing the ability to specify a different
compression method per-guest VM. Perhaps a VIR_SAVE_COMPRESS to toggle
compression on / off, with actual type of compression determined in the
host config, but anything more seems rather overkill.

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list