qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Plan for error handling in QMP


From: Paolo Bonzini
Subject: Re: [Qemu-devel] Plan for error handling in QMP
Date: Fri, 27 Jul 2012 09:08:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]