[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Load Xen domU (guest) kernel over TFTP
Hello, On 31/01/2020 09:18, Camden Mannett wrote: I have a Xen dom0 instance that has its kernel and DTB loaded over TFTP (via a U-Boot script), and its root FS loaded over NFS. I would like any domU (guest) instances to behave the same, but I'm struggling to find out how to load over TFTP - for example: kernel = "my_kernel" device_tree = "my_dt.dtb" For what is worth, this option is only necessary if you are going to passthrough a device to your guest. This is also a partial device-tree to provide information about the device you are about to passthrough. The rest of the device-tree is created by the toolstack. Could you expand what you mean by this does not work? From my testing, xenpvnetboot does not require a ramdisk.name = "guest1" memory = 1024 vcpus = 2 extra = "rw nfsroot=192.168.0.1:/guest1,tcp,v3 earlyprintk=xenboot console=hvc0 ip=:::::eth0:dhcp" nfs_root = "/guest1" nfs_server = "10.32.209.10" root = "/dev/nfs" dhcp = 'dhcp' nics = 1 vif = [ 'mac=aa:00:00:00:00:01' ] vfb = [ 'type=vnc,vncdisplay=1' ] Having the guest kernel and DTB loaded from dom0's filesystem works, but attempting to change the relevant paths to TFTP (xenpvnetboot style): kernel = "tftp://192.168.0/1/my_kernel" device_tree = "tftp://192.168.0.1/my_dt.dtb" This doesn't work. I can't use xenpvnetboot as it requires a ramdisk image, which I don't use. However, the script will not be able to deal with the device-tree. But I am not entirely why you are trying to load a device-tree here given your options doesn't show an device passthrough. Any ideas how I can load a kernel and DTB into a domU instance over TFTP? IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. Please avoid sending e-mail with disclaimer on public mailing list. Best regards, -- Julien Grall _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |