Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-15 Thread Alexander Sosedkin
On Tue, Dec 14, 2021 at 3:53 PM Michael S. Tsirkin wrote: > On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: > > On 10/12/2021 18.02, Alexander Sosedkin wrote: > > > With QEMU 5 I could totally issue a QMP netdev_add > > > with the same ID to adjust the NetdevUserOptions I want, > > >

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Michael S. Tsirkin
On Wed, Dec 15, 2021 at 08:03:50AM +0100, Thomas Huth wrote: > So if changing netdev parameters on the fly is something that we want, we > should implement this properly instead indeed, and not via such an > accidental bug. How to do it is a separate thing, users don't really care at all. --

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Michael S. Tsirkin
On Wed, Dec 15, 2021 at 08:03:50AM +0100, Thomas Huth wrote: > On 15/12/2021 04.31, Jason Wang wrote: > > On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: > > > > > > On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: > > > > Hi! > > > > > > > > On 10/12/2021 18.02,

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Michael S. Tsirkin
On Wed, Dec 15, 2021 at 07:48:06AM +0100, Markus Armbruster wrote: > Jason Wang writes: > > > On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: > >> > >> On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: > >> > Hi! > >> > > >> > On 10/12/2021 18.02, Alexander Sosedkin

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Thomas Huth
On 15/12/2021 04.31, Jason Wang wrote: On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: Hi! On 10/12/2021 18.02, Alexander Sosedkin wrote: With QEMU 5 I could totally issue a QMP netdev_add with the same ID to adjust

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Markus Armbruster
Jason Wang writes: > On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: >> >> On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: >> > Hi! >> > >> > On 10/12/2021 18.02, Alexander Sosedkin wrote: >> > > With QEMU 5 I could totally issue a QMP netdev_add >> > > with the same ID

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Jason Wang
On Tue, Dec 14, 2021 at 10:53 PM Michael S. Tsirkin wrote: > > On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: > > Hi! > > > > On 10/12/2021 18.02, Alexander Sosedkin wrote: > > > With QEMU 5 I could totally issue a QMP netdev_add > > > with the same ID to adjust the

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-14 Thread Michael S. Tsirkin
On Mon, Dec 13, 2021 at 09:02:15AM +0100, Thomas Huth wrote: > Hi! > > On 10/12/2021 18.02, Alexander Sosedkin wrote: > > With QEMU 5 I could totally issue a QMP netdev_add > > with the same ID to adjust the NetdevUserOptions I want, > > such as restrict or hostfwd. No deleting needed, > > just

Re: modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-13 Thread Thomas Huth
Hi! On 10/12/2021 18.02, Alexander Sosedkin wrote: With QEMU 5 I could totally issue a QMP netdev_add with the same ID to adjust the NetdevUserOptions I want, such as restrict or hostfwd. No deleting needed, just a netdev_add with what I want changed as a param. I'm a little bit surprised

modify NetdevUserOptions through QMP in QEMU 6 - how?

2021-12-10 Thread Alexander Sosedkin
With QEMU 5 I could totally issue a QMP netdev_add with the same ID to adjust the NetdevUserOptions I want, such as restrict or hostfwd. No deleting needed, just a netdev_add with what I want changed as a param. With QEMU 6 it started failing, claiming the ID is already used. And if I do