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] Re: hvm save restore support

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: hvm save restore support
From: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Date: Wed, 20 Dec 2006 20:34:42 +0800
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Delivery-date: Wed, 20 Dec 2006 04:36:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1A80F66.5E67%keir@xxxxxxxxxxxxx>
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>
References: <20061215082552.GA21246@xxxxxxxxxxxxxxxxxxxxxx> <C1A80F66.5E67%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Fri, Dec 15, 2006 at 08:37:58AM +0000, Keir Fraser wrote:
> There is standard qemu code for doing this on create: it is hooked off the
> defualt_write_handler() for PCI config writes. Perhaps we should reload the
> PCI config space with a number of PCI-config writes from within qemu's PCI
> load handler and that may suffice?
> 
> The code that was moved to hvmloader does not directly do mmio registration.
> All it does is write device BARs, as any bootloader or OS is allowed to do.
> We must handle that properly.
keir,
thanks for your suggestion.
this work around can be removed by updating pci mappings when restore with 
other 
fix.
attached new patch. do you have any other comments?
> 
>  -- Keir
> 

-- 
best rgds,
edwin

Attachment: hvm_save_restore_r12898_2.patch
Description: Text document

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