Bug 1488480 - virt-manager shows all disk as bootable if old XML boot syntax is used
Summary: virt-manager shows all disk as bootable if old XML boot syntax is used
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-05 13:43 UTC by Pavel Hrdina
Modified: 2017-09-11 07:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-11 07:36:54 UTC
Embargoed:


Attachments (Terms of Use)

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


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