Bug 704083 - multiple <boot dev> in xen hvm guest xml will be changed to the first <boot dev>
Summary: multiple <boot dev> in xen hvm guest xml will be changed to the first <boot dev>
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.7
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Libvirt Maintainers
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-12 06:25 UTC by Vivian Bian
Modified: 2011-08-15 19:45 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-15 19:45:17 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.