From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu6RZ-0007R5-Pd for qemu-devel@nongnu.org; Wed, 04 Nov 2015 17:22:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zu6RV-00053x-MI for qemu-devel@nongnu.org; Wed, 04 Nov 2015 17:22:13 -0500 Received: from g1t6216.austin.hp.com ([15.73.96.123]:54737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zu6RV-000524-FK for qemu-devel@nongnu.org; Wed, 04 Nov 2015 17:22:09 -0500 From: liang yan Message-ID: <563A8509.4010102@hpe.com> Date: Wed, 4 Nov 2015 15:22:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Could not add PCI device with big memory to aarch64 VMs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lersek@redhat.com Cc: "James, Andrew" , edk2-devel@lists.01.org, qemu-devel@nongnu.org Hello, Laszlo, (1)I am trying to add ivshmem device(PCI device with big memory) to my aarch64 vm. So far, I could find device information from vm. But it seems vm did not create correct resource file for this device. Do you have any idea that this happens? I used the upstream EDK2 to build my UEFI firmware. There are three BARs for this device, and memory map is assigned too, but only one resource file is created. My qemu supports ACPI 5.1 and the command line is : -device ivshmem,size=256M,chardev=ivshmem,msi=on,ioeventfd=on \ -chardev socket,path=/tmp/ivshmem_socket,id=ivshmem \ The lspci information: 00:00.0 Host bridge: Red Hat, Inc. Device 0008 Subsystem: Red Hat, Inc Device 1100 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- SubmitResources() - Success ASSERT /home/liang/studio/edk2/ArmVirtPkg/PciHostBridgeDxe/PciHostBridge.c(449): ((BOOLEAN)(0==1)) I am wandering if there are memory limitation for pcie devices under Qemu environment? Just thank you in advance and any information would be appreciated. Best, Liang