public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Carsten Otte <cotte-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
To: Dor Laor <dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org,
	kvm-devel
	<kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: Balloon driver?
Date: Wed, 06 Jun 2007 18:04:35 +0200	[thread overview]
Message-ID: <4666DB13.7080504@de.ibm.com> (raw)
In-Reply-To: <64F9B87B6B770947A9F8391472E032160C26F90E-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>

Dor Laor wrote:
> I agree that pci interface isn't ideal, the advantage is that platforms
> that do support pci don't have to implement a virtualized bus, and pci
> is PnP device. This was the motivation behind using it, especially for
> Windows.
In understand that requirement, and I think being able to surface 
paravirtual functions/devices to the guest as PCI device needs to be a 
key feature. For windows guests.

> Now that more platforms are joining the KVM wagon, we should define a
> common bus. PCI was a overkill anyway - its irq are shared and we don't
> have to use its io/mmio areas.
> Do you guys have something to start with?
We do have something basic, our vdev bus. The bad thing is, it is 
platform specific. I really prefer to aim for an idea that Arnd came 
up with when discussing this issue:
We could define a virtual device bus. We would have platform specific 
bus implementations which rely on hypercalls, interrupts, and shared 
memory in the pure paravirtual case. And we need a second bus driver, 
which is based on a pci device. Just similar to the situation where a 
PCI device is a USB host adapter.
Now functionality like device drivers can sit on top of the 
abstraction layer. We need to invent a similar abstraction on the 
hypervisor side, which is a tricky task indeed.
The best approach into this direction I have seen so far is not our 
own vdev thing but Rusty's virtio infrastructure. That's what I think 
I would start with.

so long,
Carsten

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

  parent reply	other threads:[~2007-06-06 16:04 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-05 10:55 Balloon driver? Jun Koi
     [not found] ` <fdaac4d50706050355t3e34e9caj5fe9f3f38613bcbf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-05 11:49   ` Dor Laor
     [not found]     ` <64F9B87B6B770947A9F8391472E032160C1A61E8-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-06-06  2:20       ` Jun Koi
     [not found]         ` <fdaac4d50706051920w17cfe72am13d9d5213b344c9f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-06 10:24           ` Dor Laor
     [not found]             ` <64F9B87B6B770947A9F8391472E032160C26F84A-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-06-06 10:53               ` Jun Koi
     [not found]                 ` <fdaac4d50706060353o12fe931du8250b8bd15b256d8-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-06 12:40                   ` Carsten Otte
     [not found]                     ` <4666AB2E.8030502-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-06-06 14:03                       ` Dor Laor
     [not found]                         ` <64F9B87B6B770947A9F8391472E032160C26F90E-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-06-06 16:04                           ` Carsten Otte [this message]
     [not found]                             ` <4666DB13.7080504-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-06-06 16:17                               ` Avi Kivity
     [not found]                                 ` <4666DE28.1060308-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-06 16:41                                   ` Jun Koi
     [not found]                                     ` <fdaac4d50706060941u2ebd0180o5b6075ceb370db1b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-06 16:52                                       ` Avi Kivity
2007-06-06 22:06                                       ` Arnd Bergmann
2007-06-07  1:30                                   ` Rusty Russell
2007-06-06 16:38                               ` Arnd Bergmann
     [not found]                                 ` <200706061838.29017.arnd-r2nGTMty4D4@public.gmane.org>
2007-06-06 16:46                                   ` Carsten Otte
     [not found]                                     ` <4666E4D4.7090901-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-06-06 17:24                                       ` Avi Kivity
2007-06-08 21:41                                   ` 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=4666DB13.7080504@de.ibm.com \
    --to=cotte-ta70fqpds9bqt0dzr+alfa@public.gmane.org \
    --cc=carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=dor.laor-atKUWr5tajBWk0Htik3J/w@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