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 parses the arch and updates the caps cache
prior to the parse step.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tests/qemuxml2argvtest.c | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>
Can be pushed now.