Hi list.

I've used Xen to run a VM on my workstation for testing, but for various
reasons (one of which is that I didn't like the Fedora 7 libvirt UI and
couldn't be bothered to learn the xen command line syntax) I decided
that I want to try out KVM. 
I'm using Fedora 7, and to get a recent kernel I need to use a non-xen
kernel (The latest xen enabled kernel for Fedora 7 is 2.6.20, while the
latest "standard" kernel is 2.6.22) - so I can use either Xen or KVM.

As KVM (using qemu for IO) supports the Xen image format, I thought I'd
give it a try and load the Xen VM. The VM is a Fedora rawhide from about
a month ago, and have several kernels installed on it. When I try to
boot it with kvm, no matter what kernel I choose, I get these messages
when the kernel loads:

device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[EMAIL PROTECTED]
  Reading all physical volumes.  This may take a while...
  No volume groups found
  Volume group "VolGroup00" not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

And that is it. The Xen VM was installed using logical volume
management, and it looks like under KVM it doesn't manage to find it.

If I understood correctly (and I probably haven't), the para-virtualized
Xen VM's kernel was booting using a kernel that is stored on the host's
(domain0) file system, right ? how can I mimic the same situation with
kvm ? qemu command line takes a -kernel parameter that supposedly would
boot the specified kernel image, but I don't know what to give to it and
it doesn't seem to like any of the kernel's under the host's /boot
directory.

Anyway - in case I'm spewing nonsense, feel free to correct me on any
aspect that I was wrong with, and I would also appreciate suggestions as
to how might I boot my Xen VM under KVM.

Thanks in advance.

-- 

Oded


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to