This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Starting basic HVM -- where am I going wrong?

On Sat, Jul 09, 2011 at 07:39:51AM -0700, Sam Mulvey wrote:
>      name="win7"
>      description="Windows 7 x64"
>      uuid="1ec1ad8e-02b8-77ed-a215-faa992f53f4a"
>      memory=1024
>      maxmem=1024
>      vcpus=1
>      on_poweroff="destroy"
>      on_reboot="restart"
>      on_crash="destroy"
>      localtime=1
>      keymap="en-us"
>      builder="hvm"
>      device_model="/usr/lib/xen/bin/qemu-dm"
>      kernel="/usr/lib/xen/boot/hvmloader"
>      boot="c"

>      disk=[ 'phy:/dev/sr0,hda:cdrom,r',
>      'file:/var/lib/xen/images/win7/disk0.img,hdc,w', ]

Boot/system disk is most often hda, and cdrom is hdc,
so you might want to swap the order..

Dunno if that'll make a difference, but HVM guests
definitely do work on 4.0 and 4.1 versions.

(Unless if you have a gcc 4.6, then you need extra patch,
which is already in xen 4.x trees.)

>      vif=[ 'mac=00:16:3e:22:c4:5b,bridge=br0,model=rtl8139', ]

Consider using 'e1000' instead, that's the best emulated NIC available.

-- Pasi

Xen-users mailing list