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] [PATCH 3/5] vtdt: Modify vlapic code to add vtdt support

To: Keir Fraser <keir@xxxxxxx>, "Wei, Gang" <gang.wei@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3/5] vtdt: Modify vlapic code to add vtdt support
From: Keir Fraser <keir@xxxxxxx>
Date: Tue, 14 Dec 2010 10:01:39 +0000
Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Delivery-date: Tue, 14 Dec 2010 02:04:39 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type; bh=YbJ83T3dfkJKE6+30wEG1Mjok+suBHPu99d5IyWd+yg=; b=OjRWy/nV62IVZZb7rrkBxvdlS1qanS3IaMd6b3dtqVVdwkedyxRXQRnP7c3nnBJhJh AJar2hMTXUHFDIpqi8FZBD4GAEPSl3hFVuErIaCzB/5FtNnMDlG+8JFhUhh5b2kXWpJ+ xquS9A/NHBdwHAjKQCLTXuhtEDuFF0qUBfEh0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type; b=i12glfgsY6UOnuHnsqENRXfBRNf1ofrr/xOllM/6sk6jR+svD53FhKS60opZQPFxpT 6qHCVzkqAuupVtWQpws09HFz3pj00UBJ/h5WR6FZA786JhlXwRMRvjcVyumI+817AFcd N8LT0DW1a47W5K/b3JFVKWgEXZWaCP9V318xk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C92CF06D.CCE3%keir@xxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcubPslPXD79XKNoRpanX8il5iAsXgAIq7U+AAF2X3AAARpTFgAAmehgAAHaoLMAABZayg==
Thread-topic: [Xen-devel] [PATCH 3/5] vtdt: Modify vlapic code to add vtdt support
User-agent: Microsoft-Entourage/12.27.0.100910
On 14/12/2010 09:59, "Keir Fraser" <keir@xxxxxxx> wrote:

>>> That's Tim's call. I would personally prefer for Xen to accept
>>> truncated chunks, and extend them with sensible 'old save image' defaults,
>>> such as all-zeroes.
>>> That would be a generic solution to this case which will be reusable
>>> in future, and avoid needlessly creating extra chunk types just for
>>> backward compatibility reasons.
>> 
>> Ok. Let's wait for Tim to answer the call.
> 
> Well I propose the attached patch, and then you can use
> hvm_load_entry_zeroextend() in vlapic.c. I would split this patch into two
> pieces if I apply it (code movement first, then the zeroextend logic).
> 
> It needs an Ack from Tim however.

Forgot to attach the patch. Attached this time.

 -- Keir

Attachment: 00-hvm-restore-zeroextend
Description: Binary data

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