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] [RFC Patch] Support for making an E820 PCI hole in tools

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in toolstack (xl + xm)
From: Keir Fraser <keir@xxxxxxx>
Date: Tue, 16 Nov 2010 10:11:17 +0000
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, "bruce.edge@xxxxxxxxx" <bruce.edge@xxxxxxxxx>, Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
Delivery-date: Tue, 16 Nov 2010 02:12:16 -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:content-transfer-encoding; bh=RaC3BgILyt9nqvmDFY2ONWdPw0X1JmfU9yIvO7R4iCc=; b=JGja7ce1wSy7ziD+tFI7ETk1MTu8Eo7px4VBAkMys8KBRRrXWDkjCdCW6Qw3ch35Mt H7V71C9HSgRr3RZ9RnKQCdeOh6XZSctPyRuo8xEE2RUYez2FqZkjhQzwplaF1ADxvI2P rNPLRzcqkfc4KZQUKXH03UujI7Fq4GDf4GKPE=
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 :content-transfer-encoding; b=ZXqsHn1meAt0vq7XkIoB6cxtqJfI2/tXdWZKUnksnm0fu4qXcdYfN7YtMxj5d0f+aR Jbylvg2QnfeLu2e0kdTn9ZUzLoZspQj2K6vOl/8zFWT0QXA/KPjBZsJ+33qZt/1GUW1K vXe0fKhmWL8CCjqvsg69548TOnCJVdicCAxiw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1289901764.31507.755.camel@xxxxxxxxxxxxxxxxxxxxxx>
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: AcuFdptmQIkNPFgRIkOThCnQNVDisQ==
Thread-topic: [Xen-devel] [RFC Patch] Support for making an E820 PCI hole in toolstack (xl + xm)
User-agent: Microsoft-Entourage/
On 16/11/2010 10:02, "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx> wrote:

>> The right answer is probably to refuse save/restore/migrate when devices are
>> passed through.
> Absolutely. 
> However we are talking about setting up a 1-1 mapping in the P2M region
> corresponding to the PCI hole at guest boot and preserving that until
> such a time as a device is plugged in, which may be after a migration.
> I don't think it matters that no device is passed through at the time of
> the migration, in this configuration we still need arrange for the
> relevant P2M entries to be correct after the migration (or at least
> before the device gets plugged in, perhaps we can leave holes and only
> establish the 1-1 p2m on demand in pcifront?).

Leave the hole empty and populate on demand when devices are passed through
would seem sensible.

 -- Keir

> So long as this configuration doesn't cause the save/restore code to go
> mad it's something we can likely fixup in the guest on restore. My worry
> is that the save/restore code will just barf before we get that
> opportunity...

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>