public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
To: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	Christian Borntraeger
	<borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>,
	Ian Brown <ianbrn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: A question about virtio and KVM
Date: Wed, 07 Nov 2007 09:09:25 -0800	[thread overview]
Message-ID: <4731F145.6010803@zytor.com> (raw)
In-Reply-To: <47318D28.2050903-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>

Carsten Otte wrote:
> 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.

Yep, that's pretty much it.

Config space above 0x3F is device-specific; we can add well-known 
structures for virtio there is appropriate, preferrably via a PCI 
"capability" structure.

	-hpa

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

  parent reply	other threads:[~2007-11-07 17:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-01 10:17 A question about virtio and KVM Ian Brown
     [not found] ` <d0383f90711010317i13b0972co1d6e10ab825f3dd3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-01 11:41   ` Dor Laor
     [not found]     ` <4729BB61.3060502-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-01 13:06       ` Ian Brown
2007-11-05  9:51       ` Christian Borntraeger
     [not found]         ` <200711051051.35742.borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-11-06 16:59           ` Dor Laor
     [not found]             ` <47309D5D.7070703-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-07  9:36               ` Christian Borntraeger
     [not found]                 ` <200711071036.29880.borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-11-07 10:02                   ` Carsten Otte
     [not found]                     ` <47318D28.2050903-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-11-07 17:09                       ` H. Peter Anvin [this message]
2007-11-07 10:34                   ` Dor Laor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4731F145.6010803@zytor.com \
    --to=hpa-ymnouzjc4hwavxtiumwx3w@public.gmane.org \
    --cc=borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=ianbrn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox