On 17/10/2007, <b class="gmail_sendername">Daniel P. Berrange</b> <<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> Does this mean I have to get hold of a different kernel for FC7 which is<br>> paravirtualized?<br><br>Yes.<br><br>> Can you help me find such a kernel or do I have to compile one myself?<br>> Is this the "kernel-xen" package or is kernel-xen intended to be used for
<br>> Dom0 (i.e. when fc7 is the host, not the guest)?<br><br>For the purposes of installing a brand new paravirt guest use the kernel<br>and initrd files from the directory   '$TREE/images/xen/', where $TREE is
<br>the mounted CDROM image, or Fedora HTTP download site.  Once installation<br>is complete, remove the kernel & ramdisk from the guest config and add<br>bootloader="/usr/bin/pygrub"</blockquote><div><br>OK, I got the files from 
<a href="http://mirror.bytemark.co.uk/fedora/linux/releases/7/Fedora/x86_64/os/images/xen/">http://mirror.bytemark.co.uk/fedora/linux/releases/7/Fedora/x86_64/os/images/xen/</a><br>and put them both under /boot of the host (Debian) and the guest (FC7) and used the following config file:
<br><br>kernel = '/boot/fc7-xen-vmlinuz'<br>ramdisk = '/boot/fc7-xen-initrd.img'<br>memory = 256<br>name = 'fc7-01'<br>root = '/dev/hda1 ro'<br>vif = ['type=ioemu, bridge=xenbr0']<br>
disk = ['phy:/dev/xen/fc7-01,ioemu:hda,w']<br>cdrom = 'file://root/iso/fc7/i386/boot.iso'<br>device_model='/usr/lib/xen-3.0.3-1/bin/qemu-dm'<br>boot='d'<br>sdl='1'<br><br></div>And it seems to run - device started, "xm list" lists it at "blocked" state, 
xend.log file ends like:<br><br>[2007-10-17 21:44:29 xend 2358] DEBUG (__init__:1072) Waiting for devices irq.<br>[2007-10-17 21:44:29 xend 2358] DEBUG (__init__:1072) Waiting for devices pci.<br>[2007-10-17 21:44:29 xend 2358] DEBUG (__init__:1072) Waiting for devices ioports.
<br>[2007-10-17 21:44:29 xend 2358] DEBUG (__init__:1072) Waiting for devices tap.<br>[2007-10-17 21:44:29 xend 2358] DEBUG (__init__:1072) Waiting for devices vtpm.<br>[2007-10-17 21:44:29 xend 2358] INFO (__init__:1072) Domain fc7-01 (36) unpaused.
<br><br>But I don't get any console window and don't see how to reach the console.<br><br>Just in case this is relevant - the Xen machine is a headless rack-mounted box in our machine room, no local desktop.<br>I open ssh to it with X11 forwarding and manage to run VNC viewer into the console of the Windows Xen guest.
<br><br>Thanks very much for your help.<br><br>--Amos<br><br></div>