Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Justin Clift
On 10/23/2010 07:15 AM, Richard W.M. Jones wrote: > On Fri, Oct 22, 2010 at 01:44:23PM -0600, Eric Blake wrote: >>> Looks for all the world like a bug in Mac OS X: >>> >>> 695 case hive_t_qword: { >>> 696 int64_t j = hivex_value_qword (h, value); >>> 697 printf ("%" PRIi64 "\n",

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Justin Clift
On 10/23/2010 07:40 AM, Richard W.M. Jones wrote: > On Sat, Oct 23, 2010 at 07:19:43AM +1100, Justin Clift wrote: >> On 10/23/2010 07:15 AM, Richard W.M. Jones wrote: >>> On Fri, Oct 22, 2010 at 01:44:23PM -0600, Eric Blake wrote: > Looks for all the world like a bug in Mac OS X: > > 6

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Richard W.M. Jones
On Fri, Oct 22, 2010 at 02:43:08PM -0600, Eric Blake wrote: > Does hivex use a git submodule for pinning the gnulib version? Sorry, wrong! It does ... $ cat .git-module-status e190c6630d13363e72ec421e4734ae255c70fbc5 .gnulib (v0.0-3453-ge190c66) Rich. -- Richard Jones, Virtualization Group,

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Richard W.M. Jones
On Fri, Oct 22, 2010 at 02:43:08PM -0600, Eric Blake wrote: > On 10/22/2010 02:40 PM, Richard W.M. Jones wrote: > > > >This is what I was testing: > > > >http://www.annexia.org/tmp/project-1.0.tar.gz > > > >You might want to update the gnulib for your system. > > > >BTW, version of gnulib in hivex

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Eric Blake
On 10/22/2010 02:40 PM, Richard W.M. Jones wrote: This is what I was testing: http://www.annexia.org/tmp/project-1.0.tar.gz You might want to update the gnulib for your system. BTW, version of gnulib in hivex might not be completely up to date (in fact, I've no idea what the status is). Doe

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Richard W.M. Jones
On Sat, Oct 23, 2010 at 07:19:43AM +1100, Justin Clift wrote: > On 10/23/2010 07:15 AM, Richard W.M. Jones wrote: > > On Fri, Oct 22, 2010 at 01:44:23PM -0600, Eric Blake wrote: > >>> Looks for all the world like a bug in Mac OS X: > >>> > >>> 695 case hive_t_qword: { > >>> 696 int64_t

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Justin Clift
On 10/23/2010 07:15 AM, Richard W.M. Jones wrote: > On Fri, Oct 22, 2010 at 01:44:23PM -0600, Eric Blake wrote: >>> Looks for all the world like a bug in Mac OS X: >>> >>> 695 case hive_t_qword: { >>> 696 int64_t j = hivex_value_qword (h, value); >>> 697 printf ("%" PRIi64 "\n",

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Richard W.M. Jones
On Fri, Oct 22, 2010 at 01:44:23PM -0600, Eric Blake wrote: > >Looks for all the world like a bug in Mac OS X: > > > > 695 case hive_t_qword: { > > 696 int64_t j = hivex_value_qword (h, value); > > 697 printf ("%" PRIi64 "\n", j); > > Indeed. And the fact that the compiler is c

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Richard W.M. Jones
On Fri, Oct 22, 2010 at 01:44:23PM -0600, Eric Blake wrote: > On 10/22/2010 01:06 PM, Richard W.M. Jones wrote: > >On Sat, Oct 23, 2010 at 05:44:54AM +1100, Justin Clift wrote: > >> > >>#defineENOKEY126 > >>

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Eric Blake
On 10/22/2010 01:06 PM, Richard W.M. Jones wrote: On Sat, Oct 23, 2010 at 05:44:54AM +1100, Justin Clift wrote: #defineENOKEY126 This isn't going to be much help unfortunately.

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Richard W.M. Jones
On Sat, Oct 23, 2010 at 05:44:54AM +1100, Justin Clift wrote: > > #defineENOKEY126 > This isn't going to be much help unfortunately. We need a standard errno which will be availab

Re: [virt-tools-list] libguestfs on OSX

2010-10-22 Thread Justin Clift
On 10/23/2010 05:44 AM, Justin Clift wrote: > hivexsh.c:231: warning: implicit declaration of function 'open_memstream' > hivexsh.c:231: warning: assignment makes pointer from integer without a cast > hivexsh.c: In function 'cleanup_readline': > hivexsh.c:355: warning: implicit declaration of func

[virt-tools-list] libguestfs on OSX

2010-10-22 Thread Justin Clift
Hi Richard, Had a go a while ago, at getting libguestfs working on MacOS X. The Hivex dependency seemed the most unhappy: Making all in lib Making all in tools make[3]: Nothing to be done for `all'. CC libhivex_la-hivex.lo hivex.c: In fu

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Richard W.M. Jones
On Thu, Oct 21, 2010 at 11:02:41PM +0100, Martin Ellis wrote: [...] Kickstart is the anaconda-equivalent of preseeding. > I've been trying to use preseeding [1] to automate installations of > Debian-based VMs. > [1] http://d-i.alioth.debian.org/manual/en.i386/apb.html Another way to do this is w

Re: [virt-tools-list] virt-manager partially hangs when trying to create a new lvm volume

2010-10-22 Thread Richard W.M. Jones
On Wed, Oct 20, 2010 at 04:53:12AM -0600, Thomas Fjellstrom wrote: > I just tried to create a new vm using virt-manager, but once I get to the > point of creating a new lvm volume using the gui, the storage volume dialog > and none of the virt-manager windows are accepting any input and nothing e

Re: [virt-tools-list] Fwd: [rhelv6-beta-list] Does virt-convert work?

2010-10-22 Thread Richard W.M. Jones
On Sat, Oct 23, 2010 at 04:53:46AM +1100, Justin Clift wrote: > Does virt-convert work? Kirby, I would try virt-v2v instead. Make sure you install the libguestfs-winsupport package if you want to convert a Windows guest. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redha

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Martin Ellis
On 22 October 2010 14:14, Cole Robinson wrote: > Thanks for the patch, I'll give it a spin. What distro are you testing with? Cool, thanks. I'm testing with an Ubuntu 10.04 host, installing a Debian 'Lenny' VM. Martin ___ virt-tools-list mailing list

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Cole Robinson
On 10/22/2010 05:39 AM, Martin Ellis wrote: > Two things I should have mentioned, to corroborate my patch: > > On 21 October 2010 23:02, Martin Ellis wrote: >> I had a look at the patch that introduced this feature [2], and noticed >> that it was using cpio -c when repacking the initrd. > > The -

Re: [virt-tools-list] virt-install: Getting initrd 'injection' to work...

2010-10-22 Thread Martin Ellis
Two things I should have mentioned, to corroborate my patch: On 21 October 2010 23:02, Martin Ellis wrote: > I had a look at the patch that introduced this feature [2], and noticed > that it was using cpio -c when repacking the initrd. The -c option corresponds to the 'odc' format: http://info2ht