Displaying 20 results from an estimated 9000 matches similar to: "Pseudo code for v2v"
2009 Jul 24
1
virt-v2v
I've attached v2v/STATUS. There's still a bit to do. I'm not yet
proposing this for inclusion, just discussion.
Apart from the tool itself, I think there's mileage in considering how
the functionality of Sys::Guestfs::Lib could be given more structure. I
think there's considerable mileage in moving much of Sys::Guestfs::Lib
into Sys::Guestfs::GuestOS.
I haven't tried
2009 Nov 13
1
guestmount symlink issues
I'm trying to use guestmount to install some kernel modules in a guest:
[mbooth at mbooth linux-2.6 (amit)]$ make modules_install
INSTALL_MOD_PATH=~/etch
ln: creating symbolic link
`/home/mbooth/etch/lib/modules/2.6.32-rc6/source': No such file or directory
make: *** [_modinst_] Error 1
I think something's screwy with symlinks. In the following, /tmp/source
is a symlink, and I
2010 Feb 08
2
Order of list-devices changes when libguestfs uses virtio
Output from guestfish after upgrading to rawhide libguestfs, compiled
with virtio:
><fs> add_drive "/dev/Guests/RHEL52PV32"
><fs> add_cdrom "/var/lib/virt-v2v/transfer.iso"
><fs> launch
><fs> list-devices
/dev/sr0
/dev/vda
Note that the order has swapped. If these aren't consistent we don't
have a good way to determine which host
2009 Aug 18
1
CHROOT_IN and CHROOT_OUT
I hit the following weirdness in guestfish:
><fs> ll /../proc/modules
-r--r--r-- 1 root root 0 Aug 18 10:37 /sysroot/../proc/modules
><fs> cat /../proc/modules
libguestfs: error: open: /../proc/modules: No such file or directory
The underlying reason for this seems to be that ll uses sysroot_path to
establish a path before operating on it, whereas cat uses CHROOT_IN and
2010 May 31
2
VMware and multiple vmdk files
With VMWare (server), you can pre-allocate your image in several vmdk
files. But I have not bee able to mount that in guestfs.
On file (e.g. guest.vmdk) is a text file pointing to all the other
files (e.g. guest-f001.vmdk, guest-f002.vmdk,...).
I tried the following scenarios without success:
1- just adding the base vmdk: add_drive guest.vmdk
2- adding all the files:
add_drive guest-f001.vmdk
2012 Jan 20
0
CamelName patch
On 01/19/2012 08:43 PM, Richard W.M. Jones wrote:
> I don't remember this commit coming up for review, although it seems
> to have been pushed upstream:
Well spotted! I was just about to point out that you did review it, when
I noticed I'd mixed this one up with a similar one. You reviewed the
other one. I have pushed this one accidentally.
> commit
2010 Aug 19
1
Proposed new libguestfs file APIS
As part of a new virt-v2v feature, I've been thinking about how to write
data to an arbitrary block device in the appliance. I need to be able to
write arbitrary chunks of data to specific places on the device. This
will need a new API, as guestfs_pread can't open a block device. While
I'm at it, I'd like to create a new family of APIs which operate on a
file handle:
int
2010 Aug 23
1
Proposed new file apis
I've attached a patch to generator.ml for the proposed new file apis.
Note that hread, hpread, hwrite and hpwrite are slightly different to
the apis I proposed previously. I've also added hallocate for good measure.
Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team
GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
--------------
2011 Dec 05
0
New release 0.8.5 of virt-v2v and virt-p2v
We just released virt-v2v 0.8.5, which also covers virt-p2v. This is
primarily a bugfix release, with a couple of new features thrown in. The
major changes are summarised below:
V2V
***
* Default -ic and -oc to qemu:///session or qemu:///system as
appropriate depending on root.
* Allow Windows conversions to succeed when firstboot.bat, rhsrvany.exe
and rhev-apt.exe aren't available.
*
2012 Jan 13
0
Gobject binding for sylistic review
This is a snapshot of gobject bindings. This is literally mid-edit, and
contains numerous known errors in its output! I'm posting it for review
of the ocaml code.
Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team
GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
-------------- next part --------------
An embedded and charset-unspecified
2012 Jan 17
0
GObject bindings (generated source)
I've attached the generated gobject bindings for direct review.
Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team
GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Guestfs-1.0.gir
Type: text/xml
Size: 435504 bytes
Desc: not available
URL:
2011 Oct 31
2
libguestfs and md devices
We've recently discovered that libguestfs can't handle guests which use
md. There are (at least) 2 reasons for this: Firstly, the appliance
doesn't include mdadm. Without this, md devices aren't detected during
the boot process. Simply adding mdadm to the appliance package list
fixes this.
Secondly, md devices referenced in fstab as, e.g. /dev/md0, aren't
handled
2012 Dec 20
1
Supporting btrfs subvolumes during inspection
We've currently got a bug in libguestfs which means we can't inspect
filesystems in btrfs subvolumes:
https://bugzilla.redhat.com/show_bug.cgi?id=824021
This is the default configuration if you select btrfs in F17+. The issue
is that it requires an api to fix it, as the return values of
inspect_os, inspect_get_filesystems and inspect_get_mountpoints can't
express a btrfs
2008 Feb 13
2
NT4 in a DomU
Hi,
I use Xen 3.0.3-1 on a Debian Etch with LVM to store
my DomUs.
I already exploit a Windows 2000 in a DomU but I can''t
install a windows NT4 Server:
I have a death of Blue Screen during the installation
begining.
Did someone test that scary NT4 DomU with success?
I think NT4 need a disk driver but wich one? and how
can I give it one?
My last solution to test is:
to convert a NT4
2009 Mar 18
1
Is it possible to make rsync VMware split .vmdk's aware?
Hi,
I am using rsync for my customers to have disaster recovery off-site
with files from a VMware Server (under Linux). All works very well, but
when I defragment the VM's (once a week) or Exchange defragments it's
datastore the disk layout changes offcourse and sometimes a lot.
What do I do:
- I am making a local copy with vmware-vdiskmanager to an USB
disk in the split
2014 Nov 10
0
Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
On Mon, Nov 10, 2014 at 04:52:35PM +0000, Matthew Booth wrote:
> On 10/11/14 16:01, Richard W.M. Jones wrote:
> > On Mon, Nov 10, 2014 at 04:12:35PM +0100, Nicolas Ecarnot wrote:
> >> Hi,
> >>
> >> In a oVirt 3.4.4 environnement, and using a
> >> virt-p2v-0.9.1-2.20130730.1.el6.centos, I'm trying to convert a
> >> windows 2003 server 32
2011 Oct 28
2
Inspecting VMware OVFs
Hi,
Maybe this is just a newbie question. I am trying to inspect VMware images
with guestfish.
I am running Fedora 15 in a VSphere VM. Once Fedora is installed I do:
yum update
yum install '*guestf*'
Then I run guesfish on a copy of a Fedora 15 disk.
guestfish -rw -I -a Fedora15-2-disk1.vmdk
with the following result:
libguestfs: error: unexpected end of file
2007 Feb 06
1
Increasing existing partition and LVM size
I have a disk on which CentOS is installed and running. The disk
partitions look like this:
Disk /dev/sda: 42.9 GB, 42949672960 bytes
255 heads, 63 sectors/track, 5221 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1044
2014 Nov 10
2
Re: virt-v2v: Died at /usr/bin/virt-p2v-server line 411
On 10/11/14 16:01, Richard W.M. Jones wrote:
> On Mon, Nov 10, 2014 at 04:12:35PM +0100, Nicolas Ecarnot wrote:
>> Hi,
>>
>> In a oVirt 3.4.4 environnement, and using a
>> virt-p2v-0.9.1-2.20130730.1.el6.centos, I'm trying to convert a
>> windows 2003 server 32 bits into an oVirt KVM image.
>>
>> I already succeed doing that many times, but now,
2012 Jan 20
2
GObject bindings overview
I've summarised how the GObject bindings work below, which should
hopefully help reviewing the generator/generated code.
There are a couple of points in here I'm still not 100% happy with.
Specifically the handling of FBuffer and the Cancellable flag. Both are
explained below. I'm interested in suggestions.
Return values:
**************
All functions which can return an error