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

Re: [Xen-devel] HVM domain with VT-d passthrough fails to boot (was: [PA

To: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] HVM domain with VT-d passthrough fails to boot (was: [PATCH 2/2] ioemu: Enable guest OS to program D0-D3hot states of an assigned device)
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Tue, 17 Feb 2009 19:22:17 +1100
Cc: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Delivery-date: Tue, 17 Feb 2009 00:22:45 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090205191651.2F5A.SHIMADA-YXB@xxxxxxxxxxxxxxx>
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: <20090204101439.GN25835%yamahata@xxxxxxxxxxxxx> <20090205162655.2F57.SHIMADA-YXB@xxxxxxxxxxxxxxx> <20090205191651.2F5A.SHIMADA-YXB@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Thu, Feb 05, 2009 at 07:23:11PM +0900, Yuji Shimada wrote:
> This patch enables guest OS to program D0-D3hot states of assigned
> device.
> 
> The patch depends on the following patch I have sent.
> 
>     [PATCH 1/2] libxc: Add xc_domain_unbind_msi_irq
> 
> 
> This patch is revised version based on the review comments.
> 
> - Use LIST_FOREACH(). Don't use lh_first, le_next directly.
> - Use pci_{read, write}_block instead of "switch(len) case [124]
>   pci_{read, write}_{byte, word, long}():".
> 
> We can clean up the existing code in pass-through.c in the same
> manner. I will submit the patch to clean up the code.

Hi Shimada-san,

This change appears to prevent pci passthrough from working
correctly on an HVM doman on an HP dc7800 in x86_64 mode.
Actually the HVM domain in question fails to boot.

I my test environment is:

hypervisor: xen-unstable.hg cset 19174
            (anything after that up until 19210 (tip) doesn't boot on
             my machine, I am investigting that issue, which may be related)
tools:      xen-unstable.hg cset 19210 (tip)
ioemu-remote: qemu-xen-unstable.git
              8c771eb6294afc5b3754a9e3de51568d4e5986c2 (this patch)

I'm happy to look into this, but I am wondering if anyone else
has seen this problem.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en


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

<Prev in Thread] Current Thread [Next in Thread>