Re: [RFC PATCH 18/43] qemuxml2argvtest: Parse 'arch' from XML early

2021-04-12 Thread Pavel Hrdina
On Fri, Apr 09, 2021 at 04:56:54PM +0200, Peter Krempa wrote: > If we want to provide correct (fake) caps already for the XML parser we > need to be able to parse the arch early so that we can properly > initialize the caps cache prior to calling the XML parser. > > This patch adds code which pars

[RFC PATCH 18/43] qemuxml2argvtest: Parse 'arch' from XML early

2021-04-09 Thread Peter Krempa
If we want to provide correct (fake) caps already for the XML parser we need to be able to parse the arch early so that we can properly initialize the caps cache prior to calling the XML parser. This patch adds code which parses the arch and updates the caps cache prior to the parse step. Signed-