[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [XEN PATCH] mismatch between pyxc_methods flags and PyObject definitions

On Tue, Mar 17, 2020 at 11:01:43PM +0000, YOUNG, MICHAEL A. wrote:
> pygrub in xen-4.13.0 with python 3.8.2 fails with the error
> Traceback (most recent call last):
>   File "/usr/libexec/xen/bin/pygrub", line 21, in <module>
>     import xen.lowlevel.xc
> SystemError: bad call flags
> This patch fixes mismatches in tools/python/xen/lowlevel/xc/xc.c
> between the flag bits defined in pyxc_methods and the parameters passed
> to the corresponding PyObject definitions.
> With this patch applied pygrub works as expected.
> Signed-off-by: Michael Young <m.a.young@xxxxxxxxxxxx>

I briefly checked Python's documentation. This patch looks correctly to
me. FWIW:

Reviewed-by: Wei Liu <wl@xxxxxxx>

I will wait for Marek's opinion.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.