Displaying 15 results from an estimated 15 matches for "copy_over".
2012 Mar 09
1
[PATCH 1/2] Close all file descriptors in the recovery process.
From: "Richard W.M. Jones" <rjones at redhat.com>
If the parent process uses a pipe (or any fd, but pipes are a
particular problem), then the recovery process would hold open the
file descriptor(s) of the pipe, meaning that it could not be fully
closed in the parent. Because the recovery process doesn't use
exec(2), this wasn't avoidable even using FD_CLOEXEC.
Avoid this
2012 Mar 31
1
modifying open_guest function (copy_over.c)
It works, but I should delete
if (guestfs_umount_all (destg) == -1)
??? exit (EXIT_FAILURE);
inmain() function and
/* Clean up. */
? if (guestfs_umount_all (srcg) == -1) {
??? pthread_cancel (threaddata->mainthread);
??? exit (EXIT_FAILURE);
? }
in the start_scrthread() function or it will return an error after the program finish:
libguestfs: error: umount_all: umount:
2012 Sep 16
3
Remaining syntax-check errors in libguestfs
... and why they are (probably) not errors.
> bindtextdomain
> daemon/guestfsd.c
> erlang/erl-guestfs-proto.c
> examples/copy_over.c
> examples/create_disk.c
> examples/display_icon.c
> examples/inspect_vm.c
> examples/mount_local.c
> examples/virt-dhcp-address.c
> tests/c-api/test-add-drive-opts.c
> tests/c-api/test-add-libvirt-dom.c
> tests/c-api/test-command.c
> tests/c-api/test-config.c
> test...
2012 Jul 03
8
[PATCH 0/7 v2] Fix and workaround for qcow2 issues in qemu causing data corruption.
https://bugzilla.redhat.com/show_bug.cgi?id=836710
https://bugzilla.redhat.com/show_bug.cgi?id=836913
There are at least two related bugs going on:
(1) Linux sync(2) system call doesn't send a write barrier to the
disk, so in effect it doesn't force the hard disk to flush its cache.
libguestfs used sync(2) to force changes to disk. We didn't expect
that qemu was caching anything
2014 Sep 23
0
[PATCH 03/13] syntax-check: fix makefile_at_at_check
...- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -159,14 +159,14 @@ stamp-guestfs-examples.pod: guestfs-examples.pod copy-over.c create-disk.c debug
--section 3 \
--man guestfs-examples.3 \
--html $(top_builddir)/html/guestfs-examples.3.html \
- --verbatim $(srcdir)/copy-over.c:@COPY_OVER@ \
- --verbatim $(srcdir)/create-disk.c:@CREATE_DISK@ \
- --verbatim $(srcdir)/debug-logging.c:@DEBUG_LOGGING@ \
- --verbatim $(srcdir)/display-icon.c:@DISPLAY_ICON@ \
- --verbatim $(srcdir)/inspect-vm.c:@INSPECT_VM@ \
- --verbatim $(srcdir)/libvirt-auth.c:@LIBVIRT_AUTH@ \
- --verbatim...
2012 Oct 13
0
[PATCH] New APIs: Model libvirt authentication events through the API.
.../examples/stamp-guestfs-faq.pod
diff --git a/examples/Makefile.am b/examples/Makefile.am
index a7c9903..bf2db45 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -32,7 +32,7 @@ CLEANFILES = \
noinst_PROGRAMS = create_disk display_icon inspect_vm
if HAVE_LIBVIRT
-noinst_PROGRAMS += copy_over
+noinst_PROGRAMS += copy_over libvirt_auth
endif
if HAVE_HIVEX
noinst_PROGRAMS += virt-dhcp-address
@@ -52,6 +52,17 @@ copy_over_CFLAGS = \
copy_over_LDADD = \
$(top_builddir)/src/libguestfs.la \
$(LIBVIRT_LIBS)
+
+libvirt_auth_SOURCES = libvirt_auth.c
+libvirt_auth_CFLAGS = \
+ -DGUESTFS_W...
2012 May 21
0
[ANNOUNCE] libguestfs 1.18 released - tools for managing virtual machines and disk images
...ce
tuning tips
http://libguestfs.org/guestfs-performance.1.html
- new man page: guestfs-faq(1), Frequently Asked Questions
http://libguestfs.org/guestfs-faq.1.html
- ENOTSUP (from guestfs_last_errno) is now returned for APIs that
are not supported
examples:
- 'copy_over' example showing how to copy between two handles
- 'display_icon' program displays the icon associated with a guest
- 'mount_local.c' example shows how to use the mount-local API
Security
(no security problems were found or fixed in this release)
New APIs
btrfs-d...
2014 May 29
2
Re: libguestfs error
Hi Rich
I using ubuntu 13.10 with powerpc arch.
I tried the above stepss and below are the output of the related commands..
nm -D /usr/lib/powerpc-linux-gnu/libtinfo.so | grep tgetent
0000def0 T tgetent
ubuntu@t4240-ubuntu1310:~$ dpkg -S /usr/lib/powerpc-linux-gnu/libtinfo.so
libtinfo-dev:powerpc: /usr/lib/powerpc-linux-gnu/libtinfo.so
However I'm not able to perform rm -f config.cache
2014 Sep 23
27
[PATCH 00/13] syntax-check
Hi Rich,
This series includes patches to make `make syntax-check` pass.
Some of the fix require change to maint.mk, but the file is not in git
repo. Is it intended?
Thanks!
Hu Tao (13):
syntax-check: dirty hack to pass bindtextdomain check
syntax-check: fix error_message_period check
syntax-check: fix makefile_at_at_check
syntax-check: fix prohibit_assert_without_use check
2014 Sep 23
0
[PATCH 13/13] syntax-check: fix trailing_blank check
...s.org/guestfs-performance.1.html
-
+
- new man page: guestfs-faq(1), Frequently Asked Questions
http://libguestfs.org/guestfs-faq.1.html
-
+
- ENOTSUP (from guestfs_last_errno) is now returned for APIs that
are not supported
examples
- 'copy_over' example showing how to copy between two handles
-
+
- 'display_icon' program displays the icon associated with a guest
-
+
- 'mount_local.c' example shows how to use the mount-local API
Security
@@ -1993,71 +1993,71 @@ RELEASE NOTES FOR LIBGUESTFS 1....
2014 May 29
2
Re: libguestfs error
...ome/ubuntu/libguestfs-1.26.1/examples'
CC create_disk-create-disk.o
CCLD create-disk
CC debug_logging-debug-logging.o
CCLD debug-logging
CC display_icon-display-icon.o
CCLD display-icon
CC inspect_vm-inspect-vm.o
CCLD inspect-vm
CC copy_over-copy-over.o
CCLD copy-over
CC libvirt_auth-libvirt-auth.o
CCLD libvirt-auth
CC virt_dhcp_address-virt-dhcp-address.o
CCLD virt-dhcp-address
CC mount_local-mount-local.o
CCLD mount-local
perl /home/ubuntu/libguestfs-1.26.1/podwrapper.pl \
--secti...
2017 Jun 27
3
[PATCH] libvirt: disallow non-local connections (RHBZ#1347830)
If the connection is not local, paths of disks will refer to the remote
host, which were mistakenly handled as local paths (in the best case
failing to open a non-existing disk, and in the worst case opening a
different disk!).
In case the disks are remote resources like ssh or ceph, nothing
guarantees that the hostname can be reached from the local machine, or
even that it is actually the same on
2017 Jul 07
4
[PATCH v6 0/3] gobject: Remove gtk-doc (RHBZ#1465665).
Hopefully this time ...
2017 Jul 07
2
[PATCH v2] v2v: docs: VDSM location of virt-v2v log file.
See this bug for background information:
https://bugzilla.redhat.com/show_bug.cgi?id=1350465
Thanks: Tomáš Golembiovský
---
v2v/virt-v2v.pod | 38 ++++++++++++++++++++++++++------------
1 file changed, 26 insertions(+), 12 deletions(-)
diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
index e68d75cf8..0943bf305 100644
--- a/v2v/virt-v2v.pod
+++ b/v2v/virt-v2v.pod
@@ -1909,18 +1909,32 @@ that
2017 Jul 07
3
[PATCH] v2v: docs: VDSM location of virt-v2v log file.
See this bug for background information:
https://bugzilla.redhat.com/show_bug.cgi?id=1350465
---
v2v/virt-v2v.pod | 39 +++++++++++++++++++++++++++------------
1 file changed, 27 insertions(+), 12 deletions(-)
diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
index e68d75cf8..93d1a9ecd 100644
--- a/v2v/virt-v2v.pod
+++ b/v2v/virt-v2v.pod
@@ -1909,18 +1909,33 @@ that guest through the RHV-M UI,