Re: [PATCH 08/10] remote_driver: Move URI re-generation into a function

2023-02-07 Thread Peter Krempa
On Mon, Feb 06, 2023 at 10:16:56 +0100, Michal Privoznik wrote: > When handling virConnectOpen(), we parse given URI, specifically > all those parameters we know, like ?mode, ?socket, ?name, etc. > ignoring those we don't recognize yet. Then, we reconstruct the > URI back, but ignoring all

[PATCH 08/10] remote_driver: Move URI re-generation into a function

2023-02-06 Thread Michal Privoznik
When handling virConnectOpen(), we parse given URI, specifically all those parameters we know, like ?mode, ?socket, ?name, etc. ignoring those we don't recognize yet. Then, we reconstruct the URI back, but ignoring all parameters we've parsed. In other words: qemu:///system?mode=legacy=bar