Displaying 20 results from an estimated 39 matches for "get_autosync".
2015 Feb 05
1
[PATCH] perl: tests: reenable set_path tests
.../perl/t/060-handle-properties.t
index 0057503..6b1ee42 100644
--- a/perl/t/060-handle-properties.t
+++ b/perl/t/060-handle-properties.t
@@ -17,7 +17,7 @@
use strict;
use warnings;
-use Test::More tests => 7;
+use Test::More tests => 9;
use Sys::Guestfs;
@@ -33,13 +33,10 @@ ok ($g->get_autosync () == 1, "autosync not true");
$g->set_autosync (0);
ok ($g->get_autosync () == 0, "autosync not false");
-# This probably doesn't work at the moment because
-# the binding for set_path does not ensure the string
-# remains around for the lifetime of the handle.
-#...
2017 Jul 29
2
Re: cannot find any suitable libguestfs supermin
...rive "/tmp/libguestfsbaZQUg/scratch.1" "format:raw"
"cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
guestfs_get_backend: direct
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguestfs...
2019 Nov 02
4
supermin: failed to find a suitable kernel
...rive "/tmp/libguestfspqGts5/scratch.1" "format:raw" "cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
guestfs_get_backend: direct
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguestfs...
2017 Jul 28
2
cannot find any suitable libguestfs supermin
I download libguestfs from github and fetch to the *origin master*.
I tried to build libguestfs in my own linux distro and I followd the
http://libguestfs.org/guestfs-building.1.html#using-a-prebuilt-binary-appliance
to replace with supermin
I download the appliance-1.30.1.tar.xz and appliance-1.30.1.tar.xz.sig
and extract the tarball to /home/user/appliance
and export
2020 Jan 08
0
Re: bug report
...scratch1.img" "format:raw" "cachemode:unsafe"
> libguestfs: trace: add_drive = 0
> libguestfs: trace: add_drive_scratch = 0
> libguestfs: trace: get_append
> libguestfs: trace: get_append = "NULL"
> guestfs_get_append: (null)
> libguestfs: trace: get_autosync
> libguestfs: trace: get_autosync = 1
> guestfs_get_autosync: 1
> libguestfs: trace: get_backend
> libguestfs: trace: get_backend = "libvirt"
> guestfs_get_backend: libvirt
> libguestfs: trace: get_backend_settings
> libguestfs: trace: get_backend_settings = []
> g...
2015 Jun 25
3
Problem with supermin and symlink in ibm_powerkvm ppc64le distro
...ive "/tmp/libguestfsgakCjw/scratch.1"
"format:raw" "cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "libvirt"
guestfs_get_backend: libvirt
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguest...
2019 Aug 20
1
A libguestfs-test-tool output
...e "/tmp/libguestfsf9YvJG/scratch1.img"
"format:raw" "cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
guestfs_get_backend: direct
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguestfs...
2019 Apr 03
1
[PATCH] Add missing python bindings tests
...urn_dict=True)
+ g.set_verbose(1)
+ self.assertEqual(g.get_verbose(), 1)
+ g.set_verbose(0)
+ self.assertEqual(g.get_verbose(), 0)
+
+ def test_autosync(self):
+ g = guestfs.GuestFS(python_return_dict=True)
+ g.set_autosync(1)
+ self.assertEqual(g.get_autosync(), 1)
+ g.set_autosync(0)
+ self.assertEqual(g.get_autosync(), 0)
+
+ def test_path(self):
+ g = guestfs.GuestFS(python_return_dict=True)
+ g.set_path(".")
+ self.assertEqual(g.get_path(), ".")
+
+ def test_add_drive(self):
+ g = g...
2019 Nov 05
0
Re: supermin: failed to find a suitable kernel
...safe"
> > > libguestfs: trace: add_drive = 0
> > > libguestfs: trace: add_drive_scratch = 0
> > > libguestfs: trace: get_append
> > > libguestfs: trace: get_append = "NULL"
> > > guestfs_get_append: (null)
> > > libguestfs: trace: get_autosync
> > > libguestfs: trace: get_autosync = 1
> > > guestfs_get_autosync: 1
> > > libguestfs: trace: get_backend
> > > libguestfs: trace: get_backend = "direct"
> > > guestfs_get_backend: direct
> > > libguestfs: trace: get_backend_setting...
2016 Nov 15
2
Libguestfs debugging issue
...rive "/tmp/libguestfs7oWVq5/scratch.1" "format:raw"
"cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "libvirt"
guestfs_get_backend: libvirt
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguest...
2014 Dec 04
2
Re: virt-df error, help
On Thu, Dec 04, 2014 at 04:53:21PM +0800, cuimingwen@incito.com.cn wrote:
> Hello, Richard,
> I run command as example: " virt-df -d `virsh domuuid 5`"
> some errors show :
> libguestfs: warning: supermin-helper -f checksum returned a short string
> libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on
2018 Oct 15
2
Bug Report, .vhdx file not attaching
...e "/tmp/libguestfsS9Wa6T/scratch1.img" "format:raw" "cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
guestfs_get_backend: direct
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguestfs...
2014 Aug 21
2
libguest-test-tool error report
...ry version: 1.20.11rhel=6,release=2.el6
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_attach_method
libguestfs: trace: get_attach_method = "appliance"
guestfs_get_attach_method: appliance
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
guestfs_get_cachedir: /var/tmp
libguestfs: trace: get_direct
libguestfs: trace: get_direct = 0
guestfs_get_direct: 0
libguestfs: trace: get_memsize
libg...
2014 Dec 05
1
Re: virt-df error, help
...add_drive = 0
libguestfs: trace: add_drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
guestfs_get_backend: direct
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
guestfs_get_cachedir: /var/tmp
libguestfs: trace: get_direct
libguestfs: trace: get_direct = 0
guestfs_get_direct: 0
libguestfs: trace: get_hv...
2014 Sep 13
2
Re: Need Help
Thanks a lot Rechard for your inputs.
On Fri, Sep 12, 2014 at 11:23 PM, Richard W.M. Jones <rjones@redhat.com>
wrote:
> On Fri, Sep 12, 2014 at 10:40:14PM +0530, Priyanka Ranjan wrote:
> > Hello Experts,
> >
> > I need a help from you . I am using CentOS 6.4 and using guestfish
> > to modify an ESX image.
> >
> > I am adding a disk, executing
2020 Jan 03
2
bug report
...e "/tmp/libguestfsr2XJRP/scratch1.img" "format:raw" "cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive_scratch = 0
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "libvirt"
guestfs_get_backend: libvirt
libguestfs: trace: get_backend_settings
libguestfs: trace: get_backend_settings = []
guestfs_get_backend_settings: []
libguest...
2012 Jan 20
8
Various fixes from building libguestfs for Debian
Here are some of the patches that I have maintained in the patch queue
of my packages that I maintain within the Debian distribution
(http://packages.qa.debian.org/libg/libguestfs.html). All of them
address FTBFS (fail to build from source) errors that happened with
the particular configuration that is used for building the Debian
package.
Cheers,
-Hilko
2019 Jul 20
0
[PATCH] Rust bindings: Add Rust bindings
...+ g.set_trace(false).expect("set_trace");
+ assert_eq!(g.get_trace().expect("get_trace"), false);
+}
+
+#[test]
+fn autosync() {
+ let g = guestfs::Handle::create().expect("create");
+ g.set_autosync(true).expect("set_autosync");
+ assert_eq!(g.get_autosync().expect("get_autosync"), true);
+ g.set_autosync(false).expect("set_autosync");
+ assert_eq!(g.get_autosync().expect("get_autosync"), false);
+}
+
+#[test]
+fn path() {
+ let g = guestfs::Handle::create().expect("create");
+ g.set_path(Some("...
2019 Jul 23
2
Re: [PATCH] Rust bindings: Add Rust bindings
..._trace");
> + assert_eq!(g.get_trace().expect("get_trace"), false);
> +}
> +
> +#[test]
> +fn autosync() {
> + let g = guestfs::Handle::create().expect("create");
> + g.set_autosync(true).expect("set_autosync");
> + assert_eq!(g.get_autosync().expect("get_autosync"), true);
> + g.set_autosync(false).expect("set_autosync");
> + assert_eq!(g.get_autosync().expect("get_autosync"), false);
> +}
> +
> +#[test]
> +fn path() {
> + let g = guestfs::Handle::create().expect("create...
2019 Jul 23
0
Re: [PATCH] Rust bindings: Add Rust bindings
...+ g.set_trace(false).expect("set_trace");
+ assert_eq!(g.get_trace().expect("get_trace"), false);
+}
+
+#[test]
+fn autosync() {
+ let g = guestfs::Handle::create().expect("create");
+ g.set_autosync(true).expect("set_autosync");
+ assert_eq!(g.get_autosync().expect("get_autosync"), true);
+ g.set_autosync(false).expect("set_autosync");
+ assert_eq!(g.get_autosync().expect("get_autosync"), false);
+}
+
+#[test]
+fn path() {
+ let g = guestfs::Handle::create().expect("create");
+ g.set_path(Some("...