Bug 704083

Summary: multiple <boot dev> in xen hvm guest xml will be changed to the first <boot dev>
Product: Red Hat Enterprise Linux 5 Reporter: Vivian Bian <vbian>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 5.7CC: dallan, dyuan, gren, hjiang, mzhan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-15 19:45:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vivian Bian 2011-05-12 06:25:58 UTC
Description of problem:
edit the guest xml with following elements 
<boot dev='hd'/>
<boot dev='network'/>
<boot dev='cdrom'/>

after save and quit , dumpxml guest will get the following result 
<boot dev='hd'/>
<boot dev='hd'/>
<boot dev='hd'/>

without any error message . 

Version-Release number of selected component (if applicable):
libvirt-0.8.2-20.el5
kernel-2.6.18-259.el5

How reproducible:
always

Steps to Reproduce:
1.virsh edit guest
2.set multiple boot devices
3.save and quit
  
Actual results:
all of the boot devices would be changed to be the same with the first boot device

Expected results:
if we don't support multiple boot devices , please show the error message . If we support multiple boot devices, don't make all of the lines be the same . 

Additional info:

Comment 1 Vivian Bian 2011-05-12 07:47:12 UTC
checked with kvm guest , there is no such problem

Comment 2 Huming Jiang 2011-05-31 09:00:06 UTC
This bug could reproduce on the following components of rh5.6:
kernel-xen-2.6.18-238.el5
libvirt-0.8.2-15.el5
virt-manager-0.6.1-13.el5

Steps:
1.virsh edit a
2.set multiple boot devices
  <os>
    <type arch='x86_64' machine='xenfv'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
    <boot dev='network'/>
    <boot dev='cdrom'/>
  </os>

3.save and quit
4.virsh dumpxml a
  <os>
    <type arch='x86_64' machine='xenfv'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
    <boot dev='hd'/>
    <boot dev='hd'/>
  </os>

Comment 3 RHEL Program Management 2011-06-20 22:49:38 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 5 RHEL Program Management 2011-08-15 19:45:17 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.