From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: tlb flush after each vm_exit, also virtual interrupts injection Date: Mon, 29 Aug 2016 18:39:56 +0200 Message-ID: References: <346384966.13112634.1470159219285.JavaMail.zimbra@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "Charls D. Chap" , kvm To: Wanpeng Li Return-path: Received: from mx1.redhat.com ([209.132.183.28]:60824 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751950AbcH2QkK (ORCPT ); Mon, 29 Aug 2016 12:40:10 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 29/08/2016 12:22, Wanpeng Li wrote: >>> >> patches which will update gsi routing after changed MSI-X >>> >> configuration(https://patchwork.kernel.org/patch/6827431/) >>> >> , so why set MSI routing entry again during send MSI? >> > >> > KVM_SIGNAL_MSI does not need a previous KVM_SET_GSI_ROUTING, but if >> > userspace wants it can use both. Note that you've linked a patch for >> > lkvm, not Linux or QEMU. > Do you mean that MSI/MSI-X don't necessary have a routing table? Generally it's not if you don't use irqfd. Paolo