From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wright Subject: Re: [RFC PATCH] PCI pass-through fixups Date: Mon, 6 Apr 2009 17:02:10 -0700 Message-ID: <20090407000210.GL27148@sequoia.sous-sol.org> References: <1238789816.15558.399.camel@lappy> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm , Sheng Yang To: Alex Williamson Return-path: Received: from sous-sol.org ([216.99.217.87]:38255 "EHLO sequoia.sous-sol.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753125AbZDGACU (ORCPT ); Mon, 6 Apr 2009 20:02:20 -0400 Content-Disposition: inline In-Reply-To: <1238789816.15558.399.camel@lappy> Sender: kvm-owner@vger.kernel.org List-ID: * Alex Williamson (alex.williamson@hp.com) wrote: > > I'm wondering if we need a spot for device specific fixups for PCI > pass-through. In the example below, I want to expose a single port of > an Intel 82571EB quad port copper NIC to a guest. It works great until > I shutdown the guest, at which point the guest e1000e driver knows by > the device ID that the NIC is a quad port, and blindly attempts to > twiddle some bits on the bridge above it (that doesn't exist). And what happens? > Obviously some robustness could be added to the driver, but would it > make sense to do something like below and automatically remap these > devices to identical single port device IDs? Thanks, Sounds quite fragile to me. thanks, -chris