[libvirt PATCH 6/9] cpu: Validate XML
Tim Wiederhake
twiederh at redhat.com
Wed Sep 30 11:54:41 UTC 2020
On Tue, 2020-09-29 at 11:12 +0200, Peter Krempa wrote:
> (...)
>
> > diff --git a/src/conf/cpu_conf.c b/src/conf/cpu_conf.c
> > index dea950ce68..40d8da4a8e 100644
> > --- a/src/conf/cpu_conf.c
> > +++ b/src/conf/cpu_conf.c
> > @@ -20,9 +20,11 @@
> >
> > #include <config.h>
> >
> > +#include "configmake.h"
>
> This is suspicious. Why did you add this line?
PKGDATADIR is defined there and used in the call to virFileFindResource
in virCPUDefParseXML to locate the schema.
Tim
More information about the libvir-list
mailing list