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.
Signed-off-by: Prathamesh Chavan
`qemuMigrationJobPhase` was transformed into `virMigrationJobPhase`
and a common util file `virmigration` was created to store its
defination.
Signed-off-by: Prathamesh Chavan
---
src/hypervisor/meson.build| 1 +
src/hypervisor/virmigration.c | 41
Since the attribute `jobs_queued` was specific to jobs,
we decided to move this from `qemuDomainObjPrivate`
to `qemuDomainJobObj` structure.
Signed-off-by: Prathamesh Chavan
---
src/qemu/qemu_domain.h| 2 --
src/qemu/qemu_domainjob.c | 14 +++---
src/qemu/qemu_domainjob.h | 2 ++
Reference to `maxQueuedJobs` required us to access
config of the qemu-driver. And creating its copy in
the `qemuDomainJob` helped us access the variable
without referencing the driver's config.
Signed-off-by: Prathamesh Chavan
---
src/qemu/qemu_domain.c| 5 -
src/qemu/qemu_domainjob.c
Functions `qemuDomainRemoveInactiveJob` and
`qemuDomainRemoveInactiveJobLocked` had their declaration
misplaced in `qemu_domainjob` and were moved to
`qemu_domain`.
Signed-off-by: Prathamesh Chavan
---
src/qemu/qemu_domain.h| 6 ++
src/qemu/qemu_domainjob.h | 6 --
2 files changed,
As `qemuDomainJobInfo` had attributes specific to qemu hypervisor's
jobs, we moved the attribute `current` and `completed` from
`qemuDomainJobObj` to its `privateData` structure.
In this process, two callback functions: `setJobInfoOperation`
and `currentJobInfoInit` were introduced to
Following series of patches deal majorly with moving code
around aimed towards making domain-jobs hypervisor agnostic.
Previous version of this series can be found here[1].
[1]: https://www.redhat.com/archives/libvir-list/2020-August/msg00180.html
Prathamesh Chavan (6):
qemu_domain: Added
On Wed, Aug 12, 2020 at 5:42 PM Erik Skultety wrote:
>
> On Tue, Aug 04, 2020 at 08:06:49PM +0530, Prathamesh Chavan wrote:
> > `qemuMigrationJobPhase` was transformed into `virMigrationJobPhase`
> > and a common util file `virmigration` was created to store its
> > defination.
> >
> >
Sorry for not noticing this earlier, but the movement needs to happen
together with changes in codes as the moved code is no longer
available to be directly accessed by `qemu_domainjob`. (If we include
`qemu_domain.h` in `qemu_domainjob.h`, a cyclic dependency will get
created).
Thanks,
On Fri, Aug 14, 2020 at 01:30:00PM +0100, Sean Mooney wrote:
> On Fri, 2020-08-14 at 13:16 +0800, Yan Zhao wrote:
> > On Thu, Aug 13, 2020 at 12:24:50PM +0800, Jason Wang wrote:
> > >
> > > On 2020/8/10 下午3:46, Yan Zhao wrote:
> > > > > driver is it handled by?
> > > >
> > > > It looks that the
There is no support to use TPM for passthrough for LXC libvirt driver
this commit adds the option to use host TPM inside containers.
Signed-off-by: Julio Faracco
---
src/lxc/lxc_cgroup.c | 27 +++
src/lxc/lxc_controller.c | 56
2
11 matches
Mail list logo