[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [PATCH 0/4] HVM Virtual S3 --- Revised and resent


  • To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Ke, Liping" <liping.ke@xxxxxxxxx>
  • Date: Wed, 21 May 2008 14:31:04 +0800
  • Delivery-date: Tue, 20 May 2008 23:31:32 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Aci6Rwan30LCwMVNRjCgsXSrb2rzYwAOb9TQAAFWQHAAAIxGwAAAHx6dAACz6YAAAGA27AAfNweg
  • Thread-topic: [Xen-devel] [PATCH 0/4] HVM Virtual S3 --- Revised and resent

Hi, Keir
We have some test today, found several small points:
1. after cpu_reset, seems we need to call vcpu_initialise to reconstruct vmcs, 
otherwise, the domain could not be resumed back and xen has low response then.
2. yes, we may need to find a way to clear that io_port_write, otherwise, save 
will hang. I add back the clear (defer_shutdown =0) to have a test, then it 
works just fine.
3. in python, seems it will report 
    a. global name "TRIGGER_S3RESUME" is not defined
    b. global name "HVM_PARAM_ACPI_S_STATE" is not defined

After solve those problems, I found it could work fine, even with PV drivers 
installed. I found vif is ok after resume back.
Will you help us to solve them or need do it by us?

Thanks a lot for your help!
Criping


Keir Fraser wrote:
> On 20/5/08 16:19, "Ke, Liping" <liping.ke@xxxxxxxxx> wrote:
> 
>> 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.
> 
> Oh yes, I forgot I removed that. It looked a bit aggressive, so if the
> problem remains then perhaps we can find a nicer way round the
> problem. 
> 
>  -- Keir


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.