Re: [PATCH] util: Remove '\n' from vhostuser ifname

2021-02-05 Thread Michal Privoznik
On 2/5/21 4:10 AM, Yalei Li wrote: When deleting the vhostuserclient interface, OVS prompts that the interface does not exist, Through the XML file, I found that the "target dev" has a '\n', results in an XML parsing error. XML file: That is because 'ovs-vsctl' returns a newline result,

[PATCH] util: Remove '\n' from vhostuser ifname

2021-02-04 Thread Yalei Li
When deleting the vhostuserclient interface, OVS prompts that the interface does not exist, Through the XML file, I found that the "target dev" has a '\n', results in an XML parsing error. XML file: That is because 'ovs-vsctl' returns a newline result, always come with a '\n', and the