[Libguestfs] [PATCH 3/4] Add SUSE to capabilities db and conf

2013-11-07 Thread Mike Latimer
This adds SUSE and openSUSE capabilities to the virt-v2v.db. It also adds a SUSE custom package example, and br0 -> default network map example. --- v2v/virt-v2v.conf | 8 ++ v2v/virt-v2v.db | 73 +++ 2 files changed, 81 insertions(+) di

[Libguestfs] [PATCH 1/4] Add perl-Bootloader support to grub packages

2013-11-07 Thread Mike Latimer
In addition to adding perl-Bootloader support to grub packages, this patch also removes '$root' from the list of parameters being passed to check, as there is nothing which uses this. --- lib/Sys/VirtConvert/Converter/Linux.pm | 46 +++--- 1 file changed, 42 insertions

[Libguestfs] [PATCH 2/4] Add conversion support for SUSE guests

2013-11-07 Thread Mike Latimer
Main set of changes required to support SUSE guest conversions. --- lib/Sys/VirtConvert/Converter/Linux.pm | 434 - 1 file changed, 374 insertions(+), 60 deletions(-) diff --git a/lib/Sys/VirtConvert/Converter/Linux.pm b/lib/Sys/VirtConvert/Converter/Linux.pm ind

[Libguestfs] [PATCH 0/4] virt-v2v: Add support for SUSE guest conversions

2013-11-07 Thread Mike Latimer
The following series of patches adds support for converting SUSE guests through virt-v2v. These changes should not impact non-SUSE guest conversions. Mike Latimer (4): Add perl-Bootloader support to grub packages Add conversion support for SUSE guests Add SUSE to capabilities db and conf A

[Libguestfs] [PATCH 4/4] Add SUSE support documentation

2013-11-07 Thread Mike Latimer
--- v2v/virt-v2v.pl | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/v2v/virt-v2v.pl b/v2v/virt-v2v.pl index e1dac4a..8fc6fd8 100755 --- a/v2v/virt-v2v.pl +++ b/v2v/virt-v2v.pl @@ -57,9 +57,9 @@ virt-v2v - Convert a guest to use KVM virt-v2v converts guest

Re: [Libguestfs] [libguestfs] Add ability to set a command for firstboot and not only a script (#7)

2013-11-07 Thread Richard W.M. Jones
> Subject: [PATCH] Add ability to set a command for firstboot and not only a > script In principle yes, in practice this patch isn't right: > --- > sysprep/sysprep_operation_firstboot.ml | 21 - > 1 file changed, 12 insertions(+), 9 deletions(-) > > diff --git a/sysprep/sysp

Re: [Libguestfs] [libguestfs] Add ability to set a command for firstboot and not only a script (#7)

2013-11-07 Thread Richard W.M. Jones
Attaching the patch to this email. Note we don't do github pull requests: http://libguestfs.org/guestfs-faq.1.html#where-do-i-send-patches Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many power

Re: [Libguestfs] Kernel panic with virt-builder etc.

2013-11-07 Thread Oliver Frommel
I finally managed to find the source of my misery: it was the dreaded multiarch setup on Ubuntu, or some related mess I obviously got into with several 32 bit libs on a 64 bit system. I cleaned it all up and now I pass the quickcheck fine. I found out by mounting the "root" image and trying to "ch

Re: [Libguestfs] Kernel panic with virt-builder etc.

2013-11-07 Thread Richard W.M. Jones
On Thu, Nov 07, 2013 at 01:17:23PM +, Richard W.M. Jones wrote: > ./run ./builder/virt-builder debian-6 We're actually performing surprisingly well, even in a VM: $ ./run ./builder/virt-builder debian-6 [ 0.0] Downloading: http://libguestfs.org/download/builder/debian-6.xz [ 1.0] Creating

Re: [Libguestfs] Kernel panic with virt-builder etc.

2013-11-07 Thread Richard W.M. Jones
On Thu, Nov 07, 2013 at 01:58:22PM +0100, Oliver Frommel wrote: > Dammit, you are fast! I just tried to figure out what's missing from > running "init" on the host and installing the missing packages, among > them "mdadm" and others. Also I noticed that "appliance/packagelist" > includes a lot of p

Re: [Libguestfs] Kernel panic with virt-builder etc.

2013-11-07 Thread Oliver Frommel
Dammit, you are fast! I just tried to figure out what's missing from running "init" on the host and installing the missing packages, among them "mdadm" and others. Also I noticed that "appliance/packagelist" includes a lot of packages that aren't available on Ubuntu, but maybe that doesn't matter.

Re: [Libguestfs] Kernel panic with virt-builder etc.

2013-11-07 Thread Richard W.M. Jones
I've just built libguestfs (from git) on Ubuntu 13.10 and it worked for me. Here's what I did: * Clone libguestfs from git: git clone https://github.com/libguestfs/libguestfs.git cd libguestfs * Create a file called 'localconfigure' containing: -

Re: [Libguestfs] [libguestfs] reserved identifier violation (#6)

2013-11-07 Thread Richard W.M. Jones
[This github thread is annoying to follow. I've switched over to the mailing list] On Thu, Nov 07, 2013 at 02:47:04AM -0800, Markus Elfring wrote: > Would you like to avoid that this software will be built on > [undefined > behaviour](https://www.securecoding.cert.org/confluence/display/seccode/C

Re: [Libguestfs] Kernel panic with virt-builder etc.

2013-11-07 Thread Richard W.M. Jones
On Thu, Nov 07, 2013 at 08:15:53AM +0100, Oliver Frommel wrote: > Hi there, > > I am trying to write an article on virt-builder and managed to compile > version 1.24.1 of libguestfs on Ubuntu 13.10 (I had mixed success with > the git version and 1.25.x). When I am running virt-builder I am getting

[Libguestfs] Kernel panic with virt-builder etc.

2013-11-07 Thread Oliver Frommel
Hi there, I am trying to write an article on virt-builder and managed to compile version 1.24.1 of libguestfs on Ubuntu 13.10 (I had mixed success with the git version and 1.25.x). When I am running virt-builder I am getting an error message: virt-builder: error: virt-resize failed Upon further