From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: Re: the number of PCI pass-through devices limit? Date: Mon, 26 Jan 2015 08:13:20 -0700 Message-ID: <1422285200.4048.36.camel@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Xuekun Hu Return-path: Received: from mx1.redhat.com ([209.132.183.28]:33496 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754054AbbAZPNW (ORCPT ); Mon, 26 Jan 2015 10:13:22 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 2015-01-26 at 16:46 +0800, Xuekun Hu wrote: > Hi, All > > Is there a limit for number of PCI pass-through devices in KVM? For > Legacy PCI device assignement or VFIO pass-through method? There's no enforced limit, but the usable limit is related to the number of KVM memory slots available. Each PCI BAR uses a memory slot (sometimes two). If memory slots are exhausted, the the VM aborts. Thanks, Alex