From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Otte Subject: Re: A question about virtio and KVM Date: Wed, 07 Nov 2007 11:02:16 +0100 Message-ID: <47318D28.2050903@de.ibm.com> References: <200711051051.35742.borntraeger@de.ibm.com> <47309D5D.7070703@qumranet.com> <200711071036.29880.borntraeger@de.ibm.com> Reply-To: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org, Ian Brown To: Christian Borntraeger Return-path: In-Reply-To: <200711071036.29880.borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Christian Borntraeger wrote: >> It is not yet updated to latest virtio & latest kvm. >> This version uses a pci device for virtio. Since I'm think Rusty's >> config space does not matches >> pci config space I might consider changing it. (Preferably not, maybe >> I'll start using it until we'll have the windows >> implementation). >> I'll start work on it on Sunday. > > I currently try to use Rusty's config space as we dont have a PCI bus. > Carsten told me that HPA suggested to split CONFIG_PCI in a way to use > the hardware independent data structures without providing the hardware. > > Carsten do you still remember the full details? *Shrug*. I think Peter suggested that we'd use a PCI bus type, and PCI IDs for device identification. We're not going to use PCI to do I/O, and we're not going to use IRQ (HPA: irq == 0 is a valid value, which means that the PCI device does not have an irq). He suggested to look at the virtio bus that he contributed to Rusty's lguest code as an example. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/