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

Re: [Xen-users] Load Xen domU (guest) kernel over TFTP



Just a workaround, mbootpack allows you to compact both kernels into one. It 
was used a while ago to deal with bootloaders without Multiboot. Not super 
flexible solution, but a workaround 


> On 31 Jan 2020, at 12:18, Camden Mannett <Camden.Mannett@xxxxxxx> 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"
>    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.
> 
> 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.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/mailman/listinfo/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.