[PATCH 1/2] virNetDevSaveNetConfig: Pass mode to virFileWriteStr()

2022-06-13 Thread Michal Privoznik
For some types of SRIOV interfaces we create a temporary file where the state of the interface is saved before we start modifying it. The file is used then to restore the original configuration when the interface is no longer associated with any guest. For writing the file virFileWriteStr() is used

Re: [PATCH 1/2] virNetDevSaveNetConfig: Pass mode to virFileWriteStr()

2022-06-13 Thread Peter Krempa
On Mon, Jun 13, 2022 at 15:18:13 +0200, Michal Privoznik wrote: > For some types of SRIOV interfaces we create a temporary file > where the state of the interface is saved before we start > modifying it. The file is used then to restore the original > configuration when the interface is no longer a

Re: [PATCH 1/2] virNetDevSaveNetConfig: Pass mode to virFileWriteStr()

2022-06-13 Thread Laine Stump
On 6/13/22 9:18 AM, Michal Privoznik wrote: For some types of SRIOV interfaces we create a temporary file where the state of the interface is saved before we start modifying it. The file is used then to restore the original configuration when the interface is no longer associated with any guest.