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 0/4] HVM Virtual S3 --- Revised and resent

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3 --- Revised and resent
From: "Ke, Liping" <liping.ke@xxxxxxxxx>
Date: Tue, 20 May 2008 23:19:37 +0800
Delivery-date: Tue, 20 May 2008 08:20:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C458A3B1.21019%keir.fraser@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: <391BF3CDD2DC0848B40ACB72FA97AD590362B5FC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C458A3B1.21019%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aci6Rwan30LCwMVNRjCgsXSrb2rzYwAOb9TQAAFWQHAAAIxGwAAAHx6dAACz6YA=
Thread-topic: [Xen-devel] [PATCH 0/4] HVM Virtual S3 --- Revised and resent
> Actually it won't work if the domain has PV drivers installed because
> then we expect it to run far enough to suspend itself. But if it has
> no PV drivers then it should not matter that it is s3suspended.
> However it will magically s3resume when we restore the guest.
> 
OK. Another thing is that
when debugging, we found when s3_sleep, it will generate the acpi_ioport
write operation, it is not cleared so v->defer_shutdown is set when s3_suspend.
Then it will prevent save process to do domain_shutdown, save process will hang.
So we clear defer_shutdown flag for each vcpu when do s3_suspend.

After refactory since we did not clear the flag, I am not sure whether 
this problem will exist. I will have a try tomorrow.

Thanks a lot!
Criping

>   -- Keir


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