xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Xen Project policy on feature flags
@ 2014-09-26 13:24 Stefano Stabellini
  2014-09-26 13:39 ` Jan Beulich
  2014-09-26 14:26 ` David Vrabel
  0 siblings, 2 replies; 22+ messages in thread
From: Stefano Stabellini @ 2014-09-26 13:24 UTC (permalink / raw)
  To: xen-devel
  Cc: keir, Tim Deegan, Stefano Stabellini, george.dunlap, Ian Jackson,
	Lars Kurth, David Vrabel, Ian Campbell

Hello all,
I am writing to request a clarification on Xen feature flags
(XENFEAT_*) and backward compatibility:
    
is the hypervisor allowed to remove any feature flags in a future
release, even though doing so might break some existing guests?

For example one could write a PV on HVM guest that requires
XENFEAT_hvm_callback_vector (regardless of PVH), could a future Xen
release remove that feature? Or is it now part of our ABI, therefore
maintained for backward compatibility, following the rule that we don't
break existing guests?


I always thought that any XENFEAT feature flags could be removed going
forward, if the hypervisor maintainers decide to do so. However Ian
Campbell is of the opposite opinion, so I think we should have a clear
policy regarding them.

In any case I think that it is generally useful to have optional flags
that advertise the presence of a feature but can also be removed going
forward. If XENFEAT feature flags are not them, then we might still want
to introduce them as a separate concept.

Cheers,

Stefano



P.S.
FYI the question has been raised in regards to
XENFEAT_grant_map_identity: we know now that it is not a complete
solution to the problem it was introduced to solve and we'll probably
want to remove it if/when we'll find a better alternative.
However if we cannot remove the feature in the future we would need to
get rid of it now, before is casted in stone in our ABI.

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-09-30 11:04 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-26 13:24 Xen Project policy on feature flags Stefano Stabellini
2014-09-26 13:39 ` Jan Beulich
2014-09-26 13:56   ` Andrew Cooper
2014-09-26 14:19   ` Ian Campbell
2014-09-26 14:29     ` Konrad Rzeszutek Wilk
2014-09-26 14:49       ` Stefano Stabellini
2014-09-29  9:00         ` George Dunlap
2014-09-29  9:31           ` Wei Liu
2014-09-29  9:36             ` George Dunlap
2014-09-29  9:54               ` Wei Liu
2014-09-29  9:54                 ` Stefano Stabellini
2014-09-29 10:05               ` David Vrabel
2014-09-29 11:32                 ` Ian Campbell
2014-09-29 14:55                   ` Konrad Rzeszutek Wilk
2014-09-29 15:00                     ` Ian Campbell
2014-09-30 11:04                       ` Stefano Stabellini
2014-09-26 14:46     ` Jan Beulich
2014-09-26 14:26 ` David Vrabel
2014-09-26 14:36   ` Konrad Rzeszutek Wilk
2014-09-26 14:54     ` Stefano Stabellini
2014-09-26 19:16       ` Konrad Rzeszutek Wilk
2014-09-26 14:52   ` Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).