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

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

 



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 the code is considering URI (name) as a mandatory parameter to change
> > the prompt. This commit remove the assignment into `priv->readonly` from
> > `if (name)` conditional.
> >
> > Before:
> >     virsh # uri
> >     qemu:///system
> >
> >     virsh # connect --readonly
> >
> >     virsh #
> >
> > After:
> >     virsh # uri
> >     qemu:///system
> >
> >     virsh # connect --readonly
> >
> >     virsh >
> >
> > Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1507737
> >
> > Signed-off-by: Julio Faracco <jcfaracco@xxxxxxxxx>
> 
> Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>
> Wrapped the commit message to 80 characters and pushed.

Best practices for commit message is to wrap it to 72 characters :).

Pavel

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux