Re: [PATCH v2 12/15] virtio-net: Store failover primary opts pointer locally

2021-10-19 Thread Kevin Wolf
Am 19.10.2021 um 10:06 hat Laurent Vivier geschrieben: > On 08/10/2021 15:34, Kevin Wolf wrote: > > Instead of accessing the global QemuOptsList, which really belong to the > > command line parser and shouldn't be accessed from devices, store a > > pointer to the QemuOpts in a new VirtIONet field.

Re: [PATCH v2 12/15] virtio-net: Store failover primary opts pointer locally

2021-10-19 Thread Laurent Vivier
On 08/10/2021 15:34, Kevin Wolf wrote: Instead of accessing the global QemuOptsList, which really belong to the command line parser and shouldn't be accessed from devices, store a pointer to the QemuOpts in a new VirtIONet field. This is not the final state, but just an intermediate step to get

[PATCH v2 12/15] virtio-net: Store failover primary opts pointer locally

2021-10-08 Thread Kevin Wolf
Instead of accessing the global QemuOptsList, which really belong to the command line parser and shouldn't be accessed from devices, store a pointer to the QemuOpts in a new VirtIONet field. This is not the final state, but just an intermediate step to get rid of QemuOpts in devices. It will