Skip to contentSkip to conversation

PV drivers for HVM guests

DISCUSSION Ky Srinivasan 1 participant 1 message Oct 4, 2006

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

On Wed, Oct 4, 2006 at 4:15 AM, in message

<[email protected]>, Muli Ben-Yehuda <[email protected]>

Quoted 10 lines · wrote:
Quoted 7 lines · Keir Fraser
Quoted 4 lines

I have implemented both these schemes for the sles9 kernel and would like to get your input on your preference. I personally like option 2. Going forward, the evolution of PV drivers needs to be constrained by the required support for legacy Linux environments.

A shim layer (i.e., a set of compat macros) that avoids ifdef'ing the core driver code is definitely the way to go.

Quoted 6 lines

FWIW, neither option has a chance of being accepted upstream. For
upstream acceptance (assuming that it is a goal - it should be,
otherwise you forever chase the latest kernel API change, multiplied by the number of different distro kernel trees you support) just write the latest version of the driver to the latest kernel version. But I suspect you already know this :- )

Agreed. Having a clean shim should help in getting the PV driver code upstream.

Regards,

K. Y