Re: [GSoC][PATCH v2 6/6] qemu_domainjob: remove dependency on `qemuDomainDiskPrivatePtr`

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 18, 2020 at 3:13 PM Erik Skultety <eskultet@xxxxxxxxxx> wrote:
>
> On Mon, Aug 17, 2020 at 10:37:21AM +0530, Prathamesh Chavan wrote:
> > Dependency on qemu-specific `diskPrivatePtr` was removed
> > by moving the funcitons `qemuDomainObjPrivateXMLParseJobNBD`
> > and `qemuDomainObjPrivateXMLFormatNBDMigration` to
> > `qemu_domain`, and moving their calls inside
> > the `parseJob` and `formatJob` callback functions.
>
> Mentioning diskPrivatePtr here is a little bit confusing to me, I'd simply say
> that both parsing and formatting of NBD is qemu specific and collides with our
> effort to convert qemu_domainjob module to a hypervisor agnostic one.
>
> >
> > Signed-off-by: Prathamesh Chavan <pc44800@xxxxxxxxx>
> > ---
>
> Overall, I agree with this change, so
> Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>
>
> ...
>
> >
> > diff --git a/src/qemu/qemu_domainjob.c b/src/qemu/qemu_domainjob.c
> > index 18abc0d986..ae4ac9e0c1 100644
> > --- a/src/qemu/qemu_domainjob.c
> > +++ b/src/qemu/qemu_domainjob.c
> > @@ -19,7 +19,7 @@
> >  #include <config.h>
> >
> >  #include "qemu_domain.h"
> > -#include "qemu_migration.h"
> > +#include "virmigration.h"
>
> If we skip ^this hunk, the patch can be merged independently, it's up to you
> Prathamesh whether you want to add more changes or we you want to come up with
> a follow-up patch.

I'll post a follow-up patch.

Thanks,
Prathamesh Chavan




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux