qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Cc: "Eduardo Habkost" <ehabkost@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Richard Henderson" <rth@twiddle.net>
Subject: Re: [PATCH v1 1/6] hw/i386/x86-iommu: Add missing stubs
Date: Tue, 7 Jan 2020 15:57:26 +0100	[thread overview]
Message-ID: <3c8073ed-6e26-73d4-433f-e7ed6a36eb81@redhat.com> (raw)
In-Reply-To: <20200107135311.5215-2-alex.bennee@linaro.org>

On 07/01/2020 14.53, Alex Bennée wrote:
> From: Philippe Mathieu-Daudé <philmd@redhat.com>
> 
> In commit 6c730e4af9 we introduced a stub to build the MicroVM
> machine without Intel IOMMU. This stub is incomplete for the
> other PC machines. Add the missing stubs.
> 
> Fixes: 6c730e4af9
> Reported-by: Travis-CI
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Tested-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
> Message-Id: <20191220154225.25879-1-philmd@redhat.com>
> ---
>  hw/i386/x86-iommu-stub.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/hw/i386/x86-iommu-stub.c b/hw/i386/x86-iommu-stub.c
> index 03576cdccb4..c5ba077f9d1 100644
> --- a/hw/i386/x86-iommu-stub.c
> +++ b/hw/i386/x86-iommu-stub.c
> @@ -32,3 +32,12 @@ X86IOMMUState *x86_iommu_get_default(void)
>      return NULL;
>  }
>  
> +bool x86_iommu_ir_supported(X86IOMMUState *s)
> +{
> +    return false;
> +}
> +
> +IommuType x86_iommu_get_type(void)
> +{
> +    abort();
> +}

I just ran into this issue today, too ... good to know that there is
already a patch :-)

Reviewed-by: Thomas Huth <thuth@redhat.com>



  reply	other threads:[~2020-01-07 14:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-07 13:53 [PATCH v1 0/6] current testing/next (python and other fixes) Alex Bennée
2020-01-07 13:53 ` [PATCH v1 1/6] hw/i386/x86-iommu: Add missing stubs Alex Bennée
2020-01-07 14:57   ` Thomas Huth [this message]
2020-01-07 13:53 ` [PATCH v1 2/6] tests/vm: update openbsd to release 6.6 Alex Bennée
2020-01-07 13:53 ` [PATCH v1 3/6] freebsd: use python37 Alex Bennée
2020-01-07 13:53 ` [PATCH v1 4/6] travis.yml: avocado: Print logs of non-pass tests only Alex Bennée
2020-01-07 13:53 ` [PATCH v1 5/6] travis.yml: Detach build and test steps Alex Bennée
2020-01-07 15:24   ` Thomas Huth
2020-01-07 13:53 ` [PATCH v1 6/6] travis: install homebrew python for OS X Alex Bennée
2020-01-07 15:18   ` Marc-André Lureau
2020-01-07 19:10   ` Philippe Mathieu-Daudé
2020-01-08  7:00     ` Alex Bennée
2020-01-08 10:48       ` Philippe Mathieu-Daudé
2020-01-08 10:58       ` Daniel P. Berrangé

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=3c8073ed-6e26-73d4-433f-e7ed6a36eb81@redhat.com \
    --to=thuth@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=ehabkost@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=wainersm@redhat.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).