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

Pavel Hrdina phrdina at redhat.com
Mon Apr 12 12:17:16 UTC 2021


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 at redhat.com>
> ---
>  tests/qemuxml2argvtest.c | 19 ++++++++++++++++---
>  1 file changed, 16 insertions(+), 3 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>

Can be pushed now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210412/e6e63a14/attachment-0001.sig>


More information about the libvir-list mailing list