On 12/15/13 13:11, Andrew Cooper
wrote:
On 15/12/2013 17:42, Don Slutz
wrote:
is the final part of this one. So I do not find any code that
does what you are wondering about.
-Don
HVM_CPU_XSAVE_SIZE() changes depending on which xsave features
have ever been enabled by a vcpu (size is proportional to the
contents of v->arch.xcr0_accum). It is not guaranteed to be
the same for each vcpu in a domain, (although almost certainly
will be the same for any recognisable OS)
Ah, I see.
Well, hvm_save_one, hvm_save_size, and hvm_save all expect that
hvm_sr_handlers[typecode].size has the max size. I do not see
that being true for XSAVE.