[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] feature flags use



Following the need to allocate a new feature flag I soon realized that
currently there is not even a place to store them - this to me is
particularly puzzling for XENFEAT_pae_pgdir_above_4gb, as I would
have expected that the CR3 handling in PAE mode gets adjusted
according to whether the guest has that flag set. Any reason for that
(other than *assuming* that guests without that flag will always pass
the low 12 bits of CR3 clear)? Namely, what's the purpose of having
the guest specify that flag if it doesn't really change anything?

So, in turn, it seems to me that I'll first have to create a domctl to
allow setting feature flags reported by the guest (and manually fill
them for dom0), and the tools then would have to follow. The
problematic part with this is that this must happen early enough to
make sure the hv didn't use any of the flag values, yet - much like
the (un-)setting of the compatibility mode flag, and that the hv has
to verify the call isn't made too late.

Such a new domctl could certainly be combined with the one setting
the mode (native or compat) of the (pv) guest - would that be
considered desirable?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.