From patchwork Tue May 5 03:41:55 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sheng Yang X-Patchwork-Id: 21810 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n453fc3F007951 for ; Tue, 5 May 2009 03:41:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751716AbZEEDld (ORCPT ); Mon, 4 May 2009 23:41:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751807AbZEEDld (ORCPT ); Mon, 4 May 2009 23:41:33 -0400 Received: from mga09.intel.com ([134.134.136.24]:19063 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751569AbZEEDlc (ORCPT ); Mon, 4 May 2009 23:41:32 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 04 May 2009 20:31:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.40,294,1239001200"; d="scan'208";a="409505045" Received: from syang10-desktop.sh.intel.com (HELO syang10-desktop) ([10.239.13.147]) by orsmga002.jf.intel.com with ESMTP; 04 May 2009 20:49:22 -0700 Received: from yasker by syang10-desktop with local (Exim 4.69) (envelope-from ) id 1M1BXX-0003mW-Pa; Tue, 05 May 2009 11:41:55 +0800 From: Sheng Yang To: Avi Kivity Cc: kvm@vger.kernel.org, Sheng Yang Subject: [PATCH] kvm: discard masking checking when initial MSI-X entries Date: Tue, 5 May 2009 11:41:55 +0800 Message-Id: <1241494915-14517-1-git-send-email-sheng@linux.intel.com> X-Mailer: git-send-email 1.6.0.4 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org This meant to be with commit: adcf3594f9580bdf9b5e71f271b6088b185e017e, otherwise QEmu only counts the MSI-X entries, but won't fill it... Signed-off-by: Sheng Yang --- hw/device-assignment.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/hw/device-assignment.c b/hw/device-assignment.c index 0a5f850..bee0bd8 100644 --- a/hw/device-assignment.c +++ b/hw/device-assignment.c @@ -858,8 +858,6 @@ static int assigned_dev_update_msix_mmio(PCIDevice *pci_dev) if (entries_nr >= msix_nr.entry_nr) break; memcpy(&msg_ctrl, va + i * 16 + 12, 4); - if (msg_ctrl & 0x1) - continue; memcpy(&msg_data, va + i * 16 + 8, 4); if (msg_data == 0) continue;