Re: [PATCH v3 3/6] vbus: add a "vbus-proxy" bus model forvbus_driver objects

From: Michael S. Tsirkin
Date: Tue Aug 18 2009 - 06:11:40 EST


On Tue, Aug 18, 2009 at 01:00:25PM +0300, Avi Kivity wrote:
> On 08/18/2009 12:53 PM, Michael S. Tsirkin wrote:
>> I'm not hung up on PCI, myself. An idea that might help you get Avi
>> on-board: do setup in userspace, over PCI. Negotiate hypercall support
>> (e.g. with a PCI capability) and then switch to that for fastpath. Hmm?
>>
>
> Hypercalls don't nest well. When a nested guest issues a hypercall, you
> have to assume it is destined to the enclosing guest, so you can't
> assign a hypercall-capable device to a nested guest.
>
> mmio and pio don't have this problem since the host can use the address
> to locate the destination.

So userspace could map hypercall to address during setup and tell the
host kernel?

> --
> error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/