diff options
| author | Luiz Capitulino | 2013-06-10 17:29:27 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2013-06-17 17:01:14 +0200 |
| commit | d8b6895f7a8e5bcc5be1557e8048db43882f3b33 (patch) | |
| tree | 0893cc6c8bb26e207e00b0b40e728fc8a4affbfe /include/qapi | |
| parent | savevm: qmp_xen_save_devices_state(): use error_setg_file_open() (diff) | |
| download | qemu-d8b6895f7a8e5bcc5be1557e8048db43882f3b33.tar.gz qemu-d8b6895f7a8e5bcc5be1557e8048db43882f3b33.tar.xz qemu-d8b6895f7a8e5bcc5be1557e8048db43882f3b33.zip | |
block: bdrv_reopen_prepare(): don't use QERR_OPEN_FILE_FAILED
The call to drv->bdrv_reopen_prepare() can fail due to reasons
other than an open failure. Unfortunately, we can't use errno
nor -ret, cause they are not always set.
Stick to a generic error message then.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/qapi')
0 files changed, 0 insertions, 0 deletions
