Port-xen archive

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

Re: XEN command parameters for pciback(4)?





Le jeu. 19 mars 2020 à 13:21, Jaromír Doleček <jaromir.dolecek%gmail.com@localhost> a écrit :
I'm using classic multiboot parameters in boot.cfg:

Xen:load /netbsd-XEN3_DOM0;multiboot /xen.gz dom0_mem=2G,max:2G
autobaloon=0 console=com1 com1=115200,8n1 root=sd0a
pciback.hide=(001:00.1)(001:00.0)

Xen says:

(XEN) Xen version 4.2.5 (root@) (gcc (nb1 20160606) 5.5.0) Sun Jun 17
21:15:59 CEST 2018
(XEN) Latest ChangeSet: unavailable
(XEN) Bootloader: unknown
(XEN) Command line: dom0_mem=2G,max:2G autobaloon=0 console=com1
com1=115200,8n1 root=sd0a pciback.hide=(001:00.1)(001:00.0)

but for some reason the command line as received in NetBSD is empty.

Any ideas how can this be fixed?

FYI figured it out. Xen 4.2 passes only parameters after -- to Dom0 as xen_start_info.cmd_line, so the boot.cfg line actually should be:

Xen:load /netbsd-XEN3_DOM0;multiboot /xen.gz dom0_mem=2G,max:2G
autobaloon=0 console=com1 com1=115200,8n1 -- root=sd0a
pciback.hide=(001:00.1)(001:00.0) 

With this the pciback.hide is recognized by pciback(4) and it attaches. No idea if pciback(4) actually still works, but at least this initial hurdle is cleared.

Jaromir


Home | Main Index | Thread Index | Old Index