]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Allow 10 chars for domain IDs & 30 chars for names in virsh list
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 12 Jan 2012 11:47:28 +0000 (11:47 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 12 Jan 2012 17:13:46 +0000 (17:13 +0000)
commit69f0b446a80a4c3071e3e361a019da9b2cd71539
tree0a7205d84e3713fc8f2ac9234cf57f0f2fe05796
parent833b901cb711a9db148b4fe39e658411f82f3467
Allow 10 chars for domain IDs & 30 chars for names in virsh list

Domain IDs are at least 16 bits for most hypervisors, theoretically
event 32-bits.  3 characters is clearly too small an alignment.
Increase alignment to 5 characters to allow 16-bit domain IDs to
display cleanly. Commonly seen with LXC where domain IDs are the
process IDs by default.  Also increase the 'name' field from 20
to 30 characters to cope with longer guest names which are quite
common
tools/virsh.c