WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Li, Xin B" <xin.b.li@xxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] credit scheduler issues in 64bit hypervisor
From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
Date: Tue, 4 Jul 2006 20:00:50 +0800
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Steven Hand <Steven.Hand@xxxxxxxxxxxx>, "Zheng, Jeff" <jeff.zheng@xxxxxxxxx>
Delivery-date: Tue, 04 Jul 2006 05:01:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acad7WiSAsiCk94gS8WozTLScaglxwAAOxSwAFqoLFA=
Thread-topic: [Xen-devel] credit scheduler issues in 64bit hypervisor
>>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.
>>
>
>OK, that's reasonable :-), I'll send out the patch.

This patch is to move vmcs and IO bitmap allocation into
vmx_initialize_guest_resources.
And some necessary code rearrangement.

Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>

Attachment: construct_vmcs.4.patch
Description: construct_vmcs.4.patch

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