All of lore.kernel.org
 help / color / mirror / Atom feed
* can KVM do pci-mapping like xen?
@ 2007-02-05 20:28 Mathijs Kwik
       [not found] ` <775c14610702051228g363ff45j5b01b1b783b883ea-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Mathijs Kwik @ 2007-02-05 20:28 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,

One of the features of xen that I find really interesting is the
ability to "map" pci slots straight to the guest OS.

I just recently got myself a VT-capable processor, so I started looking around.

Since my mainboard supports 2x PCI-Ex16, I bought 2 GFX-cards.
I normally use 3 monitors using xinerama.

My idea/hope is that I can "map" one of my GFX-cards to the guest-os
(windows), so there is no emulation on that. This way I can play some
windows-games without rebooting.

Xen claims to support this.
Is there any chance KVM will do this too?

Greetings.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* Re: can KVM do pci-mapping like xen?
       [not found] ` <775c14610702051228g363ff45j5b01b1b783b883ea-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-02-05 20:36   ` Muli Ben-Yehuda
  2007-02-05 20:38   ` Anthony Liguori
  1 sibling, 0 replies; 4+ messages in thread
From: Muli Ben-Yehuda @ 2007-02-05 20:36 UTC (permalink / raw)
  To: Mathijs Kwik; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, Feb 05, 2007 at 09:28:26PM +0100, Mathijs Kwik wrote:
> Hello,
> 
> One of the features of xen that I find really interesting is the
> ability to "map" pci slots straight to the guest OS.
> 
> I just recently got myself a VT-capable processor, so I started looking around.
> 
> Since my mainboard supports 2x PCI-Ex16, I bought 2 GFX-cards.
> I normally use 3 monitors using xinerama.
> 
> My idea/hope is that I can "map" one of my GFX-cards to the guest-os
> (windows), so there is no emulation on that. This way I can play
> some windows-games without rebooting.
> 
> Xen claims to support this.

Xen support this for "para-virtualized" guests, which means guests
kernels that have been modified to know they're running on
Xen. Specifically, giving direct access to a PCI device to a guest
requires a special "driver" running in the guest (pci-front, in Xen
parlance).

> Is there any chance KVM will do this too?

There's no inherent reason why not, but it doesn't at the
moment. Neither does Xen for fully-virtualized guests AFAIK.

Cheers,
Muli

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* Re: can KVM do pci-mapping like xen?
       [not found] ` <775c14610702051228g363ff45j5b01b1b783b883ea-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2007-02-05 20:36   ` Muli Ben-Yehuda
@ 2007-02-05 20:38   ` Anthony Liguori
       [not found]     ` <2e59e6970702052053r3cf68c84r574479a6e9a1e26e@mail.gmail.com>
  1 sibling, 1 reply; 4+ messages in thread
From: Anthony Liguori @ 2007-02-05 20:38 UTC (permalink / raw)
  To: Mathijs Kwik; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Mathijs Kwik wrote:
> Hello,
>
> One of the features of xen that I find really interesting is the
> ability to "map" pci slots straight to the guest OS.
>
> I just recently got myself a VT-capable processor, so I started looking around.
>
> Since my mainboard supports 2x PCI-Ex16, I bought 2 GFX-cards.
> I normally use 3 monitors using xinerama.
>
> My idea/hope is that I can "map" one of my GFX-cards to the guest-os
> (windows), so there is no emulation on that. This way I can play some
> windows-games without rebooting.
>
> Xen claims to support this.
>   

Xen doesn't support this.  It requires IOMMU support (the hardware is 
not widely available at the moment).

Xen supports passing PCI devices to *paravirtual* domains.  Windows 
won't run paravirtualized.

Regards,

Anthony Liguori

> Is there any chance KVM will do this too?
> Greetings.
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* can KVM do pci-mapping like xen?
       [not found]       ` <2e59e6970702052053r3cf68c84r574479a6e9a1e26e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-02-06  5:30         ` richardvoigt-Re5JQEeQqe8AvxtiuMwx3w
  0 siblings, 0 replies; 4+ messages in thread
From: richardvoigt-Re5JQEeQqe8AvxtiuMwx3w @ 2007-02-06  5:30 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On 2/5/07, Anthony Liguori <aliguori-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> wrote:
> Mathijs Kwik wrote:
> > Hello,
> >
> > One of the features of xen that I find really interesting is the
> > ability to "map" pci slots straight to the guest OS.
> >
> > I just recently got myself a VT-capable processor, so I started looking around.
> >
> > Since my mainboard supports 2x PCI-Ex16, I bought 2 GFX-cards.
> > I normally use 3 monitors using xinerama.
> >
> > My idea/hope is that I can "map" one of my GFX-cards to the guest-os
> > (windows), so there is no emulation on that. This way I can play some
> > windows-games without rebooting.

Tried running the games in wine?

> >
> > Xen claims to support this.
> >
>
> Xen doesn't support this.  It requires IOMMU support (the hardware is
> not widely available at the moment).
>
> Xen supports passing PCI devices to *paravirtual* domains.  Windows
> won't run paravirtualized.

It is theoretically possible with a paravirtual *driver* without the
entire guest OS having paravirtual support.  However this requires
support from the driver writers, who historically haven't had very
good support for Linux.  First video card manufacturer to implement
this is going to earn some loyal Linux customers.

>
> Regards,
>
> Anthony Liguori
>
> > Is there any chance KVM will do this too?
> > Greetings.
> >
> > -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job easier.
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > kvm-devel mailing list
> > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/kvm-devel
> >
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

end of thread, other threads:[~2007-02-06  5:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-05 20:28 can KVM do pci-mapping like xen? Mathijs Kwik
     [not found] ` <775c14610702051228g363ff45j5b01b1b783b883ea-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-02-05 20:36   ` Muli Ben-Yehuda
2007-02-05 20:38   ` Anthony Liguori
     [not found]     ` <2e59e6970702052053r3cf68c84r574479a6e9a1e26e@mail.gmail.com>
     [not found]       ` <2e59e6970702052053r3cf68c84r574479a6e9a1e26e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-02-06  5:30         ` richardvoigt-Re5JQEeQqe8AvxtiuMwx3w

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.