diff options
| author | Luiz Capitulino | 2013-06-07 20:36:58 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2013-06-17 17:01:14 +0200 |
| commit | 1befce9652a1b7cfca0191b3031fae3cbce26ef0 (patch) | |
| tree | 48a4f12748a521ecb3109a0c85d0a6004751b4b3 | |
| parent | dump: qmp_dump_guest_memory(): use error_setg_file_open() (diff) | |
| download | qemu-1befce9652a1b7cfca0191b3031fae3cbce26ef0.tar.gz qemu-1befce9652a1b7cfca0191b3031fae3cbce26ef0.tar.xz qemu-1befce9652a1b7cfca0191b3031fae3cbce26ef0.zip | |
savevm: qmp_xen_save_devices_state(): use error_setg_file_open()
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
| -rw-r--r-- | savevm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2410,7 +2410,7 @@ void qmp_xen_save_devices_state(const char *filename, Error **errp) f = qemu_fopen(filename, "wb"); if (!f) { - error_set(errp, QERR_OPEN_FILE_FAILED, filename); + error_setg_file_open(errp, errno, filename); goto the_end; } ret = qemu_save_device_state(f); |
