Statistics
| Branch: | Revision:

root / qerror.h @ b152aa84

History | View | Annotate | Download (5.2 kB)

# Date Author Comment
8b7968f7 10/03/2010 09:34 am Stefan Weil

Use GCC_FMT_ATTR (format checking)

Signed-off-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

e5924d89 10/03/2010 09:34 am Stefan Weil

Replace most gcc format attributes by macro GCC_FMT_ATTR (format checking)

Since version 4.4.x, gcc supports additional format attributes.
attribute ((format (gnu_printf, 1, 2)))
should be used instead of
attribute ((format (printf, 1, 2))...

8e84865e 07/31/2010 12:14 am Amit Shah

migration: Accept 'cont' only after successful incoming migration

When a 'cont' is issued on a VM that's just waiting for an incoming
migration, the VM reboots and boots into the guest, possibly corrupting
its storage since it could be shared with another VM running elsewhere....

60d76d7b 07/01/2010 08:27 pm Luiz Capitulino

QError: Introduce QERR_QMP_EXTRA_MEMBER

Signed-off-by: Luiz Capitulino <>

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 <>

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 <>

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

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...

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 <>

bd9d3064 12/12/2009 03:59 pm Markus Armbruster

Fix recently added QERR_ definitions

Commits c7c338c4, 41471a23, 7a046f5f and a488be27 used
lower_case_with_underscores for class values. Existing usage
CamelCase. ChangeToThatForConsistency.

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 <>

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 <>