• E
    backup: qemu: Add helper API for looking up node name · e3a4b8f4
    Eric Blake 提交于
    Qemu bitmap operations require knowing the node name associated with
    the format layer (the qcow2 file); as upcoming patches will be
    grabbing that information frequently, make a helper function to access
    it.
    
    Another potential benefit of this function is that we have a single
    place where we could insert a QMP node-name scraping call if we don't
    currently know the node name, when -blockdev is not supported;
    however, the goal is that we hopefully don't ever have to do that
    because we instead scrape node names only at the point where they
    change.
    Signed-off-by: NEric Blake <eblake@redhat.com>
    Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
    e3a4b8f4
qemu_domain.h 43.5 KB