On Thu, Jul 18, 2019 at 06:31:36PM +0200, Peter Krempa wrote:
Use the stored job name rather than passing in the disk alias when
refering to the job which allows the same code to work also when

referring

-blockdev will be used.

Note that this API does not require the change to use 'query-job' as it
will ever only work with blockjobs bound to disks due to the arguments
which allow only refering to a disk. For the disk-less jobs we'll need

referring

to add a separate API later.

The change to qemuMonitorGetBlockJobInfo is required as the API was
striping the 'drive-' prefix when returning the data which is not

stripping, unless you meant qemuMonitorGetBlockZebraInfo

desired any more.

Signed-off-by: Peter Krempa <[email protected]>
---
src/qemu/qemu_driver.c  | 9 +++++++--
src/qemu/qemu_monitor.c | 2 +-
2 files changed, 8 insertions(+), 3 deletions(-)


Reviewed-by: Ján Tomko <[email protected]>

Jano

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to