All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] xen 4.3.0 recipe and updated xen-image-minimal
@ 2013-08-30  3:37 Chris Patterson
  2013-08-30  3:37 ` [PATCH 1/4] linux-yocto: add kernel fragment and scc for xen dom0 kernel support Chris Patterson
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Chris Patterson @ 2013-08-30  3:37 UTC (permalink / raw)
  To: meta-virtualization

This set of patches should provide a user with the ability to generate a xen 4.3.0 based dom0 image.

[NOTES]

With these patches, xen-image-minimal requires "xen" and "aufs" to be present in DISTRO_FEATURES to function correctly.  

[DISTRO TESTING]

This image has been tested using:

machine=sugarbay
DISTRO_FEATURES += " aufs xen"

[BUILDING IMAGE]

bitbake xen-image-minimal

[QEMU BUILD TESTING]

To start up and test core-image-xen using kvm on hardware supporting nested virtualization:

kvm -hda deploy/images/xen-image-minimal-sugarbay.hddimg -cpu host -no-kvm-irqchip -m 4096 -net nic,model=e1000 -net user -serial stdio

..or..

kvm -hdc deploy/images/xen-image-minimal-sugarbay.iso -cpu host -no-kvm-irqchip -m 4096 -net nic,model=e1000 -net user -serial stdio

[XEN TESTING]

To test the runtime core-image-xen and boot a debian PV virtual machine:

# bring up networking
ifconfig eth0 up
brctl addbr br0
brctl addif br0 eth0
udhcpc -i br0

# place test debian vm in /test/debian
mkdir -p /test/debian
cd /test/debian

# pull example kernel, initrd
wget http://ftp.debian.org/debian/dists/wheezy/main/installer-amd64/current/images/netboot/xen/initrd.gz
wget http://ftp.debian.org/debian/dists/wheezy/main/installer-amd64/current/images/netboot/xen/vmlinuz

# create 4G disk
truncate -s 4096M disk.img

cat > debian.cfg << EOF
kernel = "/test/debian/vmlinuz"
ramdisk = "/test/debian/initrd.gz"
extra = "debian-installer/exit/always_halt=true -- console=hvc0"
vif = ['bridge=br0']
memory = "256"
name = "debian"
disk = ['file:/test/debian/disk.img,xvda,w']
EOF

xl -v create -d debian.cfg

xl console debian

Chris Patterson (4):
  linux-yocto: add kernel fragment and scc for xen dom0 kernel support.
  linux-yocto: add optional support for aufs and xen using
    DISTRO_FEATURES.
  xen: add 4.3.0 recipe.
  xen-image-minimal: update image to support xen 4.3.0 base with xl
    toolstack.

 recipes-extended/images/xen-image-initramfs.bb     |   17 +
 recipes-extended/images/xen-image-minimal.bb       |   55 +-
 .../initrdscripts/files/init-boot-xen.sh           |  205 +++++++
 .../initrdscripts/initramfs-boot-xen_1.0.bb        |   16 +
 recipes-extended/xen/xen_4.3.0.bb                  |  623 ++++++++++++++++++++
 recipes-kernel/linux/linux-yocto/xen.cfg           |   53 ++
 recipes-kernel/linux/linux-yocto/xen.scc           |    4 +
 recipes-kernel/linux/linux-yocto_3.4.bbappend      |    6 +
 recipes-kernel/linux/linux-yocto_3.8.bbappend      |    6 +
 9 files changed, 978 insertions(+), 7 deletions(-)
 create mode 100644 recipes-extended/images/xen-image-initramfs.bb
 create mode 100644 recipes-extended/initrdscripts/files/init-boot-xen.sh
 create mode 100644 recipes-extended/initrdscripts/initramfs-boot-xen_1.0.bb
 create mode 100644 recipes-extended/xen/xen_4.3.0.bb
 create mode 100644 recipes-kernel/linux/linux-yocto/xen.cfg
 create mode 100644 recipes-kernel/linux/linux-yocto/xen.scc

-- 
1.7.10.4



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2013-09-09  3:14 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-30  3:37 [PATCH 0/4] xen 4.3.0 recipe and updated xen-image-minimal Chris Patterson
2013-08-30  3:37 ` [PATCH 1/4] linux-yocto: add kernel fragment and scc for xen dom0 kernel support Chris Patterson
2013-08-30  5:32   ` Bruce Ashfield
2013-09-01  2:12     ` Chris Patterson
2013-09-01  4:01       ` Bruce Ashfield
2013-09-01 14:42         ` Chris Patterson
2013-09-09  2:23     ` Chris Patterson
2013-09-09  3:14       ` Bruce Ashfield
2013-08-30  3:37 ` [PATCH 2/4] linux-yocto: add optional support for aufs and xen using DISTRO_FEATURES Chris Patterson
2013-08-30  5:34   ` Bruce Ashfield
2013-08-30  3:37 ` [PATCH 3/4] xen: add 4.3.0 recipe Chris Patterson
2013-08-30  3:37 ` [PATCH 4/4] xen-image-minimal: update image to support xen 4.3.0 base with xl toolstack Chris Patterson
2013-08-30  5:36   ` Bruce Ashfield
2013-09-01  4:41     ` Chris Patterson
2013-09-01 14:25       ` Chris Patterson
2013-09-02  3:08         ` Bruce Ashfield
2013-09-08 22:54       ` Philip Tricca
2013-08-30  5:39 ` [PATCH 0/4] xen 4.3.0 recipe and updated xen-image-minimal Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.