On 10/12/2018 11:21 AM, Daniel P. Berrangé wrote:
On Wed, Oct 10, 2018 at 01:09:50PM +0200, Andrea Bolognani wrote:
> I wonder if showing a message suggesting to use virt-xml instead
> when 'virsh edit' or 'virsh attach-device' are called would be
> considered acceptable at that point?
Depends what you mean by showing a message ? I'd be fine with the
virsh man page referring people to virt-xml as a companion tool.
I would certainly not expect invokation of 'virsh edit' to print
any text on the console, as it will always be valid to want to
use "virsh edit", "virsh atach-device" or any other command
precisely because they are an almost direct passthrough to the
libvirt API without trying to inject clever logic of their own.
What if it was added to the host's MOTD? :-P
https://bugzilla.redhat.com/show_bug.cgi?id=1635200\