Bug 465927

Summary: RFE: virt-manager does not remove custom option "last_started" from domain config file
Product: Red Hat Enterprise Linux 5 Reporter: Ales Zelinka <azelinka>
Component: virt-managerAssignee: Daniel Berrangé <berrange>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.2   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-07 14:22:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Ales Zelinka 2008-10-07 07:33:02 UTC
Please consider including option "last_started" into the list of supported domain
config options (so that it doesn't get removed when configuration changes)

syntax:
last_started = "date" ; date is in format specified by rfc 3339, recognized by date from coreutils package (date --rfc-3339=seconds)

semantics:
date and time when the domain was last started. 

Used for deciding which domain should be stopped to save resources (in environment where domain are not meant to run forever and their owners forget to stop them manually after they're done with them)

Comment 2 Daniel Berrangé 2008-10-07 13:39:35 UTC
I don't see any 'last_started' config option in either the RHEL-5 or latest upstream Xen config file handling ? Can you point to the Xen code which is defining this config parameter.

Comment 3 Ales Zelinka 2008-10-07 14:11:23 UTC
There is no such code. This option is recognized and used by our project only
(that's why I call it _custom_ option). What I'd like to achieve is
virt-manager ignoring this option (just like xm does) instead or removing.

Comment 4 Daniel Berrangé 2008-10-07 14:22:12 UTC
Closing for same reason as bug 465923. We cannot support use of random invented
config parameters.