public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* A question about virtio and KVM
@ 2007-11-01 10:17 Ian Brown
       [not found] ` <d0383f90711010317i13b0972co1d6e10ab825f3dd3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Ian Brown @ 2007-11-01 10:17 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello, kvm-devel,

As I understand, virtio is not currently integrated into KVM.

However, there is a git tree of kvm  with virtio in:
git://kvm.qumranet.com/home/dor/src/virtio/kvm
and
git://kvm.qumranet.com/home/dor/src/virtio/kvm-userspace

Is there any intention to integrate it into KVM
official version in the near future?

Regads,
Ian

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: A question about virtio and KVM
       [not found] ` <d0383f90711010317i13b0972co1d6e10ab825f3dd3-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-11-01 11:41   ` Dor Laor
       [not found]     ` <4729BB61.3060502-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Dor Laor @ 2007-11-01 11:41 UTC (permalink / raw)
  To: Ian Brown; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Ian Brown wrote:
>
> Hello, kvm-devel,
>
> As I understand, virtio is not currently integrated into KVM.
>
> However, there is a git tree of kvm  with virtio in:
> git://kvm.qumranet.com/home/dor/src/virtio/kvm
> and
> git://kvm.qumranet.com/home/dor/src/virtio/kvm-userspace
>
> Is there any intention to integrate it into KVM
> official version in the near future?
>
Hi Ian,
The intention is there, I just didn't have the time to work on it.
I can promise [there is no way to backoff now] that it will be 
working/merge-able state by December 1st.
Dor.
>
> Regads,
> Ian
>
> -------------------------------------------------------------------------
> 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/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: A question about virtio and KVM
       [not found]     ` <4729BB61.3060502-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-11-01 13:06       ` Ian Brown
  2007-11-05  9:51       ` Christian Borntraeger
  1 sibling, 0 replies; 9+ messages in thread
From: Ian Brown @ 2007-11-01 13:06 UTC (permalink / raw)
  To: dor.laor-atKUWr5tajBWk0Htik3J/w
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Dor,
Thanks for the info!
Ian

On 11/1/07, Dor Laor <dor.laor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Ian Brown wrote:
> >
> > Hello, kvm-devel,
> >
> > As I understand, virtio is not currently integrated into KVM.
> >
> > However, there is a git tree of kvm  with virtio in:
> > git://kvm.qumranet.com/home/dor/src/virtio/kvm
> > and
> > git://kvm.qumranet.com/home/dor/src/virtio/kvm-userspace
> >
> > Is there any intention to integrate it into KVM
> > official version in the near future?
> >
> Hi Ian,
> The intention is there, I just didn't have the time to work on it.
> I can promise [there is no way to backoff now] that it will be
> working/merge-able state by December 1st.
> Dor.
> >
> > Regads,
> > Ian
> >
> > -------------------------------------------------------------------------
> > 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/
> > _______________________________________________
> > kvm-devel mailing list
> > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/kvm-devel
> >
>
>

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: A question about virtio and KVM
       [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>
  1 sibling, 1 reply; 9+ messages in thread
From: Christian Borntraeger @ 2007-11-05  9:51 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	dor.laor-atKUWr5tajBWk0Htik3J/w
  Cc: Ian Brown

Am Donnerstag, 1. November 2007 schrieb Dor Laor:
> Hi Ian,
> The intention is there, I just didn't have the time to work on it.
> I can promise [there is no way to backoff now] that it will be 
> working/merge-able state by December 1st.
> Dor.

Dor,

that is good news. 

I also work on virtio and currently try to wire it to our prototype code 
to have something that works until our s390 kvm port is ready. Unfortunately 
Rusty is quite fast in changing virtio. I guess you noticed that as well ;-)
I have to implement some s390 specific solutions, for example we dont have
ioremap and, therefore, I have to implement the counterpart to lguest_map 
differently in our architecture header files.

would it be possible to have your git tree up-to-date? I could then implement
the s390 backend in a way that follows your implementation - and I could also
send patches etc. if I see something that needs to be fixed.

I really dont mind if the git tree doesnt compile or eats my disk content.
Thanks

Christian

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: A question about virtio and KVM
       [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>
  0 siblings, 1 reply; 9+ messages in thread
From: Dor Laor @ 2007-11-06 16:59 UTC (permalink / raw)
  To: Christian Borntraeger
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Ian Brown

Christian Borntraeger wrote:
> Am Donnerstag, 1. November 2007 schrieb Dor Laor:
>   
>> Hi Ian,
>> The intention is there, I just didn't have the time to work on it.
>> I can promise [there is no way to backoff now] that it will be 
>> working/merge-able state by December 1st.
>> Dor.
>>     
>
> Dor,
>
> that is good news. 
>
> I also work on virtio and currently try to wire it to our prototype code 
> to have something that works until our s390 kvm port is ready. Unfortunately 
> Rusty is quite fast in changing virtio. I guess you noticed that as well ;-)
> I have to implement some s390 specific solutions, for example we dont have
> ioremap and, therefore, I have to implement the counterpart to lguest_map 
> differently in our architecture header files.
>
> would it be possible to have your git tree up-to-date? I could then implement
> the s390 backend in a way that follows your implementation - and I could also
> send patches etc. if I see something that needs to be fixed.
>
>   
The is my latest (old) branch:

-Kernel repo: git://kvm.qumranet.com/home/dor/src/virtio/kvm
-Userspace repo: git://kvm.qumranet.com/home/dor/src/virtio/kvm-userspace
Use virt-final branch.

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.
Can you also publish your tree?
Thanks, Dor.


> I really dont mind if the git tree doesnt compile or eats my disk content.
> Thanks
>
> Christian
>
>   


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: A question about virtio and KVM
       [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>
  0 siblings, 1 reply; 9+ messages in thread
From: Christian Borntraeger @ 2007-11-07  9:36 UTC (permalink / raw)
  To: dor.laor-atKUWr5tajBWk0Htik3J/w, carsteno-tA70FqPdS9bQT0dZR+AlfA
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Ian Brown

Am Dienstag, 6. November 2007 schrieb Dor Laor:
> The is my latest (old) branch:
> 
> -Kernel repo: git://kvm.qumranet.com/home/dor/src/virtio/kvm
> -Userspace repo: git://kvm.qumranet.com/home/dor/src/virtio/kvm-userspace
> Use virt-final branch.

Yes I had a look at these. This code is virtio draft 4 based, right?

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

> Can you also publish your tree?

Currently I have no way to publish something via a web page. I could sent you
patches or the code of our prototype code. Currently it has nothing to do with
KVM but we try to move more and more into kvm direction.
As the old code was virtio draft 4 based and I just started to work on it
again I currently rebased everything and try to make it work again. Basically
I currently tried to reuse as much as possible from the lguest code.

Chrisian

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: A question about virtio and KVM
       [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 10:34                   ` Dor Laor
  1 sibling, 1 reply; 9+ messages in thread
From: Carsten Otte @ 2007-11-07 10:02 UTC (permalink / raw)
  To: Christian Borntraeger
  Cc: carsteno-tA70FqPdS9bQT0dZR+AlfA,
	kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	hpa-YMNOUZJC4hwAvxtiuMwx3w, Ian Brown

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/

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: A question about virtio and KVM
       [not found]                 ` <200711071036.29880.borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
  2007-11-07 10:02                   ` Carsten Otte
@ 2007-11-07 10:34                   ` Dor Laor
  1 sibling, 0 replies; 9+ messages in thread
From: Dor Laor @ 2007-11-07 10:34 UTC (permalink / raw)
  To: Christian Borntraeger
  Cc: carsteno-tA70FqPdS9bQT0dZR+AlfA,
	kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Ian Brown

Christian Borntraeger wrote:
>
> Am Dienstag, 6. November 2007 schrieb Dor Laor:
> > The is my latest (old) branch:
> >
> > -Kernel repo: git://kvm.qumranet.com/home/dor/src/virtio/kvm
> > -Userspace repo: 
> git://kvm.qumranet.com/home/dor/src/virtio/kvm-userspace
> > Use virt-final branch.
>
> Yes I had a look at these. This code is virtio draft 4 based, right?
>
Yup, I'll rebase every thing next week.
>
>
> > 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?
>
The idea was to have pci like configuration space without actually 
support pci.
This is something that Rusty implemented and just today there is a patch 
to convert
the config space to better match pci space.
Anyway you don't really need pci support - exactly like lguest.

> > Can you also publish your tree?
>
> Currently I have no way to publish something via a web page. I could 
> sent you
> patches or the code of our prototype code. Currently it has nothing to 
> do with
> KVM but we try to move more and more into kvm direction.
> As the old code was virtio draft 4 based and I just started to work on it
> again I currently rebased everything and try to make it work again. 
> Basically
> I currently tried to reuse as much as possible from the lguest code.
>
Me also stole most of the implementation from lguest. Actually Rusty 
made virtio
V5 implementation based on the lguest too. It is now shared, general 
virtio code
in the kernel.
>
>
> Chrisian
>


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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: A question about virtio and KVM
       [not found]                     ` <47318D28.2050903-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
@ 2007-11-07 17:09                       ` H. Peter Anvin
  0 siblings, 0 replies; 9+ messages in thread
From: H. Peter Anvin @ 2007-11-07 17:09 UTC (permalink / raw)
  To: carsteno-tA70FqPdS9bQT0dZR+AlfA
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Christian Borntraeger,
	Ian Brown

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/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-11-07 17:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-11-07 10:34                   ` Dor Laor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox