Re: paravirtualization structure

Avi Kivity
2007-02-19T15:24:23Z

Omar Khan wrote:
> hi,
>
> I have a couple of kvm/kernel newbie questions:
>
> 1. What is the sequence of events for a paravirtualization hypercall? I
> understand how VMX architecture works, but how does the paravirt fit in? When we
> make a paravirt sys call we avoid a VMexit, but which address space does the
> call go to?
>

The hypercall sequence does not avoid a vmexit. The guest issues a
vmcall instruction, which is trapped and processed by the host.

> 2. Is the paravirtualization code included in the 2.6.20 kernel (if so where
> is it) or do we still need to apply the patch for it?
>
>
>

The paravirt code is not present in 2.6.20. You can download it using
the instructions in http://kvm.qumranet.com/kvmwiki/Code.

--
error compiling committee.c: too many arguments to function