Re: [libvirt] [PATCH 3/9] qemu: Reuse qemuBlockStorageSourceAttachApply in disk hotplug

2018-06-03 Thread Peter Krempa
On Sat, Jun 02, 2018 at 17:39:51 +0200, Ján Tomko wrote: > On Fri, Jun 01, 2018 at 05:51:06PM +0200, Peter Krempa wrote: > > Create a new "Prepare" function and move the drive add code into the new > > helpers. This will eventually allow to simplify and unify the attaching > > code for use with blo

Re: [libvirt] [PATCH 3/9] qemu: Reuse qemuBlockStorageSourceAttachApply in disk hotplug

2018-06-02 Thread Ján Tomko
On Fri, Jun 01, 2018 at 05:51:06PM +0200, Peter Krempa wrote: Create a new "Prepare" function and move the drive add code into the new helpers. This will eventually allow to simplify and unify the attaching code for use with blockdev at the same time as providing compatibility with older qemus.

[libvirt] [PATCH 3/9] qemu: Reuse qemuBlockStorageSourceAttachApply in disk hotplug

2018-06-01 Thread Peter Krempa
Create a new "Prepare" function and move the drive add code into the new helpers. This will eventually allow to simplify and unify the attaching code for use with blockdev at the same time as providing compatibility with older qemus. Signed-off-by: Peter Krempa --- src/qemu/qemu_block.c | 18 +