From: bambooza@gmail.com
To: qemu-devel@nongnu.org
Subject: Add new qmp json is not setting command errp
Date: Mon, 13 Nov 2023 16:11:15 -0800 [thread overview]
Message-ID: <CAJPDN+CaOmAf6Qis4oSLP9vkqCVpYWsqoR6CyT6VspXKNbT5aA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 584 bytes --]
I am attempting to add a new json file for qmp. My issue is that errp is
null so when I call error_setg qemu crashes.
Specifically
QEMU: F0000 00:00:1699907518.054094 2802908 logging.cc:57] assert.h
assertion failed at qemu/util/error.c:59 in void error_setv(Error **, const
char *, int, const char *, ErrorClass, const char *, struct __va_list_tag
*, const char *): *errp == NULL
I am not sure what I'm missing. The generated files for command, event,
types, visit and view are created.
The function gets called and the passed in value is correctly populated
just errp is null.
[-- Attachment #2: Type: text/html, Size: 920 bytes --]
reply other threads:[~2023-11-14 0:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJPDN+CaOmAf6Qis4oSLP9vkqCVpYWsqoR6CyT6VspXKNbT5aA@mail.gmail.com \
--to=bambooza@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).