Displaying 20 results from an estimated 2000 matches similar to: "uploads and unpacks .zip file"
2012 Jan 16
1
[PATCH] generator: Add an explicit Cancellable flag
Currently any api which takes a FileIn or FileOut parameter is implicitly
cancellable. This change make cancellable an explicit flag in anticipation of it
being added to other apis.
---
generator/generator_actions.ml | 53 ++++++++++++++++++++++++++-------------
generator/generator_checks.ml | 3 +-
generator/generator_types.ml | 1 +
3 files changed, 38 insertions(+), 19 deletions(-)
2012 Sep 10
1
java.lang.UnsatisfiedLinkError
hi jones!
i run a java testcase in my new environment(V1.19.35 that was installed by "make install"),
"System.loadLibrary ("guestfs_jni")" leads to :
Exception in thread "main" java.lang.UnsatisfiedLinkError: no libguestfs_jni in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
2012 Aug 27
3
libguestfs! help!
On Sun, Aug 26, 2012 at 09:52:23PM -0400, tao zhou wrote:
> hello everyone!
>
> first i use libguestfs API to upload a file into my linux VM , and
> then i want to execute some command(for example : tar xzvf XXX?
> chkconfig --add XXX) to config my application by java libguestfs
> API?what should i do? could you show me an example in java?
> Thanks!
Attached is a simple
2014 Oct 22
0
[PATCH] tests: c-api: add $datadir and $databuilddir
Modify "tests" to expand any kind of environment variable than just
$srcdir; use $datadir and $databuilddir to point to the files in
$srcdir/tests/data and $builddir/tests/data, so it is easier to point at
the data for the tests.
Most of the work (except the $databuilddir and the integration in the
Makefile.am) has been done as part of larger changes by
Richard W.M. Jones
2012 Sep 07
1
mount device of 'unknow' filesystem type
hi all!
some windows vm's filesystem type is unknown(/dev/sda: unknown),
and 'mount' command leads to:
'libguestfs: error: mount: /dev/sda on / (options: ''): mount: you must specify the filesystem type '
if i don't know the type, whether i could mount the device?
Thanks!
??
2012 Sep 13
1
guestfish(1) references non-existant tar_out/tar_in option
While creating my first guestfish script I noticed an inconsistency in
the guestfish(1) man page. The option tgz-out references "tar_out",
which does not exist, instead its called "tar-out". The same is true for
tgz-in/tar_in. After a quick grep in the code its not clear to me how to
resolve this issue.
Olaf
2014 Oct 05
0
[PATCH v5 2/7] tests/c-api: Convert the C API tests to use the test harness.
This involves some significant changes to this test framework.
In particular:
- Instead of just specifying $srcdir at the start of a FileIn
path, you can now specify arbitrary environment variables.
This is necessary to allow the tests to run from a tmpdir.
- Use COPYING instead of COPYING.LIB, and copy that file into
the test suite directory.
- Require the static binaries
2015 Aug 06
0
[PATCH v4 02/17] tests/c-api: Convert the C API tests to use the test harness.
This involves some significant changes to this test framework.
In particular:
- Instead of just specifying $srcdir at the start of a FileIn
path, you can now specify arbitrary environment variables.
This is necessary to allow the tests to run from a tmpdir.
- Use COPYING instead of COPYING.LIB, and copy that file into
the test suite directory.
- Require the static binaries
2012 Aug 14
7
[PATCH 0/7] Add tar compress, numericowner, excludes flags.
https://bugzilla.redhat.com/show_bug.cgi?id=847880
https://bugzilla.redhat.com/show_bug.cgi?id=847881
This patch series adds various optional arguments to the tar-in and
tar-out commands.
Firstly (1/7) an optional "compress" flag is added to select
compression. This makes the calls tgz-in/tgz-out/txz-in/txz-out
deprecated, and expands the range of compression types available.
2012 Nov 21
1
Libguest Problem
Hi Richard,
I am a user of LibguestFS.
I have a problem in using LibguestFS to get the OS type of the virtual machine with Xenserver virtual environment.
But when I use the command in Linux likes the figure1. I know that this disk file could add in libguestfish.
My code is in the figure2. I can't get the OS info from GuestFs.
Could you give me some suggests?
James
2013 Dec 03
2
Using guestfs to debug kernel
Hi,
I would like to use libguestfs to help me setup a VM that I run later
with qemu to debug my linux kernel (via qemu -kernel <mykernel>
-append ...).
One problem I face for instance is that my VM lacks the modules
matching my kernel version. So what would you consider as the best
option here to load the modules for the kernel ?
Should I upload the modules from the host to the VM
2012 Mar 07
0
libvirt-users Digest, Vol 27, Issue 11
How do we allow resource over provisioning in KVM ?
I have already posted the same question twice but haven't got any response
yet,
sorry for repeating it again but its important for me, so if some one could
please point
me in the right direction.
--
Jatin
On Wed, Mar 7, 2012 at 4:58 PM, <libvirt-users-request at redhat.com> wrote:
> Send libvirt-users mailing list submissions to
2012 Mar 16
0
virsh create error : monitor socket did not (Alex Jia)
Hi Alex,
when I got this error, it was a vnc listener problem. Is there other
actives vms on this server?
try to change the port number to see if the problem was solved.
<graphics type='vnc' listen='0.0.0.0' port='5909'/>
Good Luck.
Josir Gomes
Date: Thu, 15 Mar 2012 18:07:07 +0800
> From: Alex Jia <ajia at redhat.com>
> To: ??? <zhanggp at
2015 Jul 15
1
[PATCH 1/2] actions: tar_out: add xattrs and selinux optargs
Add additional arguments for tar, so extended attributes and/or SELinux
contexts can be saved in output tars.
---
daemon/tar.c | 18 +++++++++++++-----
generator/actions.ml | 10 +++++++++-
2 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/daemon/tar.c b/daemon/tar.c
index d6f8f2f..68af749 100644
--- a/daemon/tar.c
+++ b/daemon/tar.c
@@ -311,7 +311,7 @@
2012 Mar 07
3
virsh create error : monitor socket did not show up
Hi,all
i get a problem as below when i create a vm:
virsh create deployment.0
error: Failed to create domain from deployment.0
error: monitor socket did not show up.: No such file or directory
but the situation is very few.
So,can some tell me about this? I just want to know why has this kind of situation.
Thanks.
Best Regards!
???
tel: 13718913184
mail: zhanggp at neusoft.com
????????
2014 Sep 23
0
[PATCH 11/13] syntax-check: fix prohibit_undesirable_word_seq check
Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
---
BUGS | 6 +++---
guestfs-release-notes.pod | 8 ++++----
guestfs-release-notes.txt | 8 ++++----
po-docs/ja.po | 8 ++++----
po-docs/libguestfs-docs.pot | 8 ++++----
po-docs/uk.po | 8 ++++----
6 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/BUGS b/BUGS
index
2012 Mar 15
2
virsh create error : monitor socket did not
Hi,
Occasionally I run into this situation , i created a vm-template and i use "virsh create vm-template " to start a vm .After a pause , i got this error :
virsh create error : monitor socket did not ;
Then i try again with the same template and the same command , my vm created successfully.
I try to find something in the file of /var/log/libvrit/qemu/vm-template.log, but i cannot
2011 Nov 14
2
libvirt0.8.7.tar.gz installation failure
Hi:
I get a very strange problem when I installing libvirt0.8.7.tar.gz.
Here is my infomaton:
compute with RHELD6.0 systerm;
the systerm comes with libvirt0.8.7,bu I uninstalled it and its dependencies .
And then i download the libvirt0.8.7.tar.gz , untar it ,configure --with-esx,make,make install.
But I got an error like "libvirtd: /usr/local/lib/libvirt.so.0: version
2017 Mar 03
2
[PATCH] generator: Allow actions to be deprecated with no replacement.
There is precisely one such function at the moment
(guestfs_wait_ready).
---
generator/GObject.ml | 6 +-
generator/OCaml.ml | 7 +-
generator/actions_core_deprecated.ml | 102 ++++++++++++++---------------
generator/actions_inspection_deprecated.ml | 2 +-
generator/actions_properties_deprecated.ml | 12 ++--
generator/c.ml
2011 Nov 17
1
libvirt uninstall @ install problem??
Hi:
I have a rhel6.1 system, before I installed libvirt0.9.6.tar.gz, it already have installed libvirt-0.8.7-xxx.rpm.
Can someone tell me how to uninstall the libvirt-0.8.7XXX.rpm ,and then i can install libvirt0.9.6.tar.gz and use it .
Thanks!
zhanggp at neusoft.com
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The