You need to sign in or sign up before continuing.
  • P
    qemu: blockjob: Track orphaned backing chains in blockjob status XML · b3f8ad07
    Peter Krempa 提交于
    When the guest unplugs the disk frontend libvirt is responsible for
    deleting the backend. Since a blockjob may still have a reference to the
    backing chain when it is running we'll have to store the metadata for
    the unplugged disk for future reference.
    
    This patch adds 'chain' and 'mirrorChain' fields to 'qemuBlockJobData'
    to keep them around with the job along with status XML machinery and
    tests. Later patches will then add code to change the ownership of the
    chain when unplugging the disk backend.
    Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
    Reviewed-by: NJán Tomko <jtomko@redhat.com>
    b3f8ad07
qemu_blockjob.c 23.4 KB