[libvirt] [PATCH 1/8] qemu: driver: blockdevize qemuDomainGetBlockJobInfo

Ján Tomko jtomko at redhat.com
Mon Jul 22 11:45:19 UTC 2019


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 <pkrempa at redhat.com>
>---
> src/qemu/qemu_driver.c  | 9 +++++++--
> src/qemu/qemu_monitor.c | 2 +-
> 2 files changed, 8 insertions(+), 3 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190722/195cd4dd/attachment-0001.sig>


More information about the libvir-list mailing list