m1n1.proxy: increase p.call max args to 5 to match proxy.c

Commit 6a1a9bfc3c raised the limit in proxy.c but not in the Python code.

Signed-off-by: Zhuowei Zhang <zhuoweizhang@yahoo.com>
This commit is contained in:
Zhuowei Zhang 2022-09-04 02:41:23 -04:00 committed by Hector Martin
parent 81acfe96d8
commit 5836db9305

View file

@ -678,7 +678,7 @@ class M1N1Proxy(Reloadable):
def exit(self, retval=0):
self.request(self.P_EXIT, retval)
def call(self, addr, *args, reboot=False):
if len(args) > 4:
if len(args) > 5:
raise ValueError("Too many arguments")
return self.request(self.P_CALL, addr, *args, reboot=reboot)
def reload(self, addr, *args, el1=False):