Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dom0 pvh, old projects



On Sat, Sep 14, 2024 at 07:14:08PM -0400, Greg Troxel wrote:
> Manuel Bouyer <bouyer%antioche.eu.org@localhost> writes:
> 
> >> menu=Xen PV:gop 6;load /netbsd-XEN3_DOM0.gz bootdev=dk1 rndseed=/var/db/entropy-file console=pc;multiboot /xen.gz cet=no-ibt console=vga dom0_mem=12000M
> >> menu=Xen PVH:gop 6;load /netbsd bootdev=dk1 rndseed=/var/db/entropy-file console=pc;multiboot /xen.gz cet=no-ibt console=vga dom0=pvh dom0_mem=12000M
> >
> > My boot line is similar:
> > menu=Boot Xen:load /netbsd root=ld0 console=pc;multiboot /xen-debug.gz dom0_mem=24G console=vga dom0=pvh
> >
> > But I also have
> > userconf=disable i915drmkms*
> > userconf=disable nouveau*
> > userconf=disable radeon*
> 
> A good hint but my hardware is too new to have anything recognized:
> 
>   genfb0 at pci0 dev 2 function 0: Intel Alder Lake Graphics (32EU) (rev. 0x0c)
>   genfb0: framebuffer at 0x4000000000, size 1920x1200, depth 32, stride 7680
>   wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
>   wsmux1: connecting to wsdisplay0
>   drm at genfb0 not configured
> 
> > And my kernel config file is:
> > include "arch/amd64/conf/GENERIC"
> >
> > # DRMKMS driver
> > no i915drmkms*     at pci?
> > no radeon*         at pci?
> > no nouveau*        at pci?
> > no options      DRM_LEGACY
> >
> > options         DOM0OPS
> > pseudo-device  xenevt
> > pseudo-device  xvif
> > pseudo-device  xbdback
> >
> > no options DDB_COMMANDONENTER
> > #options DDB_COMMANDONENTER="trace"
> 
> So:
> 
>   - It seems DOM0OPS is necessary and that makes sense.
> 
>     + Will GENERIC with DOM0OPS still boot bare metal?

It should; if it doesn't it's a bug

>     + Should it be in GENERIC?
>     + Should we have XEN3_DOM0PVH with this defined?

At some point I'd expect it to be in GENERIC; but let it get out of
experimental state first

> 
>   - The other pseudodevices are the dom0 halves of the pv ops.
>   
>     + Will GENERIC with these still boot bare metal?

It should too

>     + Should they be in GENERIC?
>     + Should we have XEN3_DOM0PVH with this defined?

see above

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index