Message ID | 20160315153930-mutt-send-email-mst@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/vl.c b/vl.c index 7a28982..5654af6 100644 --- a/vl.c +++ b/vl.c @@ -2321,6 +2321,7 @@ static int parse_fw_cfg(void *opaque, QemuOpts *opts, Error **errp) if (strncmp(name, "opt/", 4) != 0) { error_report("warning: externally provided fw_cfg item names " "should be prefixed with \"opt/\""); + return -1; } if (nonempty_str(str)) { size = strlen(str); /* NUL terminator NOT included in fw_cfg blob */