Red Hat Bugzilla – Bug 887187
[Doc] There are some typos in libvirt manual and formatdomain.html
Last modified: 2013-02-21 02:28:42 EST
Description of problem: There are some typos in libvirt manual and formatdomain.html Version-Release number of selected component (if applicable): libvirt-devel-0.10.2-10.el6.x86_64 libvirt-0.10.2-10.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.# vim /usr/share/doc/libvirt-devel-0.10.2/formatdomain.html ..... 1123 <features> 1124 <pae/> 1125 <acpi/> 1126 <apic/> 1127 <hap/> 1128 <privnet/> 1129 <hyperv> 1130 <relaxed state='on'> <==== It should add "/" 1131 </hyperv> 1132 1133 </features> http://libvirt.org/formatdomain.html <features> <pae/> <acpi/> <apic/> <hap/> <privnet/> <hyperv> <relaxed state='on'> </hyperv> </features> ================================================================================ 2. # vim /usr/share/doc/libvirt-devel-0.10.2/formatdomain.html 2319 <virtualport type='openvswitch'/> <==== It should remove "/" 2320 <parameters profileid='menial' interfaceid='09b11c53-8b5c-4eeb-8f 00-d84eaa0aaa4f'/> 2321 </virtualport> http://libvirt.org/formatdomain.html <virtualport type='openvswitch'/> <parameters profileid='menial' interfaceid='09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f'/> </virtualport> ================================================================================ 3. # vim /usr/share/doc/libvirt-devel-0.10.2/formatdomain.html 3439 <devices> 3440 <serial type="dev"> 3441 <source path="/dev/ttyS0"/> 3442 <target port="1"/> 3443 </serial> <==== It should add indentation 3444 </devices> http://libvirt.org/formatdomain.html <devices> <serial type="dev"> <source path="/dev/ttyS0"/> <target port="1"/> </serial> </devices> ================================================================================== 4. # man virsh ...... Example virsh dumpxml <domain> > domain.xml vi domain.xml (or make changes with your other text editor) virsh create < domain.xml <==== It should remove "<" Actual results: Expected results: Additional info:
Items 1-3 are fixed with: commit 9821f8f6cfc49cb7ebcf707f2e40894d8f6c80af Author: Eric Blake <eblake@redhat.com> Date: Fri Dec 14 08:28:57 2012 -0700 docs: fix some typos in examples As detected in https://bugzilla.redhat.com/show_bug.cgi?id=887187 * docs/formatdomain.html.in: Fix XML typos. Item 4 is fixed with: commit d49adae2e261d2736b22be37ef8d4fe0460df0ad Author: Guido Günther <agx@sigxcpu.org> Date: Wed Nov 7 21:35:55 2012 +0100 Fix "virsh create" example We require a file and don't accept standard input: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692322
In POST: http://post-office.corp.redhat.com/archives/rhvirt-patches/2012-December/msg00379.html
Verify it using libvirt-0.10.2-13.el6.x86_64. The result is expected. Change its status to VERIFIED. Check the following files , the above typos have been fixed. 1 http://libvirt.org/formatdomain.html /usr/share/doc/libvirt-devel-0.10.2/formatdomain.html 2.man virsh Example virsh dumpxml <domain> > domain.xml vi domain.xml (or make changes with your other text editor) virsh create domain.xml
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0276.html