git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
virt-make-fs: Refresh man page.
[libguestfs.git]
/
src
/
virt.c
diff --git
a/src/virt.c
b/src/virt.c
index
58cb999
..
cc11c68
100644
(file)
--- a/
src/virt.c
+++ b/
src/virt.c
@@
-392,10
+392,10
@@
guestfs___add_libvirt_dom (guestfs_h *g, virDomainPtr dom,
/* Checkpoint the command line around the operation so that either
* all disks are added or none are added.
*/
/* Checkpoint the command line around the operation so that either
* all disks are added or none are added.
*/
-
cmdline_pos = guestfs___checkpoint_cmdline
(g);
+
struct drive **cp = guestfs___checkpoint_drives
(g);
r = guestfs___for_each_disk (g, dom, add_disk, &optargs2);
if (r == -1)
r = guestfs___for_each_disk (g, dom, add_disk, &optargs2);
if (r == -1)
- guestfs___rollback_
cmdline (g, cmdline_pos
);
+ guestfs___rollback_
drives (g, cp
);
return r;
}
return r;
}