Bug 1488480

Summary: virt-manager shows all disk as bootable if old XML boot syntax is used
Product: [Community] Virtualization Tools Reporter: Pavel Hrdina <phrdina>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, gscrivan, rbalakri
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-11 07:36:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Hrdina 2017-09-05 13:43:36 UTC
When the guest XML uses the old boot syntax

  ...
  <os>
    ...
    <boot dev='hd'/>
  </os>
  ...

virt-manager incorrectly marks all disks as bootable  in the "Boot Options" pane in guest details window.  That's not true, only the fist disk is bootable in this case.

Comment 1 Pavel Hrdina 2017-09-05 14:19:47 UTC
Upstream patch posted:

https://www.redhat.com/archives/virt-tools-list/2017-September/msg00012.html

Comment 2 Pavel Hrdina 2017-09-11 07:36:54 UTC
Upstream commit:

commit f14b1f88a092b9eea9c74626dcb0f7b258bba5a3
Author: Pavel Hrdina <phrdina>
Date:   Tue Sep 5 15:48:28 2017 +0200

    domain: only the first device from each group is bootable