Re: [libvirt] [PATCH] virsh: fixing virsh prompt when connection changes to readonly mode.

2017-11-27 Thread Pavel Hrdina
On Mon, Nov 27, 2017 at 10:20:02AM +0100, Erik Skultety wrote: > On Sun, Nov 26, 2017 at 10:18:11PM -0200, Julio Faracco wrote: > > This commit, fixes the virsh prompt when reconnection to the same URI is > > called: `virsh # connect --readonly` (Reconnect). The problem is happening > > because

Re: [libvirt] [PATCH] virsh: fixing virsh prompt when connection changes to readonly mode.

2017-11-27 Thread Erik Skultety
On Sun, Nov 26, 2017 at 10:18:11PM -0200, Julio Faracco wrote: > This commit, fixes the virsh prompt when reconnection to the same URI is > called: `virsh # connect --readonly` (Reconnect). The problem is happening > because the code is considering URI (name) as a mandatory parameter to change >

[libvirt] [PATCH] virsh: fixing virsh prompt when connection changes to readonly mode.

2017-11-26 Thread Julio Faracco
This commit, fixes the virsh prompt when reconnection to the same URI is called: `virsh # connect --readonly` (Reconnect). The problem is happening because the code is considering URI (name) as a mandatory parameter to change the prompt. This commit remove the assignment into `priv->readonly` from