All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: Bertrand Marquis <Bertrand.Marquis@arm.com>
Cc: "christopher.w.clark@gmail.com" <christopher.w.clark@gmail.com>,
	"meta-virtualization@lists.yoctoproject.org"
	<meta-virtualization@lists.yoctoproject.org>,
	"cardoe@cardoe.com" <cardoe@cardoe.com>,
	"dpsmith@apertussolutions.com" <dpsmith@apertussolutions.com>,
	"scott.davis@starlab.io" <scott.davis@starlab.io>,
	Diego Sueiro <Diego.Sueiro@arm.com>,
	"jdmason@kudzu.us" <jdmason@kudzu.us>
Subject: Re: [meta-virtualization][PATCH v2 1/3] xen, xen-tools: add recommendation for Qemu for non-hvm x86
Date: Fri, 29 Apr 2022 09:30:06 -0400	[thread overview]
Message-ID: <CADkTA4MhC2yN4-At7MUy8JHPme5O8kzT-Cj4u6wPnfHuZ=n7nA@mail.gmail.com> (raw)
In-Reply-To: <C3A15DC1-B8FA-41D5-9408-295188560535@arm.com>

On Fri, Apr 29, 2022 at 9:23 AM Bertrand Marquis
<Bertrand.Marquis@arm.com> wrote:
>
> Hi Christopher,
>
> > On 28 Apr 2022, at 01:06, Christopher Clark via lists.yoctoproject.org <christopher.w.clark=gmail.com@lists.yoctoproject.org> wrote:
> >
> > The Spectre and Meltdown mitigations for Xen run PV guests within
> > HVM virtual machines, so Qemu is no longer only needed for systems
> > configured to run HVM guests.
> >
> > With the split xen hypervisor and tools recipes, the bios dependencies
> > belong in the tools recipe, so move them and replace the hvm
> > PACKAGECONFIG option with the recommendation based on target arch.
> >
> > Signed-off-by: Christopher Clark <christopher.clark@starlab.io>
> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
>
> I can build and run on x86 qemu and I get stuck during init in Dom0 (which is apparently already known).
>

It is likely the xencommond init.d still causing issues.

I'm doing a revert of all those changes locally, and will start some tests.

Bruce

> Cheers
> Bertrand
>
>
> > ---
> > Unchanged since v1
> >
> > recipes-extended/xen/xen-tools.inc | 9 ++-------
> > recipes-extended/xen/xen.inc       | 6 +++---
> > 2 files changed, 5 insertions(+), 10 deletions(-)
> >
> > diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc
> > index 6bbc8cd..54bc477 100644
> > --- a/recipes-extended/xen/xen-tools.inc
> > +++ b/recipes-extended/xen/xen-tools.inc
> > @@ -30,14 +30,9 @@ RDEPENDS:${PN} = "\
> >
> > RDEPENDS:${PN}-dev = ""
> >
> > -# Qemu is necessary on ARM platforms, and to support HVM guests on x86
> > -QEMU = "${@bb.utils.contains('PACKAGECONFIG', 'hvm', 'qemu', '', d)}"
> > -QEMU:arm = "qemu"
> > -QEMU:aarch64 = "qemu"
> > -
> > RRECOMMENDS:${PN} = " \
> > -    ${QEMU} \
> > -    ${@bb.utils.contains('PACKAGECONFIG', 'hvm', 'seabios', '', d)} \
> > +    qemu \
> > +    ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', 'seabios ipxe vgabios', '', d)} \
> >     ${@bb.utils.contains('PACKAGECONFIG', 'externalblktap', '', '${BLKTAP_RRECOMMENDS}', d)} \
> >     ${PN}-flask \
> >     ${PN}-hvmloader \
> > diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
> > index 8b86de5..4c38ccf 100644
> > --- a/recipes-extended/xen/xen.inc
> > +++ b/recipes-extended/xen/xen.inc
> > @@ -9,13 +9,11 @@ require xen-arch.inc
> > PACKAGECONFIG ??= " \
> >     sdl \
> >     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
> > -    ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', 'hvm', '', d)} \
> >     "
> >
> > PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
> > PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
> > PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd,"
> > -PACKAGECONFIG[hvm] = "--with-system-seabios="/usr/share/firmware/bios.bin",--disable-seabios,seabios ipxe vgabios,"
> > PACKAGECONFIG[externalblktap] = ",,,"
> >
> > DEPENDS = " \
> > @@ -132,7 +130,9 @@ EXTRA_OECONF += " \
> >     --disable-rombios \
> >     --disable-ocamltools \
> >     --disable-qemu-traditional \
> > -    ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', '--enable-pvshim', '--disable-pvshim', d)} \
> > +    ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', \
> > +        '--enable-pvshim --with-system-seabios="/usr/share/firmware/bios.bin"', \
> > +        '--disable-pvshim --disable-seabios', d)} \
> >     "
> >
> > EXTRA_OEMAKE += "STDVGA_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios-0.7a.bin"
> > --
> > 2.25.1
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#7226): https://lists.yoctoproject.org/g/meta-virtualization/message/7226
> > Mute This Topic: https://lists.yoctoproject.org/mt/90743682/3619089
> > Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> > Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bertrand.marquis@arm.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
> 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.



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


  reply	other threads:[~2022-04-29 13:30 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-28  0:06 [meta-virtualization][PATCH v2 0/3] Xen: improve Qemu integration Christopher Clark
2022-04-28  0:06 ` [meta-virtualization][PATCH v2 1/3] xen, xen-tools: add recommendation for Qemu for non-hvm x86 Christopher Clark
2022-04-29 13:23   ` Bertrand Marquis
2022-04-29 13:30     ` Bruce Ashfield [this message]
2022-04-29 13:40       ` Bertrand Marquis
2022-05-05 14:44         ` Bruce Ashfield
2022-05-05 14:46           ` Bertrand Marquis
2022-05-06 13:03           ` Bertrand Marquis
2022-05-06 13:39             ` Bruce Ashfield
2022-05-06 15:08               ` Bertrand Marquis
2022-05-06 16:26                 ` Bruce Ashfield
     [not found]                 ` <16EC90D8EC771C3B.14104@lists.yoctoproject.org>
2022-05-06 20:11                   ` Bruce Ashfield
     [not found]                   ` <16EC9D21932CCA78.5869@lists.yoctoproject.org>
2022-05-09  3:07                     ` Bruce Ashfield
2022-04-28  0:06 ` [meta-virtualization][PATCH v2 2/3] qemuboot, xen-image-minimal: enable runqemu for qemuarm Xen images Christopher Clark
2022-04-29 13:39   ` Bertrand Marquis
2022-04-29 18:12     ` Christopher Clark
2022-04-28  0:06 ` [meta-virtualization][PATCH v2 3/3] xen images, qemuboot: configure xenbr0 bridge for runqemu, testimage Christopher Clark
2022-04-28 15:04 ` [meta-virtualization][PATCH v2 0/3] Xen: improve Qemu integration Bertrand Marquis
2022-05-09 12:47 ` Bruce Ashfield
2022-05-09 13:00   ` Bertrand Marquis
2022-05-09 13:30     ` Bruce Ashfield
2022-05-09 13:58       ` Bertrand Marquis
2022-05-09 15:53         ` Bruce Ashfield
2022-05-09 15:57           ` Bertrand Marquis
2022-05-09 16:45             ` Bruce Ashfield
2022-05-09 15:58           ` Christopher Clark
2022-05-09 15:43   ` Bertrand Marquis

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='CADkTA4MhC2yN4-At7MUy8JHPme5O8kzT-Cj4u6wPnfHuZ=n7nA@mail.gmail.com' \
    --to=bruce.ashfield@gmail.com \
    --cc=Bertrand.Marquis@arm.com \
    --cc=Diego.Sueiro@arm.com \
    --cc=cardoe@cardoe.com \
    --cc=christopher.w.clark@gmail.com \
    --cc=dpsmith@apertussolutions.com \
    --cc=jdmason@kudzu.us \
    --cc=meta-virtualization@lists.yoctoproject.org \
    --cc=scott.davis@starlab.io \
    /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.