[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A06A59A.2010703@redhat.com>
Date: Sun, 10 May 2009 12:59:54 +0300
From: Avi Kivity <avi@...hat.com>
To: Gregory Haskins <ghaskins@...ell.com>
CC: Anthony Liguori <anthony@...emonkey.ws>,
Chris Wright <chrisw@...s-sol.org>,
Gregory Haskins <gregory.haskins@...il.com>,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Subject: Re: [RFC PATCH 0/3] generic hypercall support
Gregory Haskins wrote:
>>
>> That only works if the device exposes a pio port, and the hypervisor
>> exposes HC_PIO. If the device exposes the hypercall, things break
>> once you assign it.
>>
>
> Well, true. But normally I would think you would resurface the device
> from G1 to G2 anyway, so any relevant transform would also be reflected
> in the resurfaced device config.
We do, but the G1 hypervisor cannot be expected to understand the config
option that exposes the hypercall.
> I suppose if you had a hard
> requirement that, say, even the pci-config space was pass-through, this
> would be a problem. I am not sure if that is a realistic environment,
> though.
>
You must pass through the config space, as some of it is device
specific. The hypervisor will trap config space accesses, but unless it
understands them, it cannot modify them.
--
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists