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