[libvirt] [RFC] test_driver: Thoughts on the implementation of some FS-related APIs

Pavel Hrdina phrdina at redhat.com
Thu Jul 4 11:39:16 UTC 2019


On Thu, Jul 04, 2019 at 01:28:36PM +0200, Ilias Stamatis wrote:
> On Thu, Jul 4, 2019 at 12:58 PM Pavel Hrdina <phrdina at redhat.com> wrote:
> >
> > On Wed, Jun 26, 2019 at 06:36:28PM +0200, Ilias Stamatis wrote:
> > > Hello,
> > >
> > > I was thinking about how to implement the following APIs in the test driver:
> > > -virDomainFSFreeze
> > > -virDomainFSThaw
> > > -virDomainFSTrim
> > >
> > > The first two are conceptually paired. They both get a mountpoints
> > > argument. The QEMU driver (which is the only driver implementing this
> > > currently) ignores this completely.
> >
> > What do you mean by "ignores this completely"?  From the code the
> > mountpoints are passed to QEMU agent and that agent issues appropriate
> > commands in the VM OS.
> 
> I meant qemuDomainFSThaw and qemuDomainFSTrime. In the case of
> virDomainFSFreeze you are right.

Right, I check only FSFreeze, we don't have to copy QEMU driver
behavior so if the test driver can easily support it I would go for it.

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190704/6821d86a/attachment-0001.sig>


More information about the libvir-list mailing list