Re: [PATCH RFC V6 1/5] kvm hypervisor : Add a hypercall to KVM hypervisorto support pv-ticketlocks

From: Avi Kivity
Date: Sun Apr 29 2012 - 09:26:35 EST


On 04/29/2012 04:20 PM, Gleb Natapov wrote:
> > > This is too similar to kvm_irq_delivery_to_apic(). Why not reuse it. We
> > > can use one of reserved delivery modes as PV delivery mode. We will
> > > disallow guest to trigger it through apic interface, so this will not be
> > > part of ABI and can be changed at will.
> > >
> >
> > I'm not thrilled about this. Those delivery modes will eventually
> > become unreserved. We can have a kvm_lookup_apic_id() that is shared
> > among implementations.
> >
> This is only internal implementation. If they become unreserved we will
> use something else.
>

Yeah, I'm thinking of that time. Why do something temporary and fragile?

--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/