Received: from eggs.gnu.org ([2001:4830:134:3::10]:43117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bot8F-000414-8o for qemu-devel@nongnu.org; Tue, 27 Sep 2016 10:13:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bot8B-0007LJ-Hl for qemu-devel@nongnu.org; Tue, 27 Sep 2016 10:13:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bot8B-0007LE-BZ for qemu-devel@nongnu.org; Tue, 27 Sep 2016 10:13:11 -0400 Date: Tue, 27 Sep 2016 16:13:07 +0200 From: Igor Mammedov Message-ID: <20160927161307.52411da3@nial.brq.redhat.com> In-Reply-To: <20160926114738.6643c10e@nial.brq.redhat.com> References: <1474548655-157373-1-git-send-email-imammedo@redhat.com> <1474548655-157373-11-git-send-email-imammedo@redhat.com> <20160922195739.GA25077@potion> <20160926114738.6643c10e@nial.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 10/14] pc: kvm_apic: pass APIC ID depending on xAPIC/x2APIC mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Radim =?UTF-8?B?S3LEjW3DocWZ?= Cc: ehabkost@redhat.com, liuxiaojian6@huawei.com, mst@redhat.com, qemu-devel@nongnu.org, peterx@redhat.com, kevin@koconnor.net, Paolo Bonzini , lersek@redhat.com, chao.gao@intel.com On Mon, 26 Sep 2016 11:47:38 +0200 Igor Mammedov wrote: > On Thu, 22 Sep 2016 21:57:39 +0200 > Radim Kr=C4=8Dm=C3=A1=C5=99 wrote: >=20 > > 2016-09-22 16:36+0200, Paolo Bonzini: =20 > > > On 22/09/2016 14:50, Igor Mammedov wrote: =20 > > >> +#ifdef KVM_CAP_X2APIC_API > > >> + if (kvm_check_extension(s, KVM_CAP_X2APIC_API)) { > > >> + has_x2apic_ids =3D !kvm_vm_enable_cap(s, KVM_CAP_X2APIC_API= , 0, > > >> + KVM_X2APIC_API_USE_32BI= T_IDS); > > >> + } > > >> +#endif > > >> + =20 > > >=20 > > > Radim, whose patches are going to set > > > KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK? =20 > >=20 > > I added kvm_enable_x2apic() helper for intel_iommu that enables both, > > because we really want to make sure that both are enabled before > > allowing EIM. (And then I didn't post those patches ... ameding that > > after a rebase and a quick retest.) =20 I'll rebase these series on top of your EIM fixes