Message ID | 1432815695-31687-2-git-send-email-armbru@redhat.com |
---|---|
State | New |
Headers | show |
On 05/28/2015 06:21 AM, Markus Armbruster wrote: > It's reported once per -sandbox on. Stop on the first failure, like > we do for other options. > > Not fixed: "-sandox on -sandbox off" should leave the sandbox off. It s/sandox/sandbox/ > doesn't. > > Signed-off-by: Markus Armbruster <armbru@redhat.com> > --- > vl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Eric Blake <eblake@redhat.com>
diff --git a/vl.c b/vl.c index 15bccc4..07a890f 100644 --- a/vl.c +++ b/vl.c @@ -3786,7 +3786,7 @@ int main(int argc, char **argv, char **envp) exit(1); } - if (qemu_opts_foreach(qemu_find_opts("sandbox"), parse_sandbox, NULL, 0)) { + if (qemu_opts_foreach(qemu_find_opts("sandbox"), parse_sandbox, NULL, 1)) { exit(1); }
It's reported once per -sandbox on. Stop on the first failure, like we do for other options. Not fixed: "-sandox on -sandbox off" should leave the sandbox off. It doesn't. Signed-off-by: Markus Armbruster <armbru@redhat.com> --- vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)