public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Dor Laor <dor.laor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Fabrice Bellard <fabrice-+Yn2HnRVxb5AfugRpC6u6w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	qemu-devel-qX2TKyscuCcdnm+yROfE0A@public.gmane.org
Subject: Re: [Qemu-devel] [PATCH 1/2] KVM userspace: Add PCI device passthrough support
Date: Thu, 08 Nov 2007 12:00:11 +0200	[thread overview]
Message-ID: <4732DE2B.6060600@qumranet.com> (raw)
In-Reply-To: <4732D495.50000-+Yn2HnRVxb5AfugRpC6u6w@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1438 bytes --]

Fabrice Bellard wrote:
>
> Hi,
>
> Some remarks:
>
> - rename the option to -pcidevice.
>
> - Remove the directory passthrough and put the file directly in hw/.
> Rename the file to something more explicit such as pci_passthrough*
>
> - Suppress the files passthrough.h and neo_pci_tree.h
>
> - pt_init should be called only if there are really devices. Moreover
> the code should be disabled for non Linux hosts.
>
> Can this support work if KVM is not used for CPU emulation ? Can it work
> for non x86 targets ?
>
This patchset can work without kvm (although not tested). It can do so 
using a kernel module
that forwards irqs to userspace. I'm not sure it will make it into Linux 
kernel since it allows userspace
irq handling. We actually try to convert the current patch to our 
in-kernel apic version that won't forward
irqs to userspace and hence won't work without kvm. If you're interested 
in pass through to qemu/kqemu
(seems like a cool feature) we can try to support both.
Dor.
>
> Regards,
>
> Fabrice.
>
> Amit Shah wrote:
> > This patch introduces support for device passthrough
> > from the host to a paravirtualized guest.
> >
> > A new command-line option, -passthrough is added.
> > For example, to invoke it for an Ethernet device sitting at
> > PCI bus:dev.fn 04:08.0 with host IRQ 18, use this:
> >
> > -passthrough Ethernet/04:08.0-18
> >
> > The host driver is to be removed before doing the passthrough.
> >
>


[-- Attachment #1.2: Type: text/html, Size: 2352 bytes --]

[-- Attachment #2: Type: text/plain, Size: 314 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

  parent reply	other threads:[~2007-11-08 10:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cc1a3d4ee5e648e13b3c75fc62d9c6c00405c322.1194464687.git.amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-07 19:45 ` [PATCH 1/2] KVM userspace: Add PCI device passthrough support Amit Shah
     [not found]   ` <cc1a3d4ee5e648e13b3c75fc62d9c6c00405c322.1194464687.git.amit.shah@qumranet.com>
2007-11-07 19:45     ` Amit Shah
     [not found]     ` <95597be41c7ffbb889a0e53cb8294203ac6b5519.1194464687.git.amit.shah@qumranet.com>
2007-11-07 19:45       ` [PATCH 2/2] KVM Userspace: IRQ injection into guest Amit Shah
     [not found]   ` <11944647133010-git-send-email-amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-08  6:28     ` [PATCH 1/2] KVM userspace: Add PCI device passthrough support Avi Kivity
2007-11-08  9:19     ` [Qemu-devel] " Fabrice Bellard
     [not found]       ` <4732D495.50000-+Yn2HnRVxb5AfugRpC6u6w@public.gmane.org>
2007-11-08 10:00         ` Dor Laor [this message]
     [not found] ` <95597be41c7ffbb889a0e53cb8294203ac6b5519.1194464687.git.amit.shah-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-07 19:45   ` [PATCH 2/2] KVM Userspace: IRQ injection into guest Amit Shah
2007-11-07 20:01 ` [PATCH 1/2] KVM userspace: Add PCI device passthrough support Hollis Blanchard
2007-11-08  6:12   ` Amit Shah

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=4732DE2B.6060600@qumranet.com \
    --to=dor.laor-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=fabrice-+Yn2HnRVxb5AfugRpC6u6w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=qemu-devel-qX2TKyscuCcdnm+yROfE0A@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