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

[Xen-devel] Re: x2APIC emulation for HVM guest

To: "Yang, Sheng" <sheng.yang@xxxxxxxxx>
Subject: [Xen-devel] Re: x2APIC emulation for HVM guest
From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
Date: Thu, 02 Dec 2010 06:31:09 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Wed, 01 Dec 2010 21:31:58 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=M4GfA1m5esslNK1GTENhBneSYMmgX7jdkSRQk0DDgTk=; b=QLGuTlxTf9NuCSVpBHJLSOPKSI4QGJc/W2WUvaBOklPZ8Wn3SLuBDQZ3GYekMQY9Jx hagCSe4JI79c+a3oyogHiCbWSkSBUYOe25vNprtz66eD1Kp4VVnke41YbgPZfWITX0vC cigI5lgCENXNnYLViAhTzs7xNcIhB7F3jNctM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Qp2wYft/sFJwyHEoa/639J3ai3Y0s1MbSTex9pxMTu6xgBnmFfoHbvgZMl1SlfSGJI 2fI0VpDMyoyyq+yQ3TO4DyPHjzFdjQQfupgLfcBJDeB0rpyQn/0ZczwABymW5aJwxqmj /YfQ4CpVFj4hvABrlT1ivGI5yXuVEtFo68ZpM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201012021009.36497.sheng.yang@xxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <201012021009.36497.sheng.yang@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101103 Fedora/1.0-0.33.b2pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6
On 12/02/2010 03:09 AM, Yang, Sheng wrote:
This patch would enable Xen to handle x2APIC MSR accessing of HVM guest, which 
is
faster(avoid decoding of MMIO accessing). The credit comes to Gleb Natapov who
complete the work for KVM.

Compared to Gleb's patch, I think yours is missing support for directed EOI in the LAPIC emulation. Linux doesn't use it, but I think it's easy enough that it's better to do it early.

Paolo

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