Re: [kvm-devel] paravirtualization structure

2007-02-20 Thread Arjan van de Ven
> > "This utilizes the cr3 filter capability of the hardware - if this works out > then no VM exit happens" > > NO VM-exits happen. h... maybe I need to go over the intel manuals more > thoroughly, however any hints will be most welcomed. Hi, I think you're confused a bit ;) the cr3 filt

Re: [kvm-devel] paravirtualization structure

2007-02-19 Thread Avi Kivity
Omar Khan wrote: > Dor Laor <[EMAIL PROTECTED]> writes: > > > >> Theoretically speaking the answer is yes, vmcall is a special >> instruction that it one and only purpose is the exit from the guest. >> While mov cr3 instruction might be bound to other actions of the >> processor and might have m

Re: [kvm-devel] paravirtualization structure

2007-02-19 Thread Omar Khan
Dor Laor <[EMAIL PROTECTED]> writes: > > Theoretically speaking the answer is yes, vmcall is a special > instruction that it one and only purpose is the exit from the guest. > While mov cr3 instruction might be bound to other actions of the > processor and might have more effects on the pipeline

Re: [kvm-devel] paravirtualization structure

2007-02-19 Thread Dor Laor
>> The hypercall sequence does not avoid a vmexit. The guest issues a >> vmcall instruction, which is trapped and processed by the host. >> > >Thanks for replying Avi. In your response > (http://article.gmane.org/gmane.linux.kernel/481457) to the announcement >of the > KVM paravirtualization patch

Re: [kvm-devel] paravirtualization structure

2007-02-19 Thread Omar Khan
Avi Kivity <[EMAIL PROTECTED]> writes: > The hypercall sequence does not avoid a vmexit. The guest issues a > vmcall instruction, which is trapped and processed by the host. > Thanks for replying Avi. In your response (http://article.gmane.org/gmane.linux.kernel/481457) to the announcement o

Re: [kvm-devel] paravirtualization structure

2007-02-19 Thread Avi Kivity
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

[kvm-devel] paravirtualization structure

2007-02-19 Thread Omar Khan
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 t