From: "Tim Wood" Subject: set_gdt failing in translated mode Date: Sun, 10 Dec 2006 20:03:05 -0500 Message-ID: <9c92ada10612101703i3ef9ec6eg3dd7609538654934@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Devel List-Id: xen-devel@lists.xenproject.org Hi, I'm working on save/restore for domains using translated shadow page tables. I've added support so that page tables are not (un)canonicalized during save/restore, but when the new context is being loaded, the set_gdt call is failing. Specifically, the get_page_and_type() call fails. Any ideas on what would cause this error? It's not clear to me what part of the normal restore code sets page types so that this call usually works. The basic steps of my restore routine are: -read in pages -enable shadow mode -add grant tables to physmap -clear events/copy shared info frame -set vcpu context (this step fails) Thanks for any pointers, -Tim