]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: qemuDomainDiskChangeSupported: Add missing 'address' check
authorMarc Hartmayer <mhartmay@linux.vnet.ibm.com>
Tue, 6 Dec 2016 14:30:13 +0000 (15:30 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Dec 2016 10:22:44 +0000 (11:22 +0100)
commitfb2cd32c9a3535e52a1129f7fe2aebf317ad5a65
tree6114d93fb3d23cfc26562f853fc05568cf0d9e77
parent804eccf8f7df748478564d7cc499496df2897d35
qemu: qemuDomainDiskChangeSupported: Add missing 'address' check

Disk->info is not live updatable so add a check for this. Otherwise
libvirt reports success even though no data was updated.

Signed-off-by: Marc Hartmayer <mhartmay@linux.vnet.ibm.com>
Reviewed-by: Bjoern Walk <bwalk@linux.vnet.ibm.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>
src/qemu/qemu_domain.c