Red Hat Bugzilla – Bug 866288
libvirtd crashes when both <boot dev='...'/> and <boot order='...'/> are used in one domain XML
Last modified: 2013-02-21 02:09:46 EST
Created attachment 627170 [details] the xml of guest Description of problem: libvirtd crashes when both <boot dev='...'/> and <boot order='...'/> are used in one domain XML Version-Release number of selected component (if applicable): libvirt-0.10.2-2.el6.x86_64 qemu-kvm-0.12.1.2-2.316.el6.x86_64 kernel-2.6.32-312.el6.x86_64 How reproducible: 100% 1 prepare the domain xml,for detail you can see the attachment create a new domain XML with both <boot dev='...'/> and <boot order='...'/> elements 2. define the guest # virsh define testfull.xml error: Failed to define domain from testfull.xml error: End of file while reading data: Input/output error error: Failed to reconnect to the hypervisor 3 it works well on following pkg,and there was a bug like this issue 751287,however this bug had already been closed. libvirt-0.10.1-1.el6.x86_64 Actual results: the libvirtd crashed,while defined the guest Expected results: The guest should be defined successfully and the libvirtd should keep running Additional info
Since it works on libvirt-0.10.1-1.el6.x86_64 , so mark this bug a regression bug
Test this with: libvirt-0.10.2-4.el6.x86_64 I use attached guest xml https://bugzilla.redhat.com/attachment.cgi?id=627170 virsh # edit qemu-ga error: unsupported configuration: per-device boot elements cannot be used together with os/boot elements Failed. Try again? [y,n,f,?]: [root@pengzhimoutest ~]# virsh define test.xml error: Failed to define domain from test.xml error: unsupported configuration: per-device boot elements cannot be used together with os/boot elements # service libvirtd status libvirtd (pid 7295) is running... So, this bug is verified.
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