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

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


  • To: "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • From: Camden Mannett <Camden.Mannett@xxxxxxx>
  • Date: Fri, 31 Jan 2020 09:18:50 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MNe1U6HP1GmSng21g0NQZ2sSRfXcyoWOkLk8ZU38xPU=; b=cfUelGGbKuC6EB+BA2w4GDAa7aJRVEJA2GE8n2ZhtbwSUk8JSL6TcLLnExupAS+m0LdKcG0eSbZfurLXxEvlvcvAyU4PgMB6JbowjR12ZJ2BeKLn+kMM3aafQbXhIULTpF/SyNY8knriAxf48zkZG7tgqI1vihwkgDuqoG6zQs33L7p1bSc4C/P4RhHfDH5y4KC0jEuccUftQCypIG1s/5tFCa1jLtYD5rhEE7f8gVavUXPFUuHmyAJg15JGAs6rE4D0LSdL9Az6TBP2IHXf1JrRN3CaVXzvWN6pQjg0h5uo3MFZwZMYFUn9ZqGVE/KdjcUEzQ2GzvTmXJEZzLuShQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SzuEVKiyXAF20SlgmqW65d3fhVrUMdLv4jdkNM3Mn83T0EwEOpwMICCKqDPUVFjEBG1vB6saqjZnQ037MEhuAmLCRew8nMl2u1I7REQmTsIRPSeuExC9xhF7p3WV3hNKnvnTNfEe2+jWoYiF8449vt0nCmmeMKJWRIY/1Ympt5tNKFCAPk/eoBpaIXy6mAEU8O1cUCQGA4b91H10pTb2cIce967leewtDCdqxWx1rKABosXPFoPuYsmKYBEfbJTfPWqy2s8zBTCzfiV9V3JLSuDxGyBiuLIauv/AsaMF8gHbKvimPiapMvE4CO6YwXCjUG6lPcztZn6Vq9A99zJEeg==
  • Authentication-results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.xenproject.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.xenproject.org; dmarc=bestguesspass action=none header.from=arm.com;
  • Authentication-results-original: spf=none (sender IP is ) smtp.mailfrom=Camden.Mannett@xxxxxxx;
  • Delivery-date: Fri, 31 Jan 2020 09:20:20 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Camden.Mannett@xxxxxxx;
  • Thread-index: AQHV2BcvigrFWH2CqE2FesqxSov/KA==
  • Thread-topic: Load Xen domU (guest) kernel over TFTP

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

 


Rackspace

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