Re: [libvirt] [PATCH RFC 07/40] qemu: domain: Tolerate NULL @disk in qemuDomainPrepareDiskSourceData

2019-10-22 Thread Peter Krempa
On Fri, Oct 18, 2019 at 16:08:13 -0300, Daniel Henrique Barboza wrote: > > > On 10/18/19 1:10 PM, Peter Krempa wrote: > > In some cases we want to prepare a @src which is not meant to belong to > > a disk and thus does not require us to copy the data. Allow passing in > > NULL @disk into qemuDoma

Re: [libvirt] [PATCH RFC 07/40] qemu: domain: Tolerate NULL @disk in qemuDomainPrepareDiskSourceData

2019-10-18 Thread Daniel Henrique Barboza
On 10/18/19 1:10 PM, Peter Krempa wrote: In some cases we want to prepare a @src which is not meant to belong to a disk and thus does not require us to copy the data. Allow passing in NULL @disk into qemuDomainPrepareDiskSourceData. Signed-off-by: Peter Krempa --- This is worth pushing as

[libvirt] [PATCH RFC 07/40] qemu: domain: Tolerate NULL @disk in qemuDomainPrepareDiskSourceData

2019-10-18 Thread Peter Krempa
In some cases we want to prepare a @src which is not meant to belong to a disk and thus does not require us to copy the data. Allow passing in NULL @disk into qemuDomainPrepareDiskSourceData. Signed-off-by: Peter Krempa --- src/qemu/qemu_domain.c | 3 +++ 1 file changed, 3 insertions(+) diff --