From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 078B441DA5; Wed, 1 Mar 2023 06:56:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF2DB4114A; Wed, 1 Mar 2023 06:56:37 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id C7DF040A8A for ; Wed, 1 Mar 2023 06:56:36 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id BAC7341DA6; Wed, 1 Mar 2023 06:56:36 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1171] [dpdk-23.03]vhost-user+virtio-pmd with vIOMMU core dumped Date: Wed, 01 Mar 2023 05:56:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: vhost/virtio X-Bugzilla-Version: 22.03 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: weix.ling@intel.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: multipart/alternative; boundary=16776501960.FAAb9Bb0.1444636 Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --16776501960.FAAb9Bb0.1444636 Date: Wed, 1 Mar 2023 06:56:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All https://bugs.dpdk.org/show_bug.cgi?id=3D1171 Bug ID: 1171 Summary: [dpdk-23.03]vhost-user+virtio-pmd with vIOMMU core dumped Product: DPDK Version: 22.03 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: vhost/virtio Assignee: dev@dpdk.org Reporter: weix.ling@intel.com Target Milestone: --- [Environment] DPDK version: Use make showversion or for a non-released version: git remot= e -v && git show-ref --heads 23.03.0-rc0 Other software versions: QEMU-6.2.0 OS: Ubuntu 22.04.1 LTS/Linux 5.15.45-051545-generic Compiler: gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04) Hardware platform: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz NIC hardware: Intel Ethernet Controller E810-C for QSFP 159 NIC Driver/firmware: ice-1.11.14_dirty/4.20 0x80017785 1.3346.0 [Test Setup] Steps to reproduce List the steps to reproduce the issue. 1. Start vhost-user with iommu: ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 9-10 -a 0000:4b:00.0 --file-prefix=3Ddpdk_vhost --vdev 'net_vhost,iface=3D./vhost-net,queues=3D1,iommu-support=3D1' --iova=3Dva = =E2=80=93 -i --nb-cores=3D1 --txq=3D1 --rxq=3D1 2. Start QEMU as virtio-user: /home/QEMU/qemu-6.2.0/bin/qemu-system-x86_64 -M q35,accel=3Dkvm,kernel-irqchip=3Dsplit -m 2G \ -device intel-iommu,intremap=3Don,device-iotlb=3Don \ -device ioh3420,id=3Dpcie.1,chassis=3D1 \ -device virtio-net-pci,bus=3Dpcie.1,netdev=3Dnet0,disable-legacy=3Don,disable-moder= n=3Doff,iommu_platform=3Don,ats=3Don \ -chardev socket,id=3Dchar0,path=3D./vhost-net \ -netdev type=3Dvhost-user,id=3Dnet0,chardev=3Dchar0,vhostforce \ --monitor stdio -monitor unix:/tmp/vm0_monitor.sock,server,nowait \ device e1000,netdev=3Dnttsip1 -netdev user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002:22 \ -cpu host -m 4096 -object memory-backend-file,id=3Dmem,size=3D4096M,mem-path=3D/mnt/huge,share=3Don \ -numa node,memdev=3Dmem -mem-prealloc -smp cores=3D10,sockets=3D1 \ -drive file=3D/home/image/ubuntu2004.img -vnc :10 3. View the vhost-user side output info: Show the output from the previous commands. root@dut245:~/dpdk# ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 9= -10 -a 0000:4b:00.0 --file-prefix=3Ddpdk_vhost --vdev 'net_vhost,iface=3D./vhost-net,queues=3D1,iommu-support=3D1' --iova=3Dva = =E2=80=93 -i --nb-cores=3D1 --txq=3D1 --rxq=3D1 EAL: Detected CPU lcores: 128 EAL: Detected NUMA nodes: 2 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/dpdk_vhost/mp_socket EAL: Selected IOVA mode 'VA' EAL: 4096 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: VFIO support initialized EAL: Using IOMMU type 1 (Type 1) EAL: Ignore mapping IO port bar(1) EAL: Ignore mapping IO port bar(4) EAL: Probe PCI driver: net_ice (8086:1592) device: 0000:4b:00.0 (socket 0) ice_load_pkg_type(): Active package is: 1.3.30.0, ICE OS Default Package (double VLAN mode) Interactive-mode selected testpmd: create a new mbuf pool : n=3D155456, size=3D2176, socke= t=3D0 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 0) ice_set_rx_function(): Using AVX2 Vector Rx (port 0). Port 0: 40:A6:B7:96:E4:00 Configuring Port 1 (socket 0) VHOST_CONFIG: (./vhost-net) vhost-user server: socket created, fd: 29 VHOST_CONFIG: (./vhost-net) binding succeeded Port 1: 56:48:4F:53:54:01 Checking link statuses... Done testpmd> Port 0: link state change event testpmd> VHOST_CONFIG: (./vhost-net) new vhost user connection is 32 VHOST_CONFIG: (./vhost-net) new device, handle is 0 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_FEATURES VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_PROTOCOL_FEATURES VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_PROTOCOL_FEATURES VHOST_CONFIG: (./vhost-net) negotiated Vhost-user protocol features: 0x10cbf VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_QUEUE_NUM VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_SLAVE_REQ_FD VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_OWNER VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_FEATURES VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_CALL VHOST_CONFIG: (./vhost-net) vring call idx:0 file:34 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ERR VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_CALL VHOST_CONFIG: (./vhost-net) vring call idx:1 file:35 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ERR VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 0 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 1 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 0 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 1 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 0 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 1 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_FEATURES VHOST_CONFIG: (./vhost-net) negotiated Virtio features: 0x37020e783 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_STATUS VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_STATUS VHOST_CONFIG: (./vhost-net) new device status(0x00000008): VHOST_CONFIG: (./vhost-net) -RESET: 0 VHOST_CONFIG: (./vhost-net) -ACKNOWLEDGE: 0 VHOST_CONFIG: (./vhost-net) -DRIVER: 0 VHOST_CONFIG: (./vhost-net) -FEATURES_OK: 1 VHOST_CONFIG: (./vhost-net) -DRIVER_OK: 0 VHOST_CONFIG: (./vhost-net) -DEVICE_NEED_RESET: 0 VHOST_CONFIG: (./vhost-net) -FAILED: 0 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_MEM_TABLE VHOST_CONFIG: (./vhost-net) guest memory region size: 0xa0000 VHOST_CONFIG: (./vhost-net) guest physical addr: 0x0 VHOST_CONFIG: (./vhost-net) guest virtual addr: 0x7f6bdffff000 VHOST_CONFIG: (./vhost-net) host virtual addr: 0x7f6378c29000 VHOST_CONFIG: (./vhost-net) mmap addr : 0x7f6378c29000 VHOST_CONFIG: (./vhost-net) mmap size : 0xa0000 VHOST_CONFIG: (./vhost-net) mmap align: 0x1000 VHOST_CONFIG: (./vhost-net) mmap off : 0x0 VHOST_CONFIG: (./vhost-net) guest memory region size: 0x7ff40000 VHOST_CONFIG: (./vhost-net) guest physical addr: 0xc0000 VHOST_CONFIG: (./vhost-net) guest virtual addr: 0x7f6be00bf000 VHOST_CONFIG: (./vhost-net) host virtual addr: 0x7f62f40c0000 VHOST_CONFIG: (./vhost-net) mmap addr : 0x7f62f4000000 VHOST_CONFIG: (./vhost-net) mmap size : 0x80000000 VHOST_CONFIG: (./vhost-net) mmap align: 0x1000 VHOST_CONFIG: (./vhost-net) mmap off : 0xc0000 VHOST_CONFIG: (./vhost-net) guest memory region size: 0x80000000 VHOST_CONFIG: (./vhost-net) guest physical addr: 0x100000000 VHOST_CONFIG: (./vhost-net) guest virtual addr: 0x7f6c5ffff000 VHOST_CONFIG: (./vhost-net) host virtual addr: 0x7f6274000000 VHOST_CONFIG: (./vhost-net) mmap addr : 0x7f61f4000000 VHOST_CONFIG: (./vhost-net) mmap size : 0x100000000 VHOST_CONFIG: (./vhost-net) mmap align: 0x1000 VHOST_CONFIG: (./vhost-net) mmap off : 0x80000000 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_NUM VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_BASE VHOST_CONFIG: (./vhost-net) vring base idx:0 last_used_idx:0 last_avail_idx= :0. VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ADDR VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_KICK VHOST_CONFIG: (./vhost-net) vring kick idx:0 file:39 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_CALL VHOST_CONFIG: (./vhost-net) vring call idx:0 file:40 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_NUM VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_BASE VHOST_CONFIG: (./vhost-net) vring base idx:1 last_used_idx:0 last_avail_idx= :0. VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ADDR VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_KICK VHOST_CONFIG: (./vhost-net) vring kick idx:1 file:34 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_CALL VHOST_CONFIG: (./vhost-net) vring call idx:1 file:41 VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_STATUS Segmentation fault (core dumped) [Expected Result] No print core dumped. Regression Is this issue a regression: (Y/N) N Version the regression was introduced: Specify git id if known. The bad commit ID is: commit 338ad77c9ed342fba856e8af3371bd96a58a20dc Author: Mike Pattrick Date: Wed Dec 7 11:54:08 2022 -0500 vhost: exclude VM hugepages from coredumps Currently if an application wants to include shared hugepages in coredumps in conjunction with the vhost library, the coredump will be larger than expected and include unneeded virtual machine memory. This patch will mark all vhost huge pages as DONTDUMP, except for some select pages used by DPDK. Signed-off-by: Mike Pattrick Reviewed-by: Maxime Coquelin --=20 You are receiving this mail because: You are the assignee for the bug.= --16776501960.FAAb9Bb0.1444636 Date: Wed, 1 Mar 2023 06:56:36 +0100 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All
Bug ID 1171
Summary [dpdk-23.03]vhost-user+virtio-pmd with vIOMMU core dumped
Product DPDK
Version 22.03
Hardware All
OS All
Status UNCONFIRMED
Severity normal
Priority Normal
Component vhost/virtio
Assignee dev@dpdk.org
Reporter weix.ling@intel.com
Target Milestone ---

[Environment]

DPDK version: Use make showversion or for a non-released version: git remot=
e -v
&& git show-ref --heads
 23.03.0-rc0
Other software versions: QEMU-6.2.0
OS: Ubuntu 22.04.1 LTS/Linux 5.15.45-051545-generic
Compiler: gcc version 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04)
Hardware platform: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz
NIC hardware: Intel Ethernet Controller E810-C for QSFP 159
NIC Driver/firmware: ice-1.11.14_dirty/4.20 0x80017785 1.3346.0

[Test Setup]

Steps to reproduce

List the steps to reproduce the issue.

1. Start vhost-user with iommu:

./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 -l 9-10 -a 0000:4b:00.0
--file-prefix=3Ddpdk_vhost --vdev
'net_vhost,iface=3D./vhost-net,queues=3D1,iommu-support=3D1' --iova=3Dva =
=E2=80=93 -i
--nb-cores=3D1 --txq=3D1 --rxq=3D1

2. Start QEMU as virtio-user:

/home/QEMU/qemu-6.2.0/bin/qemu-system-x86_64 -M
q35,accel=3Dkvm,kernel-irqchip=3Dsplit -m 2G \
-device intel-iommu,intremap=3Don,device-iotlb=3Don \
-device ioh3420,id=3Dpcie.1,chassis=3D1 \
-device
virtio-net-pci,bus=3Dpcie.1,netdev=3Dnet0,disable-legacy=3Don,disable-moder=
n=3Doff,iommu_platform=3Don,ats=3Don
\
-chardev socket,id=3Dchar0,path=3D./vhost-net \
-netdev type=3Dvhost-user,id=3Dnet0,chardev=3Dchar0,vhostforce \
--monitor stdio -monitor unix:/tmp/vm0_monitor.sock,server,nowait \
device e1000,netdev=3Dnttsip1 -netdev
user,id=3Dnttsip1,hostfwd=3Dtcp:127.0.0.1:6002:22 \
-cpu host -m 4096 -object
memory-backend-file,id=3Dmem,size=3D4096M,mem-path=3D/mnt/huge,share=3Don \
-numa node,memdev=3Dmem -mem-prealloc -smp cores=3D10,sockets=3D1 \
-drive file=3D/home/image/ubuntu2004.img -vnc :10

3. View the vhost-user side output info:

Show the output from the previous commands.
root@dut245:~/dpdk# ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -n 4 =
-l 9-10
-a 0000:4b:00.0 --file-prefix=3Ddpdk_vhost --vdev
'net_vhost,iface=3D./vhost-net,queues=3D1,iommu-support=3D1' --iova=3Dva =
=E2=80=93 -i
--nb-cores=3D1 --txq=3D1 --rxq=3D1
EAL: Detected CPU lcores: 128
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_vhost/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: 4096 hugepages of size 2097152 reserved, but no mounted hugetlbfs found
for that size
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Ignore mapping IO port bar(1)
EAL: Ignore mapping IO port bar(4)
EAL: Probe PCI driver: net_ice (8086:1592) device: 0000:4b:00.0 (socket 0)
ice_load_pkg_type(): Active package is: 1.3.30.0, ICE OS Default Package
(double VLAN mode)
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=3D155456, size=3D2176,=
 socket=3D0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
ice_set_rx_function(): Using AVX2 Vector Rx (port 0).
Port 0: 40:A6:B7:96:E4:00
Configuring Port 1 (socket 0)
VHOST_CONFIG: (./vhost-net) vhost-user server: socket created, fd: 29
VHOST_CONFIG: (./vhost-net) binding succeeded
Port 1: 56:48:4F:53:54:01
Checking link statuses...
Done
testpmd>
Port 0: link state change event

testpmd> VHOST_CONFIG: (./vhost-net) new vhost user connection is 32
VHOST_CONFIG: (./vhost-net) new device, handle is 0
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_FEATURES
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_PROTOCOL_FEATURES
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_PROTOCOL_FEATURES
VHOST_CONFIG: (./vhost-net) negotiated Vhost-user protocol features: 0x10cbf
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_QUEUE_NUM
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_SLAVE_REQ_FD
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_OWNER
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_FEATURES
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_CALL
VHOST_CONFIG: (./vhost-net) vring call idx:0 file:34
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ERR
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_CALL
VHOST_CONFIG: (./vhost-net) vring call idx:1 file:35
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ERR
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE
VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 0
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE
VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 1
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE
VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 0
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE
VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 1
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE
VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 0
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ENABLE
VHOST_CONFIG: (./vhost-net) set queue enable: 1 to qp idx: 1
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_FEATURES
VHOST_CONFIG: (./vhost-net) negotiated Virtio features: 0x37020e783
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_STATUS
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_STATUS
VHOST_CONFIG: (./vhost-net) new device status(0x00000008):
VHOST_CONFIG: (./vhost-net) -RESET: 0
VHOST_CONFIG: (./vhost-net) -ACKNOWLEDGE: 0
VHOST_CONFIG: (./vhost-net) -DRIVER: 0
VHOST_CONFIG: (./vhost-net) -FEATURES_OK: 1
VHOST_CONFIG: (./vhost-net) -DRIVER_OK: 0
VHOST_CONFIG: (./vhost-net) -DEVICE_NEED_RESET: 0
VHOST_CONFIG: (./vhost-net) -FAILED: 0
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_MEM_TABLE
VHOST_CONFIG: (./vhost-net) guest memory region size: 0xa0000
VHOST_CONFIG: (./vhost-net) guest physical addr: 0x0
VHOST_CONFIG: (./vhost-net) guest virtual addr: 0x7f6bdffff000
VHOST_CONFIG: (./vhost-net) host virtual addr: 0x7f6378c29000
VHOST_CONFIG: (./vhost-net) mmap addr : 0x7f6378c29000
VHOST_CONFIG: (./vhost-net) mmap size : 0xa0000
VHOST_CONFIG: (./vhost-net) mmap align: 0x1000
VHOST_CONFIG: (./vhost-net) mmap off : 0x0
VHOST_CONFIG: (./vhost-net) guest memory region size: 0x7ff40000
VHOST_CONFIG: (./vhost-net) guest physical addr: 0xc0000
VHOST_CONFIG: (./vhost-net) guest virtual addr: 0x7f6be00bf000
VHOST_CONFIG: (./vhost-net) host virtual addr: 0x7f62f40c0000
VHOST_CONFIG: (./vhost-net) mmap addr : 0x7f62f4000000
VHOST_CONFIG: (./vhost-net) mmap size : 0x80000000
VHOST_CONFIG: (./vhost-net) mmap align: 0x1000
VHOST_CONFIG: (./vhost-net) mmap off : 0xc0000
VHOST_CONFIG: (./vhost-net) guest memory region size: 0x80000000
VHOST_CONFIG: (./vhost-net) guest physical addr: 0x100000000
VHOST_CONFIG: (./vhost-net) guest virtual addr: 0x7f6c5ffff000
VHOST_CONFIG: (./vhost-net) host virtual addr: 0x7f6274000000
VHOST_CONFIG: (./vhost-net) mmap addr : 0x7f61f4000000
VHOST_CONFIG: (./vhost-net) mmap size : 0x100000000
VHOST_CONFIG: (./vhost-net) mmap align: 0x1000
VHOST_CONFIG: (./vhost-net) mmap off : 0x80000000
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_NUM
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_BASE
VHOST_CONFIG: (./vhost-net) vring base idx:0 last_used_idx:0 last_avail_idx=
:0.
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ADDR
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_KICK
VHOST_CONFIG: (./vhost-net) vring kick idx:0 file:39
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_CALL
VHOST_CONFIG: (./vhost-net) vring call idx:0 file:40
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_NUM
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_BASE
VHOST_CONFIG: (./vhost-net) vring base idx:1 last_used_idx:0 last_avail_idx=
:0.
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_ADDR
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_KICK
VHOST_CONFIG: (./vhost-net) vring kick idx:1 file:34
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_SET_VRING_CALL
VHOST_CONFIG: (./vhost-net) vring call idx:1 file:41
VHOST_CONFIG: (./vhost-net) read message VHOST_USER_GET_STATUS
Segmentation fault (core dumped)

[Expected Result]

No print core dumped.

Regression

Is this issue a regression: (Y/N) N

Version the regression was introduced: Specify git id if known.

The bad commit ID is:
commit 338ad77c9ed342fba856e8af3371bd96a58a20dc
Author: Mike Pattrick <mkp@red=
hat.com>
Date: Wed Dec 7 11:54:08 2022 -0500

vhost: exclude VM hugepages from coredumps

Currently if an application wants to include shared hugepages in
coredumps in conjunction with the vhost library, the coredump will be
larger than expected and include unneeded virtual machine memory.

This patch will mark all vhost huge pages as DONTDUMP, except for some
select pages used by DPDK.

Signed-off-by: Mike Pattrick <mkp&=
#64;redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
          


You are receiving this mail because:
  • You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
= --16776501960.FAAb9Bb0.1444636--