okay the instance is created
# /usr/pkg/sbin/xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 1024 1 r----- 57.3
hvm-netbsd 1 256 1 r----- 237.2
but when I did a xm create -c I got this error, and again when I tried
to attach to the console
# /usr/pkg/sbin/xm console hvm-netbsd
xenconsole: Could not read tty from store: No such file or directory
I'm close. The config file is the same except the changes christoph suggested.
What can I do now?
On Sat, Aug 23, 2008 at 1:12 PM, Christoph Egger <Christoph_Egger@xxxxxx> wrote:
> 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
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|