Re: [PATCH RFC V4 4/5] kvm : pv-ticketlocks support for linux guests running on KVM hypervisor

2012-01-15 Thread Raghavendra K T
On 01/16/2012 08:42 AM, Alexander Graf wrote: On 14.01.2012, at 19:26, Raghavendra K T wrote: Extends Linux guest running on KVM hypervisor to support pv-ticketlocks. During smp_boot_cpus paravirtualied KVM guest detects if the hypervisor has required feature (KVM_FEATURE_PVLOCK_KICK) to sup

Re: [PATCH RFC V4 0/5] kvm : Paravirt-spinlock support for KVM guests

2012-01-15 Thread Jeremy Fitzhardinge
On Jan 16, 2012, at 2:57 PM, Alexander Graf wrote: > > On 14.01.2012, at 19:25, Raghavendra K T wrote: > >> The 5-patch series to follow this email extends KVM-hypervisor and Linux >> guest >> running on KVM-hypervisor to support pv-ticket spinlocks, based on Xen's >> implementation. >> >> O

Re: [PATCH RFC V4 5/5] Documentation/kvm : Add documentation on Hypercalls and features used for PV spinlock

2012-01-15 Thread Alexander Graf
On 16.01.2012, at 04:51, Srivatsa Vaddagiri wrote: > * Alexander Graf [2012-01-16 04:23:24]: > >>> +5. KVM_HC_KICK_CPU >>> + >>> +value: 5 >>> +Architecture: x86 >>> +Purpose: Hypercall used to wakeup a vcpu from HLT state >>> + >>> +Usage example : A vcpu of a paravirtu

Re: [PATCH RFC V4 0/5] kvm : Paravirt-spinlock support for KVM guests

2012-01-15 Thread Alexander Graf
On 14.01.2012, at 19:25, Raghavendra K T wrote: > The 5-patch series to follow this email extends KVM-hypervisor and Linux > guest > running on KVM-hypervisor to support pv-ticket spinlocks, based on Xen's > implementation. > > One hypercall is introduced in KVM hypervisor,that allows a vcpu

Re: [PATCH RFC V4 5/5] Documentation/kvm : Add documentation on Hypercalls and features used for PV spinlock

2012-01-15 Thread Srivatsa Vaddagiri
* Alexander Graf [2012-01-16 04:23:24]: > > +5. KVM_HC_KICK_CPU > > + > > +value: 5 > > +Architecture: x86 > > +Purpose: Hypercall used to wakeup a vcpu from HLT state > > + > > +Usage example : A vcpu of a paravirtualized guest that is busywaiting in > > guest > > +kerne

Re: [PATCH RFC V4 2/5] kvm hypervisor : Add a hypercall to KVM hypervisor to support pv-ticketlocks

2012-01-15 Thread Alexander Graf
On 14.01.2012, at 19:25, Raghavendra K T wrote: > Add a hypercall to KVM hypervisor to support pv-ticketlocks > > KVM_HC_KICK_CPU allows the calling vcpu to kick another vcpu out of halt > state. > > The presence of these hypercalls is indicated to guest via > KVM_FEATURE_PVLOCK_KICK/KVM_CAP_

Re: [PATCH RFC V4 5/5] Documentation/kvm : Add documentation on Hypercalls and features used for PV spinlock

2012-01-15 Thread Alexander Graf
On 14.01.2012, at 19:27, Raghavendra K T wrote: > Add Documentation on CPUID, KVM_CAP_PVLOCK_KICK, and Hypercalls supported. > > KVM_HC_KICK_CPU hypercall added to wakeup halted vcpu in > paravirtual spinlock enabled guest. > > KVM_FEATURE_PVLOCK_KICK enables guest to check whether pv spinlock

Re: [PATCH RFC V4 4/5] kvm : pv-ticketlocks support for linux guests running on KVM hypervisor

2012-01-15 Thread Alexander Graf
On 14.01.2012, at 19:26, Raghavendra K T wrote: > Extends Linux guest running on KVM hypervisor to support pv-ticketlocks. > > During smp_boot_cpus paravirtualied KVM guest detects if the hypervisor has > required feature (KVM_FEATURE_PVLOCK_KICK) to support pv-ticketlocks. If so, > support fo

Re: [PATCH] vhost-net: add module alias (v2.1)

2012-01-15 Thread Michael S. Tsirkin
On Thu, Jan 12, 2012 at 08:07:01PM -0800, David Miller wrote: > From: Stephen Hemminger > Date: Wed, 11 Jan 2012 21:30:38 -0800 > > > Subject: vhost-net: add module alias (v2.1) > > > > By adding some module aliases, programs (or users) won't have to explicitly > > call modprobe. Vhost-net will