Displaying 20 results from an estimated 700 matches similar to: "Need help regarding perl sys::virt"
2010 Apr 27
1
ruby-libvirt equiv of virsh list --all
Hi all,
I have a working KVM system managed with virsh and virt-install.
I am currently playing with ruby-libvirt-0.1.0.
I am wanting to build a simple sinatra/ruby app to show the VE's on a node and their state.
I have ruby 1.8.5 on CentOS 5.4.
I have the basics of it worked out but am a little stuck.
Is there a way of retrieving a list of all VM's on a host using
2019 Apr 08
0
[PATCH v4 2/7] common: Bundle the libvirt-ocaml library for use by virt-v2v
Add a copy of the libvirt-ocaml library, currently available at:
https://libvirt.org/git/?p=libvirt-ocaml.git;a=summary
This is a snapshot at commit d3ed8dcf1b0a6a8a855ceecbe0bb97f21e6665e3,
which has all the features we need (and that builds fine).
It is expected to stay synchronized with upstream, until there is a new
upstream release, and it will be widespread enough.
---
.gitignore
2006 Jun 01
1
[PATCH] Make xentrace hypercall a bit more sane
xentrace, setsize and the hypervisor don''t seem to be on the same
page. If tracing is not enabled, the hypercall will only allow
TBUF_SET_SIZE and TBUF_ENABLE. However, set_size calls TBUF_GET_INFO,
and xentrace wants to call TBUF_SET_EVT_MASK and TBUF_SET_CPU_MASK
before calling TBUF_ENABLE.
I don''t see any reason not to call SET_*_MASK and GET_INFO if tracing
is not enabled.
2019 Dec 16
3
[v2v PATCH 0/2] Move libvirt-ocaml copy to v2v repo
libvirt-ocaml is used only by virt-v2v, so move it to this repository,
instead of having it around in the common submodule.
The removal from common will happen later.
Pino Toscano (2):
common: Bundle the libvirt-ocaml library for use by virt-v2v
build: switch embedded copy of libvirt-ocaml
.gitignore | 2 +
3rdparty/libvirt-ocaml/Makefile.am |
2013 Jul 08
1
python equiv to perl list_domains()
Hey,
I'm trying to figure out a way to get a list of the running domains on a
dom0. I can get the ID's but I'd prefer the names. We have another script
written in perl, but I'm trying to get some other functionality in python
as well as work on converting it all to python. It looks like perl has a
list_domains() that will, according to the libvirt doc, "Return a list of
all
2018 Nov 27
8
[PATCH v2 0/7] RFC: switch v2v to ocaml-libvirt
Hi,
this is a mostly done attempt to switch to ocaml-libvirt, embedding the
latest version of it from git. This way, it is possible to improve the
way v2v connects to libvirt for both input, and output modules, and
interacts with libvirt (e.g. no more virsh calls needed in virt-v2v).
As side effect, virt-v2v now requires libvirt, as keeping it optional
would create too much burden.
I could not
2019 Jan 30
8
[PATCH v3 0/7] RFC: switch v2v to ocaml-libvirt
Hi,
this is a mostly done attempt to switch to ocaml-libvirt, embedding the
latest version of it from git. This way, it is possible to improve the
way v2v connects to libvirt for both input, and output modules, and
interacts with libvirt (e.g. no more virsh calls needed in virt-v2v).
As side effect, virt-v2v now requires libvirt, as keeping it optional
would create too much burden.
I could not
2019 May 20
8
[PATCH v5 0/7] v2v: switch to ocaml-libvirt
Hi,
this series switches virt-2v to ocaml-libvirt, embedding the latest
version of it from git. This way, it is possible to improve the way
v2v connects to libvirt for both input, and output modules, and
interacts with libvirt (e.g. no more virsh calls needed in virt-v2v).
As side effect, virt-v2v now requires libvirt, as keeping it optional
would create too much burden.
I could not test all
2018 Aug 30
8
[PATCH 0/7] RFC: switch v2v to ocaml-libvirt
Hi,
this is a mostly done attempt to switch to ocaml-libvirt, embedding the
latest version of it from git. This way, it is possible to improve the
way v2v connects to libvirt for both input, and output modules, and
interacts with libvirt (e.g. no more virsh calls needed in virt-v2v).
As side effect, virt-v2v now requires libvirt, as keeping it optional
would create too much burden.
I could not
2019 Apr 08
12
[PATCH 43 0/7] v2v: switch to ocaml-libvirt
Hi,
this series switches virt-2v to ocaml-libvirt, embedding the latest
version of it from git. This way, it is possible to improve the way
v2v connects to libvirt for both input, and output modules, and
interacts with libvirt (e.g. no more virsh calls needed in virt-v2v).
As side effect, virt-v2v now requires libvirt, as keeping it optional
would create too much burden.
I could not test all
2007 Aug 21
0
2 commits - test/trace
test/trace/propflags-5.swf |binary
test/trace/propflags-5.swf.trace | 20 +-
test/trace/propflags-6.swf |binary
test/trace/propflags-6.swf.trace | 20 +-
test/trace/propflags-7.swf |binary
test/trace/propflags-7.swf.trace | 19 +-
test/trace/propflags.as | 6
test/trace/trace_properties.as | 304 ++++++++++++++++++++++++++++++---------
8 files changed,
2009 Oct 29
1
[PATCH] Enables users to migrate virtual machines between hosts.
Users select a virtual machine on their current libvirt host. They then
select a target machine, which must have been previously configured as a
connection. They confirm the migration and then it runs.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
nodeadmin/addhost.py | 10 ++++-
nodeadmin/libvirtworker.py | 6 +++
nodeadmin/migratedomain.py | 81
2012 Nov 20
0
[PATCH 15 of 15] libxl: ocaml: add bindings for libxl_domain_create_new
# HG changeset patch
# User Ian Campbell <ijc@hellion.org.uk>
# Date 1353432141 0
# Node ID 72376896ba08bb7035ad4b7ed5a91c2c1b45b905
# Parent 41f0137955f4a1a5a76ad34a5a6440e32d0090ef
libxl: ocaml: add bindings for libxl_domain_create_new
** NOT TO BE APPLIED **
Add a simple stub thing which should build a domain. Except it is
incomplete and doesn''t actually build. Hence RFC.
2007 Aug 20
0
3 commits - libswfdec/swfdec_as_context.c test/trace
libswfdec/swfdec_as_context.c | 4 -
test/trace/loadvars-5.swf |binary
test/trace/loadvars-6.swf |binary
test/trace/loadvars-6.swf.trace | 50 ++++++++-----
test/trace/loadvars-7.swf |binary
test/trace/loadvars-7.swf.trace | 50 ++++++++-----
test/trace/loadvars.as | 4 -
test/trace/loadvars.txt | 3
test/trace/propflags-5.swf
2009 Nov 17
2
[PATCH 0/2] Two part fix for virt-df on Xen (bug 538041)
This is a two-part fix for:
https://bugzilla.redhat.com/show_bug.cgi?id=538041
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/
2014 Dec 22
2
virt-v2v - Unable to authenticate to vCenter as DOMAIN\user
Hi,
I am encountering an issue with virt-v2v where I need to authenticate to the vCenter as DOMAIN\user.
I have tried the following with the resulting errors:
1. 'virt-v2v -v -x -ic 'vpx://vcenter/Datacenter/cluster_name/esx_server?no_verify=1' vm_name -o local -of raw -os /tmp'
- prompted for username password
- entered 'DOMAIN\User' as username
- successfully
2009 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
Moved the node administration elements to a separate submenu.
Created a new network administration menu.
* users can define a network
* users can create a network
* users can destroy a network
* users can undefine a network
* users can list existing networks, including details
Each new command is also available as a separate command line executable
as well.
Signed-off-by: Darryl L. Pierce
2010 Jan 29
4
[FOR REVIEW ONLY] ESX work in progress
The following patches are where I'm currently at with ESX support. I can now
import a domain from ESX along with its storage. Note that I'm not yet doing any
conversion. In fact, I've never even tested past the import stage (I just had an
exit in there).
The meat is really in the 4th patch. The rename of MetadataReader->Connection
was because the Connection is now really providing
2009 Dec 21
2
[PATCH] Fixed errors when the user selects a different remove libvirt host.
Now the app will show the current connection. When the user selects
a different host then any connection exception is caught and the
previous connection restored.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
nodeadmin/changehost.py | 6 ++++--
nodeadmin/configscreen.py | 5 ++++-
nodeadmin/libvirtworker.py | 16 +++++++++++++++-
3 files changed, 23 insertions(+),
2010 Feb 01
9
[ESX support] Working ESX conversion for RHEL 5
With this patchset I have successfully[1] imported a RHEL 5 guest directly from
ESX with the following command line:
virt-v2v -ic 'esx://yellow.marston/?no_verify=1' -op transfer RHEL5-64
Login details are stored in ~/.netrc
Note that this is the only guest I've tested against. I haven't for example,
checked that I haven't broken Xen imports.
Matt
[1] With the exception of