[libvirt] [PATCH 1/4] test_driver: introduce domain-private data

Ilias Stamatis stamatis.iliass at gmail.com
Fri Aug 2 12:51:08 UTC 2019


On Fri, Aug 2, 2019 at 1:23 PM Erik Skultety <eskultet at redhat.com> wrote:
>
> On Tue, Jul 09, 2019 at 09:23:21PM +0200, Ilias Stamatis wrote:
> > ---
>
> Explaining that the private data will come handy to hold the information
> whether filesystems have been frozen would be nice.

Sure, just maybe let's not make it FS-specific only since we'll use
that for other APIs too and there's nothing related to the FS APIs in
this patch anyways.

How about we add in the commit message something like:

"""
vm-specific data can be used by APIs that need to preserve some state
between calls

Some of them are:
- FS-related APIs for remembering which mountpoints are frozen
- virDomainSetTime / virDomainGetTime for maintaining time information
- virDomainSetIOThreadParams for storing the I/O thread parameters
- virDomainManagedSaveDefineXML for internally storing the VM definition
"""



>
> Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list