Re: [libvirt] [PATCH 1/4] xml: Add element to allow short description of domains</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=libvir-list@redhat.com&q=from:%22Dave+Allan%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">Dave Allan</span></span></a></span> <span class="date"><a href="/search?l=libvir-list@redhat.com&q=date:20120127" rel="nofollow">Fri, 27 Jan 2012 11:11:15 -0800</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre>On Fri, Jan 27, 2012 at 05:31:20PM +0000, Daniel P. Berrange wrote: > On Fri, Jan 27, 2012 at 06:22:16PM +0100, Peter Krempa wrote: > > This patch adds a new element <title> to the domain XML. This attribute > > can hold a short title defined by the user to ease the identification of > > domains. The title is limited to 40 bytes and can't contain newlines. > > I'm not convinced that putting a hard limit on the title length > is a good idea. That feels like a limitation just to suit the > display used in virsh. If an app only has space to show 40 > characters, then it is free to truncate and append '...'</pre><pre> Agreed; virsh can do what it wants with the data. > Also note that 40 bytes may be equivalent to as few as 12-15 > printable characters in UTF-8 with non-western languages > since single characters can take 3 bytes or even more > > Daniel > -- > |: <a rel="nofollow" href="http://berrange.com">http://berrange.com</a> -o- <a rel="nofollow" href="http://www.flickr.com/photos/dberrange/">http://www.flickr.com/photos/dberrange/</a> :| > |: <a rel="nofollow" href="http://libvirt.org">http://libvirt.org</a> -o- <a rel="nofollow" href="http://virt-manager.org">http://virt-manager.org</a> :| > |: <a rel="nofollow" href="http://autobuild.org">http://autobuild.org</a> -o- <a rel="nofollow" href="http://search.cpan.org/~danberr/">http://search.cpan.org/~danberr/</a> :| > |: <a rel="nofollow" href="http://entangle-photo.org">http://entangle-photo.org</a> -o- <a rel="nofollow" href="http://live.gnome.org/gtk-vnc">http://live.gnome.org/gtk-vnc</a> :| > > -- > libvir-list mailing list > libvir-list@redhat.com > <a rel="nofollow" href="https://www.redhat.com/mailman/listinfo/libvir-list">https://www.redhat.com/mailman/listinfo/libvir-list</a> -- libvir-list mailing list libvir-list@redhat.com <a rel="nofollow" href="https://www.redhat.com/mailman/listinfo/libvir-list">https://www.redhat.com/mailman/listinfo/libvir-list</a> </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg51167.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#51185">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#51185">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg51205.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> <li class="icons-email"><span class="subject"><a href="msg51162.html">[libvirt] [PATCH 0/4] API for modification of domain me...</a></span> <span class="sender italic">Peter Krempa</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg51163.html">[libvirt] [PATCH 4/4] qemu: Add support for virDom...</a></span> <span class="sender italic">Peter Krempa</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg51222.html">Re: [libvirt] [PATCH 4/4] qemu: Add support fo...</a></span> <span class="sender italic">Eric Blake</span></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg51164.html">[libvirt] [PATCH 2/4] API: Add api to set and get ...</a></span> <span class="sender italic">Peter Krempa</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg51220.html">Re: [libvirt] [PATCH 2/4] API: Add api to set ...</a></span> <span class="sender italic">Eric Blake</span></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg51165.html">[libvirt] [PATCH 1/4] xml: Add element <title&g...</a></span> <span class="sender italic">Peter Krempa</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg51167.html">Re: [libvirt] [PATCH 1/4] xml: Add element <...</a></span> <span class="sender italic">Daniel P. Berrange</span></li> <li><ul> <li class="icons-email tSliceCur"><span class="subject">Re: [libvirt] [PATCH 1/4] xml: Add element...</span> <span class="sender italic">Dave Allan</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg51205.html">Re: [libvirt] [PATCH 1/4] xml: Add ele...</a></span> <span class="sender italic">Peter Krempa</span></li> </ul></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg51223.html">Re: [libvirt] [PATCH 1/4] xml: Add element <...</a></span> <span class="sender italic">Eric Blake</span></li> </ul></li> <li class="icons-email"><span class="subject"><a href="msg51166.html">[libvirt] [PATCH 3/4] virsh: Add support for modif...</a></span> <span class="sender italic">Peter Krempa</span></li> <li><ul> <li class="icons-email"><span class="subject"><a href="msg51221.html">Re: [libvirt] [PATCH 3/4] virsh: Add support f...</a></span> <span class="sender italic">Eric Blake</span></li> </ul> </ul> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="Re: [libvirt] [PATCH 1/4] xml: Add element <title> to allow short description of domains"> <input type="hidden" name="msgid" value="20120127190317.GE2161@redhat.com"> <input type="hidden" name="relpath" value="libvir-list@redhat.com/msg51185.html"> <input type="submit" value=" Dave Allan "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="libvir-list@redhat.com"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search libvir-list"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/libvir-list@redhat.com/">libvir-list - all messages</a></li> <li class="icons-about"><a href="/libvir-list@redhat.com/info.html">libvir-list - about the list</a></li> <li class="icons-expand"><a href="/search?l=libvir-list@redhat.com&q=subject:%22Re%5C%3A+%5C%5Blibvirt%5C%5D+%5C%5BPATCH+1%5C%2F4%5C%5D+xml%5C%3A+Add+element+%3Ctitle%3E+to+allow+short+description+of+domains%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg51167.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg51205.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">20120127190317.GE2161@redhat.com</li> </ul> </div> </body> </html>