From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: Error report from attempt to run an HVM instance Date: Sat, 23 Aug 2008 22:12:14 +0200 Message-ID: <48B06F1E.7040709@gmx.de> References: <3dc350d00808231122m573b081ck33eaa8a4040ba3d5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3dc350d00808231122m573b081ck33eaa8a4040ba3d5@mail.gmail.com> Sender: port-xen-owner@NetBSD.org To: Michael Litchard Cc: port-xen@netbsd.org, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Michael Litchard wrote: > Tried to run an HVM instance, here's the error report I got. > [...] > kernel = "/usr/pkg/lib/xen/boot/hvmloader" > > builder='hvm' > > # Initial memory allocation (in megabytes) for the new domain. > memory = 256 > > # A name for your domain. All domains must have different names. > name = "hvm-netbsd" > > #Network interface. By default emules a realtek 8139. For a NetBSD guest you > # have to disable re(4) and let rtk attach to use it. > # ne2k_pci emulates a pci ne2000 clone; this his cpu-hungry in dom0 > # pcnet emulates a AMD PCnet-PCI controller; but it corrupts packets with > # pcn(4) under NetBSD. > #vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu, model=ne2k_pci' ] > #vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu, model=pcnet' ] > vif = [ 'mac=00:16:3e:00:00:13, bridge=bridge0, type=ioemu' ] > > #---------------------------------------------------------------------------- > # device model to use: only qemu-dm available for now > device_model = '/usr/pkg/libexec/qemu-dm' > > # Define the disk devices you want the domain to have access to, and > # what you want them accessible as. > # Each disk entry is of the form phy:UNAME,DEV,MODE > # where UNAME is the device, DEV is the device name the domain will see, > # and MODE is r for read-only, w for read-write. > # For hvm domains you can only use hda to hdd. You can set extra types > # (e.g. cdrom) > > disk = [ 'file:/sys/domains/domU3/amd64cd.iso,ioemu:hdc:cdrom,r' ] > > disk = ['phy:/dev/wd0i,ioemu:hdb,w'] Replace these two disk lines by this: disk = [ 'phy:/dev/wd0i,ioemu:hdb,w', 'file:/sys/domains/domU3/amd64cd.iso,ioemu:hdc:cdrom,r' ] Christoph