Re: [et-mgmt-tools] virt-p2v problems

2009-07-16 Thread Cole Robinson
Ribeiro Emerson Gomes wrote:
> Hey,
> 
> I narrowed the config file down to:
>   
> emerson3
> 3ffcff461be5cef1ff45ffe1bb71b17a
> 2095104
>   
> 
> and I still get the very same error. 
> Maybe a missing tag??
> 
> Emerson
> 
> 

(Let's move to virt-tools-list)

That 'expecting a name' error shouldn't have to do with the XML file:
did you manually any of the libvirt .conf files, or do you have hand
editted files in /etc/xen? Do other virsh commands (list --all) throw
errors?

- Cole

___
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


RE: [et-mgmt-tools] virt-p2v problems

2009-07-16 Thread Ribeiro Emerson Gomes
Hey,

I narrowed the config file down to:

  emerson3
  3ffcff461be5cef1ff45ffe1bb71b17a
  2095104


and I still get the very same error. 
Maybe a missing tag??

Emerson


-Original Message-
From: et-mgmt-tools-boun...@redhat.com
[mailto:et-mgmt-tools-boun...@redhat.com] On Behalf Of Richard W.M.
Jones
Sent: Thursday, July 16, 2009 11:11 AM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] virt-p2v problems

On Wed, Jul 15, 2009 at 08:49:23AM -0300, Ribeiro Emerson Gomes wrote:
> Here goes the conf file:
> 
> [r...@blpc6]# cat p2v-emerson3_br_scania_com-200907150846.conf 
> 
> 
> 
>   emerson3_br_scania_com
>   3ffcff461be5cef1ff45ffe1bb71b17a
>   2095104
>   2095104
>   1
>   
> hvm
> /usr/lib/xen/boot/hvmloader
> 
>   
>   
> 
> 
> 
>   
>   
>   
> /usr/lib64/xen/bin/qemu-dm
> 
>   
> 
> 
> 
>   
>   
> 
>   
> 

This file looks fine to me, but the "expecting a name" error is still
worrying.  Unfortunately libvirt doesn't give any context for the
error, so the only way to diagnose it will be to remove sections of
the XML until it works, thus narrowing it down to some particular
place.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora

___
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

___
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


Re: [et-mgmt-tools] VMware/qemu-kvm-?? migration

2009-07-16 Thread Gene Czarcinski
On Thursday 16 July 2009 10:39:02 Richard W.M. Jones wrote:
> On Thu, Jul 16, 2009 at 03:16:45PM +0100, Richard W.M. Jones wrote:
> > On Wed, Jul 15, 2009 at 08:53:32AM -0400, Gene Czarcinski wrote:
> > > 4.  Under qemu-kvm I created a simple Fedora guest definition.  I
> > > then copied and used a VMware F9 guest with a vmdk file which is
> > > HWversion=4 and was created under VMware on a SCSI interface disk.
> > > To make matters even worse, this VMware guest uses the "root" (/)
> > > partition on a LVM logical volume.  Boot the guest up on qemu-kvm
> > > and it immediately crashes because it cannot find "root" or see the
> > > logical volumes.
> >
> > I'm not really familiar with HWversion in VMWare.  We just support
> > whatever qemu / qemu-img supports, so I suggest trying to do a
> > conversion using qemu-img (see my previous posting).
>
> Another suggestion (from Matt Booth who's not subscribed to this
> list):
>
> Is the right SCSI driver available in the initrd?  You should be able
> to find out what driver(s) are in the guest's initrd using
> virt-inspector.

Light bulb lights above head!

Yup, yup ... thank you very much!  The problem is that the needed drivers are 
not in the initrd file.

Now I know what the problem is but "fixing" it will need some thought.

I knew it was something stupid on my part.

Thanks again.

Gene

___
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


Re: [et-mgmt-tools] VMware/qemu-kvm-?? migration

2009-07-16 Thread Richard W.M. Jones
On Thu, Jul 16, 2009 at 03:16:45PM +0100, Richard W.M. Jones wrote:
> On Wed, Jul 15, 2009 at 08:53:32AM -0400, Gene Czarcinski wrote:
> > 4.  Under qemu-kvm I created a simple Fedora guest definition.  I
> > then copied and used a VMware F9 guest with a vmdk file which is
> > HWversion=4 and was created under VMware on a SCSI interface disk.
> > To make matters even worse, this VMware guest uses the "root" (/)
> > partition on a LVM logical volume.  Boot the guest up on qemu-kvm
> > and it immediately crashes because it cannot find "root" or see the
> > logical volumes.
> 
> I'm not really familiar with HWversion in VMWare.  We just support
> whatever qemu / qemu-img supports, so I suggest trying to do a
> conversion using qemu-img (see my previous posting).

Another suggestion (from Matt Booth who's not subscribed to this
list):

Is the right SCSI driver available in the initrd?  You should be able
to find out what driver(s) are in the guest's initrd using
virt-inspector.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html

___
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


Re: [et-mgmt-tools] Virtio support in Windows

2009-07-16 Thread Richard W.M. Jones
On Wed, Jul 15, 2009 at 12:50:43PM +0200, Emre Erenoglu wrote:
> On Wed, Jul 15, 2009 at 3:02 AM, Andrew Cathrow  wrote:
> 
> > We can attach a virtual floppy during install containing the virtio block
> > driver to be used by the win2k3/xp/2k8/vista installers.
> > The user would have to select the driver from a list when they get to the
> > storage configuration screen in the installer but this works today.
> >
> 
> Are virtio block devices released for Windows?

Not yet, but shortly.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw

___
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


Re: [et-mgmt-tools] VMware/qemu-kvm-?? migration

2009-07-16 Thread Richard W.M. Jones
On Wed, Jul 15, 2009 at 08:53:32AM -0400, Gene Czarcinski wrote:
> 4.  Under qemu-kvm I created a simple Fedora guest definition.  I
> then copied and used a VMware F9 guest with a vmdk file which is
> HWversion=4 and was created under VMware on a SCSI interface disk.
> To make matters even worse, this VMware guest uses the "root" (/)
> partition on a LVM logical volume.  Boot the guest up on qemu-kvm
> and it immediately crashes because it cannot find "root" or see the
> logical volumes.

I'm not really familiar with HWversion in VMWare.  We just support
whatever qemu / qemu-img supports, so I suggest trying to do a
conversion using qemu-img (see my previous posting).

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top

___
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


Re: [et-mgmt-tools] virt-p2v problems

2009-07-16 Thread Richard W.M. Jones
On Wed, Jul 15, 2009 at 08:49:23AM -0300, Ribeiro Emerson Gomes wrote:
> Here goes the conf file:
> 
> [r...@blpc6]# cat p2v-emerson3_br_scania_com-200907150846.conf 
> 
> 
> 
>   emerson3_br_scania_com
>   3ffcff461be5cef1ff45ffe1bb71b17a
>   2095104
>   2095104
>   1
>   
> hvm
> /usr/lib/xen/boot/hvmloader
> 
>   
>   
> 
> 
> 
>   
>   
>   
> /usr/lib64/xen/bin/qemu-dm
> 
>   
> 
> 
> 
>file="/stage/blvd11/p2v-emerson3_br_scania_com-200907150846-hda.img"/>
>   
> 
>   
> 

This file looks fine to me, but the "expecting a name" error is still
worrying.  Unfortunately libvirt doesn't give any context for the
error, so the only way to diagnose it will be to remove sections of
the XML until it works, thus narrowing it down to some particular
place.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 75 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora

___
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools