[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 7/9] savevm: qmp_xen_save_devices_state(): use error_
From: |
Luiz Capitulino |
Subject: |
[Qemu-devel] [PULL 7/9] savevm: qmp_xen_save_devices_state(): use error_setg_file_open() |
Date: |
Mon, 17 Jun 2013 11:57:09 -0400 |
Signed-off-by: Luiz Capitulino <address@hidden>
Acked-by: Kevin Wolf <address@hidden>
---
savevm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/savevm.c b/savevm.c
index 2ce439f..ff5ece6 100644
--- a/savevm.c
+++ b/savevm.c
@@ -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);
--
1.8.1.4
- [Qemu-devel] [PULL 0/9] QMP queue, Luiz Capitulino, 2013/06/17
- [Qemu-devel] [PULL 2/9] rng-random: use error_setg_file_open(), Luiz Capitulino, 2013/06/17
- [Qemu-devel] [PULL 3/9] block: mirror_complete(): use error_setg_file_open(), Luiz Capitulino, 2013/06/17
- [Qemu-devel] [PULL 4/9] blockdev: use error_setg_file_open(), Luiz Capitulino, 2013/06/17
- [Qemu-devel] [PULL 5/9] cpus: use error_setg_file_open(), Luiz Capitulino, 2013/06/17
- [Qemu-devel] [PULL 1/9] error: add error_setg_file_open() helper, Luiz Capitulino, 2013/06/17
- [Qemu-devel] [PULL 6/9] dump: qmp_dump_guest_memory(): use error_setg_file_open(), Luiz Capitulino, 2013/06/17
- [Qemu-devel] [PULL 9/9] qerror: drop QERR_OPEN_FILE_FAILED macro, Luiz Capitulino, 2013/06/17
- [Qemu-devel] [PULL 8/9] block: bdrv_reopen_prepare(): don't use QERR_OPEN_FILE_FAILED, Luiz Capitulino, 2013/06/17
- [Qemu-devel] [PULL 7/9] savevm: qmp_xen_save_devices_state(): use error_setg_file_open(),
Luiz Capitulino <=
- Re: [Qemu-devel] [PULL 0/9] QMP queue, Anthony Liguori, 2013/06/17