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

[Xen-devel] RE: PV resume failed after self migration failed

To: "MaoXiaoyun" <tinnycloud@xxxxxxxxxxx>, "xen devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: PV resume failed after self migration failed
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Fri, 17 Jun 2011 11:34:09 +1000
Cc:
Delivery-date: Thu, 16 Jun 2011 18:36:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BLU157-w514C39E37ADBE61990B1E8DA6A0@xxxxxxx>
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>
References: <BAY0-MC4-F15zXiPuZe00229bef@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, <BLU157-w269412E815CBCDF33B2A83DA6B0@xxxxxxx>, <AEC6C66638C05B468B556EA548C1A77D01D57A5D@trantor>, <BLU157-w36414995E6873400744316DA6A0@xxxxxxx> <BLU157-w514C39E37ADBE61990B1E8DA6A0@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwsMUDuJTkUZ1b4QmeHkS5ABy6ohwAWVYkw
Thread-topic: PV resume failed after self migration failed
> Hi James:
> 
>     I found another issue during test.
>     When migrating VM from host A to B, it contains following process.
>     1) memory copy
>     2) suspend VM on A
>     3) transfer some other thing to B such as tsc state.
> 
>     If step (3) failed,  VM will be resumed on host A.
>     Well, from the test of view,  the resume cannot be completed
successfully.
> 
>     Out test is migrating 12VMs between twn host over again and again.
>     The attached log doing exactly below things
>     1) Migrate from Host B, so fisrt resuming (line 25 to 474)
>     2) Later want to migrating to B again, so suspending (line 474 to
line
> 1116)
>     3) Migrating failed and enter into resuming again  (line 1118 to
line
> 1399).
> 
>      line 1383 is waiting vbd state to be changed but can not get the
> response.
> And 1392 show a "Unacknowledged event word ". From the log, it looks
like
> this is due to XenVbd_HwScsiResetBus in line 1397.
> 
>       Question is what trigger the XenVbd_HwScsiResetBus during
resuming?
> 

Windows will invoke a scsi reset if a request takes too long to complete
(5 seconds I think). It will also issue a reset when a crash dump
starts, just to make sure all previous requests are flushed etc.

James

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