qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>, qemu-devel@nongnu.org
Cc: Laurent Vivier <lvivier@redhat.com>,
	1896263@bugs.launchpad.net, Thomas Huth <thuth@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Igor Mammedov <imammedo@redhat.com>,
	Vitaly Kuznetsov <vkuznets@redhat.com>
Subject: Re: [PATCH] bios-tables-test: Remove kernel-irqchip=off option
Date: Wed, 23 Sep 2020 04:46:21 +0200	[thread overview]
Message-ID: <4fd276da-3397-c315-b8b3-6166c92ae01c@redhat.com> (raw)
In-Reply-To: <20200922194732.2100510-1-ehabkost@redhat.com>

On 22/09/20 21:47, Eduardo Habkost wrote:
> We don't need to use kernel-irqchip=off for irq0 override if IRQ
> routing is supported by the host, which is the case since 2009
> (IRQ routing was added to KVM in Linux v2.6.30).
> 
> This is a more straightforward fix for Launchpad bug #1896263, as
> it doesn't require increasing the complexity of the MSR code.
> kernel-irqchip=off is for debugging only and there's no need to
> increase the complexity of the code just to work around an issue
> that was already fixed in the kernel.
> 
> Fixes: https://bugs.launchpad.net/bugs/1896263
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
>  tests/qtest/bios-tables-test.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
> index a9c8d478aee..27e8f0a1cb7 100644
> --- a/tests/qtest/bios-tables-test.c
> +++ b/tests/qtest/bios-tables-test.c
> @@ -663,8 +663,7 @@ static void test_acpi_one(const char *params, test_data *data)
>              data->uefi_fl1, data->uefi_fl2, data->cd, params ? params : "");
>  
>      } else {
> -        /* Disable kernel irqchip to be able to override apic irq0. */
> -        args = g_strdup_printf("-machine %s,kernel-irqchip=off %s -accel tcg "
> +        args = g_strdup_printf("-machine %s %s -accel tcg "
>              "-net none -display none %s "
>              "-drive id=hd0,if=none,file=%s,format=raw "
>              "-device %s,drive=hd0 ",
> 

Queued, thanks.

Paolo



  parent reply	other threads:[~2020-09-23  2:48 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-18 17:08 [Bug 1896263] [NEW] The bios-tables-test test causes QEMU to crash (Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed) on AMD processors Apteryx
2020-09-21 11:31 ` Stefan Hajnoczi
2020-09-21 11:31   ` Stefan Hajnoczi
2020-09-21 13:50 ` [Bug 1896263] " Laurent Vivier
2020-09-22  9:05   ` Laurent Vivier
2020-09-22 14:07     ` Laurent Vivier
2020-09-22 15:14 ` [PATCH] i386: Don't try to set MSR_KVM_ASYNC_PF_EN if kernel-irqchip=off Eduardo Habkost
2020-09-22 15:14   ` [Bug 1896263] " Eduardo Habkost
2020-09-22 15:38   ` Vitaly Kuznetsov
2020-09-22 15:38     ` [Bug 1896263] " Vitaly Kuznetsov
2020-09-22 16:10     ` Eduardo Habkost
2020-09-22 16:10       ` [Bug 1896263] " Eduardo Habkost
2020-09-22 16:42       ` Vitaly Kuznetsov
2020-09-22 16:42         ` Vitaly Kuznetsov
2020-09-22 17:22         ` Eduardo Habkost
2020-09-22 17:22           ` [Bug 1896263] " Eduardo Habkost
2020-09-22 17:26           ` Paolo Bonzini
2020-09-22 19:39             ` Eduardo Habkost
2020-09-22 19:39               ` [Bug 1896263] " Eduardo Habkost
2020-09-22 19:49               ` Paolo Bonzini
2020-09-22 19:47 ` [PATCH] bios-tables-test: Remove kernel-irqchip=off option Eduardo Habkost
2020-09-22 19:47   ` [Bug 1896263] " Eduardo Habkost
2020-09-23  2:46   ` Paolo Bonzini [this message]
2020-11-08  9:51 ` [Bug 1896263] Re: The bios-tables-test test causes QEMU to crash (Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed) on AMD processors Thomas Huth
2020-12-10  8:43 ` Thomas Huth

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=4fd276da-3397-c315-b8b3-6166c92ae01c@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=1896263@bugs.launchpad.net \
    --cc=dgilbert@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=thuth@redhat.com \
    --cc=vkuznets@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).