On Thu, Feb 22, 2007 at 07:26:24PM +0000, Daniel P. Berrange wrote: > On Thu, Feb 22, 2007 at 11:04:53AM +0000, Mark McLoughlin wrote: > > Add "autostart" and "net-autostart" commands > > > > Also, cleanup the "list" and "net-list" commands a bit > > and add autostart info to them > > I'm wondering whether we need to think about compatability for the virsh > commands. We've previously discussed issues around output format stability > but never really came up against the issue until now. My concern would be > someone grok'ing the 'virsh list' output and now suddenly getting an extra > data item at the end of the line. > > I think it's probably sufficient to just add the autostart flag display > to the 'virsh dominfo' command, and not the 'list' command - its not the > kind of data you need to see all that often, so I think we could leave > it out of the 'list' command. If we were to extend the output of 'list' > I reckon I'd prioritise 'memory' and 'vcpu count' above autostart. I'd like to extend usability of the list command (probably together with my work on "virsh top" patche). virsh list [ --columns=colname1,colnameN | --sort=colname ] this functionality will be there for the top command and I think we can reuse it for the list command too. Karel -- Karel Zak <kzak@xxxxxxxxxx>