Statistics
| Branch: | Revision:

root / qerror.c @ c3d420ea

History | View | Annotate | Download (11.2 kB)

# Date Author Comment
41836a9f 05/19/2010 06:45 pm Luiz Capitulino

Fix qtypes' licenses

- Change from GPL to LGPL
- Add license text when missing
- Minor cosmetic changes to make all headers look the same

Signed-off-by: Luiz Capitulino <>

abaf2f52 04/26/2010 05:17 pm Luiz Capitulino

QError: Improve QERR_QMP_BAD_INPUT_OBJECT desc

Signed-off-by: Luiz Capitulino <>

7dfb6123 04/26/2010 05:17 pm Luiz Capitulino

QError: New QERR_QMP_BAD_INPUT_OBJECT_MEMBER

Signed-off-by: Luiz Capitulino <>

5124eb59 04/19/2010 12:46 am Markus Armbruster

error: New QERR_DEVICE_IN_USE

Signed-off-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

9d494c4b 04/19/2010 12:46 am Markus Armbruster

error: Put error definitions back in alphabetical order

Add suitable comments to help keerp them in order.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

7bc84017 04/19/2010 12:46 am Markus Armbruster

error: New QERR_DUPLICATE_ID

Signed-off-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

985a3e52 04/19/2010 12:46 am Markus Armbruster

error: New QERR_INVALID_PARAMETER_VALUE

Signed-off-by: Markus Armbruster <>
Signed-off-by: Luiz Capitulino <>

0167f772 03/27/2010 03:30 pm Markus Armbruster

error: Move qerror_report() from qemu-error.[ch] to qerror.[ch]

Signed-off-by: Markus Armbruster <>
Signed-off-by: Aurelien Jarno <>

c8bfe7db 03/27/2010 03:30 pm Markus Armbruster

error: Trim includes in qerror.c

Signed-off-by: Markus Armbruster <>
Signed-off-by: Aurelien Jarno <>

25b28f01 03/17/2010 05:41 pm Shahar Havivi

QError: New QERR_DEVICE_NOT_ENCRYPTED

Signed-off-by: Shahar Havivi <>
Signed-off-by: Anthony Liguori <>

7bbd8237 03/16/2010 06:45 pm Markus Armbruster

error: New QERR_BUS_NOT_FOUND

1ae78718 03/16/2010 06:45 pm Markus Armbruster

error: New QERR_DEVICE_MULTIPLE_BUSSES

07574baf 03/16/2010 06:45 pm Markus Armbruster

error: New QERR_DEVICE_NO_BUS

56e9f563 03/16/2010 06:45 pm Markus Armbruster

error: New QERR_BAD_BUS_FOR_DEVICE

8eae73b5 03/16/2010 06:45 pm Markus Armbruster

error: New QERR_BUS_NO_HOTPLUG

4d9a1a15 03/16/2010 06:45 pm Markus Armbruster

error: New QERR_DEVICE_INIT_FAILED

fab5767f 03/16/2010 06:45 pm Markus Armbruster

error: New QERR_NO_BUS_FOR_DEVICE

9c5eff95 03/16/2010 06:45 pm Markus Armbruster

error: New QERR_PROPERTY_VALUE_IN_USE

84745d68 03/16/2010 06:45 pm Markus Armbruster

error: New QERR_PROPERTY_VALUE_NOT_FOUND

fc5469d8 03/16/2010 06:01 pm Markus Armbruster

error: Polish human-readable error descriptions

Also put error definitions in alphabetical order

c58a35f8 03/16/2010 06:01 pm Markus Armbruster

error: New QERR_PROPERTY_NOT_FOUND

06b4a703 03/16/2010 06:01 pm Markus Armbruster

error: New QERR_PROPERTY_VALUE_BAD

1ecda02b 03/16/2010 05:58 pm Markus Armbruster

error: Replace qemu_error() by error_report()

error_report() terminates the message with a newline. Strip it it
from its arguments.

This fixes a few error messages lacking a newline:
net_handle_fd_param()'s "No file descriptor named %s found", and
tap_open()'s "vnet_hdr=1 requested, but no kernel support for...

827b0813 03/16/2010 05:58 pm Markus Armbruster

error: Infrastructure to track locations for error reporting

New struct Location holds a location. So far, the only location is
LOC_NONE, so this doesn't do anything useful yet.

Passing the current location all over the place would be too
cumbersome. Hide it away in static cur_loc instead, and provide...

2f792016 03/16/2010 05:55 pm Markus Armbruster

error: Move qemu_error & friends into their own header

f34e5688 02/03/2010 08:39 pm Markus Armbruster

Revert "QError: New QERR_INVALID_CPU_INDEX"

This reverts commit 64a34bb14c0e358a6b2f14805e59ef25bf62d6d5.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

64a34bb1 01/26/2010 10:55 pm Markus Armbruster

QError: New QERR_INVALID_CPU_INDEX

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

3da2c808 01/26/2010 10:55 pm Markus Armbruster

QError: New QERR_OPEN_FILE_FAILED

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

41471a23 12/08/2009 12:34 am Markus Armbruster

QError: New QERR_FD_NOT_SUPPLIED

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

7a046f5f 12/08/2009 12:34 am Markus Armbruster

New QERR_INVALID_PARAMETER

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

a488be27 12/08/2009 12:34 am Markus Armbruster

QError: New QERR_TOO_MANY_FILES

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

77e595e7 12/08/2009 12:34 am Markus Armbruster

QMP: add human-readable description to error response

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

a6906e31 12/08/2009 12:34 am Markus Armbruster

QError: New QERR_VNC_SERVER_FAILED

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

c7c338c4 12/08/2009 12:34 am Markus Armbruster

QError: New QERR_FD_NOT_FOUND

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

5cfe0264 12/08/2009 12:34 am Markus Armbruster

QError: New QERR_DEVICE_NOT_REMOVABLE

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

17901e75 12/08/2009 12:34 am Markus Armbruster

QError: New QERR_INVALID_BLOCK_FORMAT

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

7a84cb23 12/08/2009 12:34 am Markus Armbruster

QError: New QERR_SET_PASSWD_FAILED

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

e16a1812 12/08/2009 12:34 am Markus Armbruster

QError: Put error definitions in alphabetical order

Also fix the odd typoe and clean up whitespace.

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

b0868380 12/08/2009 12:34 am Markus Armbruster

QError: New QERR_DEVICE_LOCKED

Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

0df37c41 12/08/2009 12:34 am Luiz Capitulino

QError: new class for device encrypted errors

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Markus Armbruster <>
Signed-off-by: Anthony Liguori <>

f6d855c5 12/07/2009 10:04 pm Luiz Capitulino

QError: Add class for invalid passwords

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

d05ac8fa 12/04/2009 10:44 pm Blue Swirl

Add "static" to please Sparse

Signed-off-by: Blue Swirl <>

4b9d4683 12/03/2009 05:41 pm Luiz Capitulino

QError: Add errors needed by QMP

Only QERR_QMP_BAD_INPUT_OBJECT is QMP specific, the others can
be used in different contexts by other subsystems.

Please, note that QERR_JSON_PARSING signals any parsing error
from the json parser. We will need it until the parser gets...

055f6122 12/03/2009 05:41 pm Luiz Capitulino

QError: Add QERR_DEVICE_NOT_ACTIVE

New class for device not active errors.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

82a60711 12/03/2009 05:41 pm Luiz Capitulino

QError: Add QERR_KVM_MISSING_CAP

New class for KVM unavailable features errors.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

9f9daf9a 12/03/2009 05:41 pm Luiz Capitulino

Introduce QError

QError is a high-level data type which represents an exception
in QEMU, it stores the following error information:

- class Error class name (eg. "ServiceUnavailable")
- description A detailed error description, which can contain...

357b6156 12/03/2009 05:41 pm Luiz Capitulino

QError: Add QERR_DEVICE_NOT_FOUND

New class for device not found errors.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>