[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCHv2 28/62] qemu: Add field to store QDEV path of a disk in private data

On Mon, Aug 13, 2018 at 06:00:02PM +0200, Peter Krempa wrote:
When using -blockdev you need to use the qdev path to refer to the disk
fronends. Add means for storing the path and getting it after restart.


Signed-off-by: Peter Krempa <pkrempa redhat com>
src/qemu/qemu_domain.c                    | 27 +++++++++++++++++++++++++++
src/qemu/qemu_domain.h                    |  2 ++
tests/qemustatusxml2xmldata/modern-in.xml |  3 +++
3 files changed, 32 insertions(+)

diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 032ad80baa..3058ceca79 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -1065,6 +1065,7 @@ qemuDomainDiskPrivateDispose(void *obj)

+    VIR_FREE(priv->backendQomName);

Would look better after:


Reviewed-by: Ján Tomko <jtomko redhat com>


Attachment: signature.asc
Description: Digital signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]