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

Re: [Xen-users] HVM domain with PCI passthrough cannot reboot


  • To: Akos Szalkai <szalkai@xxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Tue, 8 Mar 2011 23:31:42 +0530
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 08 Mar 2011 10:05:24 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OrAMGenvqmawPkQdaGFnMfqn1435VNbhSniKSMSJF3kyUcQD2im627oZz7UntPXLt0 iSSI70NRw8Rg8Ya1IskWA8PrAUfQVUH3P8s0tSZcVLHHcpw+jVHamST+N/chzTxZ+wuX UPGiTa2dBHD8q30B05sW6crHa94/KnJuoi0wI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



2011/3/8 Akos Szalkai <szalkai@xxxxx>
We have a Win 2008 R2 domain with a single PCI slot (00:13.0, an USB
controller) passed through to it.  We are using the pvops kernel (the
stable-2.6.32.x git branch) with Xen 4.0.1 (or 4.0.2-rc2, doesn't seem
to matter).  Everything is working great, except for one thing: when we
try to reboot the Windows VM, it shuts down correctly, but most of the
time it fails to restart with the following error message in xend.log:
VmError: failed to assign device 00:13.0: maybe it has already been
assigned to other domain, or maybe it doesn't exist.

If we log in to the host after the failed reboot and manually xm start
the domain, it does start without problems.  From our non-xen-expert
viewpoint it looks like the domain tries to restart before it had time
to detach the PCI slot from the shut down domain...

Does anyone have any pointers how to fix this?

Based upon my understanding  you might need to tweak with following in xend-config-sxp

(device-create-timeout 100)
(device-destroy-timeout 100)

or  following option
# Whether to enable core-dumps when domains crash.
#(enable-dump no)

But I am not an expert so I might be wrong.Some one else should confirm it.

--
http://mightydreams.blogspot.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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