All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Tricca <flihp@twobit.us>
To: Chris Patterson <cjp256@gmail.com>
Cc: meta-virtualization@yoctoproject.org
Subject: Re: [PATCH] xen-guest-image-minimal: example image for a PV/HVM/PVHVM xen guest built with the 'xen-guest' kernel fragment.
Date: Mon, 07 Oct 2013 13:21:17 -0400	[thread overview]
Message-ID: <5252ED8D.4000600@twobit.us> (raw)
In-Reply-To: <1381094537-11576-4-git-send-email-cjp256@gmail.com>

I'm a bit confused about this one. Maybe it's my misunderstanding. Questions in line:

On 10/06/2013 05:22 PM, Chris Patterson wrote:
> Signed-off-by: Chris Patterson <cjp256@gmail.com>
> ---
>  recipes-extended/images/xen-guest-image-minimal.bb | 31 ++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>  create mode 100644 recipes-extended/images/xen-guest-image-minimal.bb
> 
> diff --git a/recipes-extended/images/xen-guest-image-minimal.bb b/recipes-extended/images/xen-guest-image-minimal.bb
> new file mode 100644
> index 0000000..05b0b61
> --- /dev/null
> +++ b/recipes-extended/images/xen-guest-image-minimal.bb
> @@ -0,0 +1,31 @@
> +DESCRIPTION = "A Xen PV guest image."
> +
> +inherit core-image
> +
> +IMAGE_INSTALL += " \
> +    packagegroup-core-boot \
> +    kernel-module-xen-acpi-processor \
> +    kernel-module-xen-blkback \
> +    kernel-module-xen-netback \
> +    kernel-module-xen-pciback \

For a minimal guest I'd expect you wouldn't want any of the *back drivers. Did you mean for these to be the *front drivers?

Cheers,
- Philip

> +    kernel-module-xen-pcifront \
> +    "
> +
> +IMAGE_INSTALL += "${@base_contains('DISTRO_FEATURES', 'x11', ' xf86-video-fbdev', '', d)}"
> +IMAGE_INSTALL += "${@base_contains('DISTRO_FEATURES', 'x11', ' xf86-video-vesa', '', d)}"
> +
> +LICENSE = "MIT"
> +
> +SYSLINUX_KERNEL_ARGS ?= "LABEL=boot ramdisk_size=32768 root=/dev/ram0 rootimg=rootfs.img rw console=hvc0 console=tty0 panic=10 debugshell=5"
> +
> +# syslinux is not required for PV guest configuration, but for HVM
> +build_syslinux_cfg () {
> +	echo "ALLOWOPTIONS 1" > ${SYSLINUXCFG}
> +	echo "DEFAULT boot" >> ${SYSLINUXCFG}
> +	echo "TIMEOUT 10" >> ${SYSLINUXCFG}
> +	echo "PROMPT 1" >> ${SYSLINUXCFG}
> +	echo "LABEL boot" >> ${SYSLINUXCFG}
> +	echo "  KERNEL /vmlinuz" >> ${SYSLINUXCFG}
> +	echo "  INITRD /initrd" >> ${SYSLINUXCFG}
> +	echo "  APPEND ${SYSLINUX_KERNEL_ARGS}" >> ${SYSLINUXCFG}
> +}
> 



  reply	other threads:[~2013-10-07 17:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-06 21:22 [PATCH] linux-yocto: Add xen guest kernel fragment support for PV/HVM guests, using 'xen-guest' distro flag Chris Patterson
2013-10-06 21:22 ` [PATCH] xen: add INSANE_SKIP flag 'already-stripped' to silence QA warnings about stripped qemu binaries Chris Patterson
2013-10-07 17:16   ` Philip Tricca
2013-10-06 21:22 ` [PATCH] xen: Add sdl support by including dependency for libsdl Chris Patterson
2013-10-06 21:22 ` [PATCH] xen-guest-image-minimal: example image for a PV/HVM/PVHVM xen guest built with the 'xen-guest' kernel fragment Chris Patterson
2013-10-07 17:21   ` Philip Tricca [this message]
2013-10-08 12:09     ` Chris Patterson
2013-10-06 21:22 ` [PATCH] xen-image-minimal: break out arguments for xen and linux kernel as variables SYSLINUX_XEN_ARGS and SYSLINUX_KERNEL_ARGS to allow modification/overwriting Chris Patterson
2013-10-07 17:22 ` [PATCH] linux-yocto: Add xen guest kernel fragment support for PV/HVM guests, using 'xen-guest' distro flag Philip Tricca
2013-10-08 11:57   ` Chris Patterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5252ED8D.4000600@twobit.us \
    --to=flihp@twobit.us \
    --cc=cjp256@gmail.com \
    --cc=meta-virtualization@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.