]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_domain: Introduce qemuDomainDiskSourceDiffers
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 15 Sep 2015 11:41:42 +0000 (13:41 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 18 Sep 2015 13:51:18 +0000 (15:51 +0200)
commitcb2ed632e6c5b67e06722c79849cce05cb079950
tree1afe6833d3d4f8942a13b15db3a9e312573b149a
parent8fca346c97eda62cff51db7f06b1c455af2e9a18
qemu_domain: Introduce qemuDomainDiskSourceDiffers

This new private API should return true iff sources of two disks
differs in sense that qemu should be instructed to change the
disk backend. For instance, ejecting a CDROM is such case, or
pointing disk into a different ISO location, and so on.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h