Hi Eli, The DPDK application in the VM should remove the slave device from the bond device, stop, close and detach the device in the VM before doing "virsh detach-device" from the host.
Regards, Bernard. > -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Eli Britstein > Sent: Sunday, July 17, 2016 9:58 AM > To: dev at dpdk.org > Subject: [dpdk-dev] SRIOV hot unplug > > Hello, > > A DPDK application with a DPDK bond device, with 2 slaves: one vnic, and > another is a SRIOV VF connected as a pathrough. > The bond device is configured as ACTIVE/BACKUP, and the primary is the VF > slave. > Now, I do "virsh detach-device" from the host, and the DPDK process in the > VM gets segmentation fault, as it tries to poll an address that is not mmaped > anymore. > I wonder if this flow is supposed to be supported by DPDK, or not. > Please advise. > > Thanks, > Eli > ---------------------------------------------------------------------------------------------- > --------------------------------------------------- > This email and any files transmitted and/or attachments with it are > confidential and proprietary information of Toga Networks Ltd., and > intended solely for the use of the individual or entity to whom they are > addressed. > If you have received this email in error please notify the system manager. > This message contains confidential information of Toga Networks Ltd., and is > intended only for the individual named. If you are not the named addressee > you should not disseminate, distribute or copy this e-mail. Please notify the > sender immediately by e-mail if you have received this e-mail by mistake and > delete this e-mail from your system. If you are not the intended recipient > you are notified that disclosing, copying, distributing or taking any action > in > reliance on the contents of this information is strictly prohibited. > ---------------------------------------------------------------------------------------------- > --------------------------------------------------