Re: [PATCH 1/5] qemuDomainChrInsertPreAlloced: Fix adding implicit console

2023-04-18 Thread Ján Tomko
On a Wednesday in 2023, Michal Privoznik wrote: When hotpluging a device, we might need to add a device with it (because of some crazy backcompat). Now, hotplugging is done in several phases. In one of them, qemuDomainChrPreInsert() allocates space for both devices, and then

[PATCH 1/5] qemuDomainChrInsertPreAlloced: Fix adding implicit console

2023-04-12 Thread Michal Privoznik
When hotpluging a device, we might need to add a device with it (because of some crazy backcompat). Now, hotplugging is done in several phases. In one of them, qemuDomainChrPreInsert() allocates space for both devices, and then qemuDomainChrInsertPreAlloced() actually inserts the device into