From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: in-kernel interrupt controller steering Date: Wed, 06 Mar 2013 16:02:36 +0100 Message-ID: <51375A8C.5040008@redhat.com> References: <469599439.3185295.1362572055225.JavaMail.root@redhat.com> <1777B6DD-B341-4531-BE43-7B0161B1D093@suse.de> <20130306131424.GR11223@redhat.com> <20130306135605.GA13471@redhat.com> <8A2E7B22-8933-42CF-AD7D-6AC27F1E4B1F@suse.de> <20130306144115.GT11223@redhat.com> <3EEF9BBC-9C40-45CE-9705-5F6D26CC50B6@suse.de> <3782B81A-FF0B-4D12-8C19-8D1DC257781E@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Gleb Natapov , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, Stuart Yoder , Scott Wood , Paul Mackerras , Peter Maydell To: Alexander Graf Return-path: In-Reply-To: <3782B81A-FF0B-4D12-8C19-8D1DC257781E@suse.de> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Il 06/03/2013 15:59, Alexander Graf ha scritto: > Then we don't care about any ordering at all anymore from KVM's > perspective. Alternatively, the above code could live inside kvm as > well of course. create_vcpu() would have to register itself with "the > interrupt controller" then to allow for hotplug. One of the series from Scott already does that. He adds a notifier for the creation of VCPUs and hooks the MPIC to that notifier. BTW, I don't think the enable_cap is necessary. Paolo