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

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

  • To: "MaoXiaoyun" <tinnycloud@xxxxxxxxxxx>, "xen devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
  • Date: Mon, 20 Jun 2011 09:11:59 +1000
  • Cc:
  • Delivery-date: Sun, 19 Jun 2011 16:12:48 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcwuoJK4yw7LPiBzTF6wru/BF9GidQANVxSQ
  • Thread-topic: PV resume failed after self migration failed

> >
> > Windows will invoke a scsi reset if a request takes too long to
> > (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.
> >
> Thanks for the help, sorry for the late response, I've been leaving a
> lase weekend.
> If VBD is already suspended, all further IO try to issue will find vbd
> thus calls ScsiPortNotification to notify RequestComplete, right?
> If so, I have an assumption.
> at time t, VBD is suspend, an IO is try to issue, but before it calls
> ScsiPortNotificaiton, the whole
> VM paused(VCPU paused, last step of step),  10 or more seconds later,
if VM
> resumes,  will the driver
> found the IO mentioned before has already timed out and trigger
> XenVbd_HwScsiResetBus?

The xenvbd driver doesn't do any timeout, windows does the timeout and
tells xenvbd to reset. I haven't tested the scenario you describe very
recently, and xenvbd is now two different drivers, one for scsiport (<=
2003) and one for storport (>= Vista), so there could be bugs in either.


Xen-devel mailing list



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