From: Paolo Bonzini <pbonzini@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
Luiz Capitulino <lcapitulino@redhat.com>,
qemu-devel@nongnu.org, anthony@codemonkey.ws,
Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] Plan for error handling in QMP
Date: Fri, 27 Jul 2012 09:08:41 +0200 [thread overview]
Message-ID: <50123E79.2070106@redhat.com> (raw)
In-Reply-To: <5011AB96.7070405@redhat.com>
Il 26/07/2012 22:41, Eric Blake ha scritto:
>> > 5. The following errors are used by libvirt:
>> > - CommandNotFound: QMP parsing
>> > - DeviceNotActive/KVMMissingCap: ballooning
>> > - DeviceNotFound: drive_del
>> > - MigrationExpected: cont
> DeviceInUse, NotSupported: block-stream
>
> Search for qemuMonitorJSONHasError in src/qemu/qemu_monitor_json.c
>
These are only used for better error messages. We can tolerate a brief
reduction in error message quality for now, in the meanwhile libvirt can
prepare to use the free-form messages for QEMU. Having free-form error
messages will also help with internationalization.
Paolo
next prev parent reply other threads:[~2012-07-27 7:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-26 18:22 [Qemu-devel] Plan for error handling in QMP anthony
2012-07-26 18:43 ` Luiz Capitulino
2012-07-26 18:47 ` Luiz Capitulino
2012-07-26 21:08 ` Anthony Liguori
2012-07-26 21:14 ` Luiz Capitulino
2012-07-26 22:47 ` Anthony Liguori
2012-07-27 14:24 ` Luiz Capitulino
2012-07-26 20:41 ` Eric Blake
2012-07-27 7:08 ` Paolo Bonzini [this message]
2012-07-26 21:16 ` Richard W.M. Jones
2012-07-27 7:08 ` Markus Armbruster
2012-07-27 7:11 ` Paolo Bonzini
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=50123E79.2070106@redhat.com \
--to=pbonzini@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=armbru@redhat.com \
--cc=eblake@redhat.com \
--cc=kwolf@redhat.com \
--cc=lcapitulino@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.