diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-03-13 12:59:43 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-06-08 19:33:20 +0200 |
commit | 092b21aa7edf7962248e731cddaf5350d268e333 (patch) | |
tree | 9ef8abe8902d51b13b7a217ccb910bbaa1e0d787 | |
parent | ee09f84e6bf5383a23c9624115c26b72aa1e076c (diff) | |
download | qemu-092b21aa7edf7962248e731cddaf5350d268e333.tar.gz qemu-092b21aa7edf7962248e731cddaf5350d268e333.tar.bz2 qemu-092b21aa7edf7962248e731cddaf5350d268e333.zip |
vl: Report failure to sandbox at most once
It's reported once per -sandbox on. Stop on the first failure, like
we do for other options.
Not fixed: "-sandbox on -sandbox off" should leave the sandbox off.
It doesn't.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3797,7 +3797,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); } |