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-users

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

To: Akos Szalkai <szalkai@xxxxx>
Subject: Re: [Xen-users] HVM domain with PCI passthrough cannot reboot
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=z8amU2sXoJjzQAzYsC5orqM6rJnbHNCd+9l6d0RumJs=; b=cO/vgL838wmqv6AARPMnk6WRxFg+9W/ZcUoCHws3/fLamnp1vEemph16BwjBgS91iW DcN5wqFs1+qBf/JKo1OHvZSMnuQzHKLvv0cXIv9GxsHBV5aFTqsY3J09ueWETUyr/cDC LoR+IpwM1ZSfO5sGut0GgYfzu/2Wy6Nqw5NdY=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D7662AB.2030401@xxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4D7662AB.2030401@xxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


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
<Prev in Thread] Current Thread [Next in Thread>