qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Adding errno to QMP errors


From: Anthony Liguori
Subject: Re: [Qemu-devel] Adding errno to QMP errors
Date: Fri, 15 Jun 2012 12:48:31 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

On 06/15/2012 11:55 AM, Paolo Bonzini wrote:
Il 15/06/2012 18:52, Anthony Liguori ha scritto:
Having an error like:

{ 'error': 'OpenFileFailed', 'file': 'filename', 'mode': 'r/w',
'os_error': 'enospc' }

is actually pretty reasonable for something like a memory dump command
where the user specifies a file.

OTOH, for something complex like live snapshotting which many involve
opening multiple files, it may not be good enough.

So context is really everything here.

I agree, though I think this is the least of the problems in reporting
errors from complex commands such as transaction. :)

So I guess we can proceed with errno values, yuppy!

Yes, but I reserve the right to nack abuses :-)

Regards,

Anthony Liguori


Paolo





reply via email to

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