On 1/10/2023 1:36 PM, Brook Milligan wrote: > > On Jan 9, 2023, at 1:07 PM, Brad Spencer <b...@anduin.eldar.org> wrote: > > > > It will depend on how you ultimately want to run the DOMU, > > For now, I’m just trying to get something to work. > > > This is a ArchLinux config using HVM: > > kernel = "/usr/pkg/lib/xen/boot/hvmloader" > > builder='hvm' > > device_model_version="qemu-xen-traditional" > > memory = 2048 > > cpu_weight = 64 > > name = "archlinux" > > vif = [ 'bridge=bridge4, type=ioemu' ] > > disk = [ 'phy:/dev/mapper/rustvg0-archlinuxlv0,ioemu:hda,w' ] > > boot='c' > > vfb = [ 'type=vnc,vnclisten=10.1.2.1' ] > > This is helpful as it seems to make a bit of progress. > > I downloaded a Debian image and tried to create a Xen instance with the > following conf file modeled after yours: > > kernel = "/usr/pkg/lib/xen/boot/hvmloader" > builder='hvm' > device_model_version="qemu-xen-traditional" > memory = 2048 > cpu_weight = 64 > name = "debian" > vif = [ 'mac=aa:00:00:d1:00:09,bridge=bridge0' ] > disk = [ 'file:/path/to/xen/debian-live-11.6.0-amd64-cinnamon.iso,hda,w', ] > boot='c' > vfb = [ 'type=vnc,vnclisten=X.X.X.X' ]
I haven't used Xen on NetBSD in a while, but: I think vfb is only for PV guests, so try commenting out that line. For hvm, I recommend setting: vga = 'stdvga' videoram = '16' The default vga is cirrus, but I think it can only have 4 MB videoram. With 16 MB videoram, you can do 1920x1080 resolution. Also, use: vnclisten = 'X.X.X.X' vncdisplay = '1' instead of inside the vfb configuration which you can comment out. make sure X.X.X.X is the IP address of a network interface on Dom0. vncdisplay of 1 is port 5901, 2 is 5902, etc. Those are my suggestions. Kind regards, Chuck > > I get the following message: > > WARNING: you seem to be using "kernel" directive to override HVM guest > firmware. Ignore that. Use "firmware_override" instead if you really want a > non-default firmware > > Is this something to worry about? > > More importantly, I am not able to connect to the running instance. > Connecting with “xl console” just hangs. Perhaps vnc should work, but I’m > not sure how to do that. I have tried vncviewer commands that are analogous > to what I use for other systems, but nothing connects, despite trying several > different IP addresses for the vfb. Do I also need to define a display? > > I’m not sure how to see what is actually running. Does anyone have a > known-good image and conf file to share (off list). > > Any suggestions welcome. > > Thanks a lot. > > Cheers, > Brook >