This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] credit scheduler issues in 64bit hypervisor

On 2 Jul 2006, at 15:38, Li, Xin B wrote:

Hmm, I still prefer allocating VMCS just before launching, can you
explain your concerns?

If the VMCS allocation fails you have no path for indicating failure to the caller -- context switch is always expected to succeed. Critical dynamic allocations should really happen on domain/vcpu creation. Also the short VMCS lifetime (first launch to dom0_destroy) means that getvcpucontext at other times -- on a very new HVM guest or one very close to death -- probably crashes or hangs right now.

 -- Keir

Xen-devel mailing list