• P
    qemu: Use proper block job name when reconnecting to VM · 56c6893f
    Peter Krempa 提交于
    The hash table returned by qemuMonitorGetAllBlockJobInfo is organized by
    the frontend name (which skipps the 'drive-' prefix). While our code
    properly matches the jobs to the disk, qemu needs the full job name
    including the 'drive-' prefix to be able to identify jobs.
    
    Fix this by adding an argument to qemuMonitorGetAllBlockJobInfo which
    does not modify the job name before filling the hash.
    
    This fixes a regression where users would not be able to cancel/pivot
    block jobs after restarting libvirtd while a blockjob is running.
    Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
    Reviewed-by: NJán Tomko <jtomko@redhat.com>
    56c6893f
qemu_monitor.h 51.6 KB