19 Jul
                
                    2018
                
            
            
                19 Jul
                
                '18
                
            
            
            
        
    
                3 p.m.
            
        On Tue, Jul 17, 2018 at 02:14:27PM +0200, Peter Krempa wrote:
Extract the (possible) removal of the PR backend and daemon into a separate helper which enters monitor on it's own. This simplifies the
its
code and allows reuse of this function in the future e.g. for blockjobs where removing a image with PR may result into PR not being necessary.
Since the PR is not used often the overhead of entering monitor again should be negligible.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- src/qemu/qemu_hotplug.c | 49 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 11 deletions(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano