From: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
To: Vilhelm Gyda <vilhelmgyda@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
qemu-devel@nongnu.org, qemu-trivial@nongnu.org,
philmd@linaro.org, richard.henderson@linaro.org,
eduardo@habkost.net
Subject: Re: [PATCH] Issue #2294 | Machine microvm doesn't run under Xen accel for x86_64
Date: Wed, 29 May 2024 13:09:20 +0300 [thread overview]
Message-ID: <CAAjaMXafs8fg9uPoksn_Nui7pvBfXDfvRAwuEGJr1RUC07taLw@mail.gmail.com> (raw)
In-Reply-To: <CADe4k3J9W-STUL5VvYM--7O+1WGnowqn3wUOy2QJo5nvZjLBuQ@mail.gmail.com>
On Wed, 29 May 2024 at 11:25, Vilhelm Gyda <vilhelmgyda@gmail.com> wrote:
>
> @philmd commented on gitlab: Discussed with @epilys on IRC, only Xen
> machines (xenpv/xenfv) configure Xen so can run under it.
>
> But if we want to make it work under Xen. Any ideas how to move in
> that direction?
We'd have to specify what "works under Xen" means; xen as a type 1
hypervisor? I am trying to think if it makes sense, Xen machines in
qemu already provide PV devices analogously to what microvm promises
to support. What would be the use case for a "hypervisor agnostic"
microvm machine?
>
> On Wed, May 29, 2024 at 12:37 PM Paolo Bonzini <pbonzini@redhat.com> wrote:
> >
> > On 5/28/24 12:23, Will Gyda wrote:
> > > Issue #2294: Machine microvm doesn't run under Xen accel for qemu-system-x86_64.
> > > Solution: microvm is now not build if only Xen is available.
> >
> > This does not fix the issue that microvm does not start with a Xen
> > accelerator. I think it would be better to try and make it work instead.
> >
> > Paolo
> >
> > > Signed-off-by: Will Gyda <vilhelmgyda@gmail.com>
> > >
> > > ---
> > > configs/devices/i386-softmmu/default.mak | 2 +-
> > > hw/i386/Kconfig | 2 ++
> > > 2 files changed, 3 insertions(+), 1 deletion(-)
> > >
> > > diff --git a/configs/devices/i386-softmmu/default.mak b/configs/devices/i386-softmmu/default.mak
> > > index 598c6646df..6a73aee7dd 100644
> > > --- a/configs/devices/i386-softmmu/default.mak
> > > +++ b/configs/devices/i386-softmmu/default.mak
> > > @@ -29,4 +29,4 @@
> > > CONFIG_ISAPC=y
> > > CONFIG_I440FX=y
> > > CONFIG_Q35=y
> > > -CONFIG_MICROVM=y
> > > +#CONFIG_MICROVM=n
> > > diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
> > > index a6ee052f9a..f8ec8ebd7a 100644
> > > --- a/hw/i386/Kconfig
> > > +++ b/hw/i386/Kconfig
> > > @@ -108,6 +108,8 @@ config Q35
> > >
> > > config MICROVM
> > > bool
> > > + default y
> > > + depends on KVM || WHPX || NVMM || HVF
> > > select SERIAL_ISA # for serial_hds_isa_init()
> > > select ISA_BUS
> > > select APIC
> >
>
--
Manos Pitsidianakis
Emulation and Virtualization Engineer at Linaro Ltd
next prev parent reply other threads:[~2024-05-29 10:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 10:23 [PATCH] Issue #2294 | Machine microvm doesn't run under Xen accel for x86_64 Will Gyda
2024-05-29 7:07 ` Paolo Bonzini
2024-05-29 8:24 ` Vilhelm Gyda
2024-05-29 10:09 ` Manos Pitsidianakis [this message]
2024-05-29 10:12 ` Manos Pitsidianakis
2024-05-29 10:56 ` Vilhelm Gyda
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=CAAjaMXafs8fg9uPoksn_Nui7pvBfXDfvRAwuEGJr1RUC07taLw@mail.gmail.com \
--to=manos.pitsidianakis@linaro.org \
--cc=eduardo@habkost.net \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=vilhelmgyda@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).