Bug 828722 - RFE: virt-manager should support startupPolicy attribute for the disks
Summary: RFE: virt-manager should support startupPolicy attribute for the disks
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-manager
Version: unspecified
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
Assignee: Cole Robinson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-05 09:14 UTC by Min Zhan
Modified: 2014-07-06 19:31 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-01 14:50:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Min Zhan 2012-06-05 09:14:20 UTC
Description of problem:
startupPolicy attribute is implemented in RHEL6.3 libvirt, which defines policy what to do with the disk if the source file is not accessible. IMO this attribute should display in the virt-manager UI for users' reference.

Version-Release number of selected component (if applicable):
libvirt-0.9.10-21.el6
virt-manager-0.9.0-14.el6.x86_64
python-virtinst-0.600.0-8.el6.noarch

How reproducible:
Always

Steps to Reproduce:

1. startupPolicy has 3 values: mandatory, requisite, optional for cdrom or floppy supported in libvirt; but it can not accessed via virt-manager. For example:
...
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source startupPolicy='optional'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <alias name='ide0-1-0'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
...

  
Actual results:
as above

Expected results:
Support it in virt-manager UI

Additional info:

Comment 2 RHEL Program Management 2012-07-10 07:46:13 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 RHEL Program Management 2012-07-11 01:57:44 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 4 Cole Robinson 2014-02-01 14:50:48 UTC
With the new virt-xml tool, it's fairly easy to change startupPolicy for an individual disk with a single command line option. So for people that know what they want, there's an easy way to trigger.

As for showing in the UI, I think it's unneeded: for one, most people shouldn't need it, and it's also a difficult option to explain to clueless users in the UI. So I think exposing it via virt-install/virt-xml is the best we should do.


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