All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed
@ 2015-06-17  5:26 Li Chengyuan
  2015-06-29  1:57 ` [Qemu-devel] [Bug 1465935] " Li Chengyuan
                   ` (36 more replies)
  0 siblings, 37 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-06-17  5:26 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Several my QEMU instances crashed, and in the  qemu log, I can see this
assertion failure,

   qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38. Guest
OS is RHEL 6.3.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
@ 2015-06-29  1:57 ` Li Chengyuan
  2015-06-29  2:02 ` Li Chengyuan
                   ` (35 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-06-29  1:57 UTC (permalink / raw)
  To: qemu-devel

The problem can be re-produced by the script in the below in link.
http://lists.nongnu.org/archive/html/qemu-devel/2014-12/msg03739.html

i.e.
vda_irq_num=25
vdb_irq_num=27
while [ 1 ]
do
    for irq in {1,2,4,8,10,20,40,80}
        do
            echo $irq > /proc/irq/$vda_irq_num/smp_affinity
            echo $irq > /proc/irq/$vdb_irq_num/smp_affinity
            dd if=/dev/vda of=/dev/zero bs=4K count=100 iflag=direct
            dd if=/dev/vdb of=/dev/zero bs=4K count=100 iflag=direct
        done
done

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
  2015-06-29  1:57 ` [Qemu-devel] [Bug 1465935] " Li Chengyuan
@ 2015-06-29  2:02 ` Li Chengyuan
  2015-06-29  2:44 ` Li Chengyuan
                   ` (34 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-06-29  2:02 UTC (permalink / raw)
  To: qemu-devel

http://lists.nongnu.org/archive/html/qemu-devel/2014-12/msg03739.html

Seems that this patch hasn't been accpeted yet, and also no comments for
it.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
  2015-06-29  1:57 ` [Qemu-devel] [Bug 1465935] " Li Chengyuan
  2015-06-29  2:02 ` Li Chengyuan
@ 2015-06-29  2:44 ` Li Chengyuan
  2015-06-29  8:12 ` Li Chengyuan
                   ` (33 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-06-29  2:44 UTC (permalink / raw)
  To: qemu-devel

>From the debug log, we can see that virq is only 1008, but irq route table has been full, i.e. 1024. 
In kvm_irqchip_get_virq(), it only calls kvm_flush_dynamic_msi_routes() when all virqs(total gsi_count, 1024 too) have been allocated,  but irq route table has two kind of entry type,  KVM_IRQ_ROUTING_IRQCHIP and KVM_IRQ_ROUTING_MSI. Seems that 16 KVM_IRQ_ROUTING_IRQCHIP entries has been reserved, if max gsi_count is still 1024, then irq route table is possible to be overflow.
The fix could be either set gsi_cout=1008 or increase max irq route count to 1040.

kvm_irqchip_send_msi, virq=1008, nr=1024
kvm_irqchip_commit_routes, ret=-22
kvm_irqchip_commit_routes, irq_routes nr=1024

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (2 preceding siblings ...)
  2015-06-29  2:44 ` Li Chengyuan
@ 2015-06-29  8:12 ` Li Chengyuan
  2015-06-29 14:34 ` Li Chengyuan
                   ` (32 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-06-29  8:12 UTC (permalink / raw)
  To: qemu-devel

** Also affects: qemu (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (3 preceding siblings ...)
  2015-06-29  8:12 ` Li Chengyuan
@ 2015-06-29 14:34 ` Li Chengyuan
  2015-06-29 15:13 ` Ryan Harper
                   ` (31 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-06-29 14:34 UTC (permalink / raw)
  To: qemu-devel

>From kvm_pc_setup_irq_routing() function, we can see that 15 routes from
PIC and 23 routes from IOAPIC are added into irq route table, but only
23 irq(gsi) are reserved. This leads to irq route table has been full
but there are still tens of free gsi. So the "retry" part of
kvm_irqchip_get_virq() shall never have chance to be executed.


void kvm_pc_setup_irq_routing(bool pci_enabled)
{
    KVMState *s = kvm_state;
    int i;

    if (kvm_check_extension(s, KVM_CAP_IRQ_ROUTING)) {
        for (i = 0; i < 8; ++i) {
            if (i == 2) {
                continue;
            }
            kvm_irqchip_add_irq_route(s, i, KVM_IRQCHIP_PIC_MASTER, i);
        }
        for (i = 8; i < 16; ++i) {
            kvm_irqchip_add_irq_route(s, i, KVM_IRQCHIP_PIC_SLAVE, i - 8);
        }
        if (pci_enabled) {
            for (i = 0; i < 24; ++i) {
                if (i == 0) {
                    kvm_irqchip_add_irq_route(s, i, KVM_IRQCHIP_IOAPIC, 2);
                } else if (i != 2) {
                    kvm_irqchip_add_irq_route(s, i, KVM_IRQCHIP_IOAPIC, i);
                }
            }
        }
        kvm_irqchip_commit_routes(s);
    }
}

static int kvm_irqchip_get_virq(KVMState *s)
{
    uint32_t *word = s->used_gsi_bitmap;
    int max_words = ALIGN(s->gsi_count, 32) / 32;
    int i, bit;
    bool retry = true;

again:
    /* Return the lowest unused GSI in the bitmap */
    for (i = 0; i < max_words; i++) {
        bit = ffs(~word[i]);
        if (!bit) {
            continue;
        }

        return bit - 1 + i * 32;
    }
    if (!s->direct_msi && retry) {
        retry = false;
        kvm_flush_dynamic_msi_routes(s);
        goto again;
    }
    return -ENOSPC;

}

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (4 preceding siblings ...)
  2015-06-29 14:34 ` Li Chengyuan
@ 2015-06-29 15:13 ` Ryan Harper
  2015-06-29 19:56 ` Ryan Harper
                   ` (30 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Ryan Harper @ 2015-06-29 15:13 UTC (permalink / raw)
  To: qemu-devel

Thank you for taking the time to report this bug and helping to make
Ubuntu better. Please execute the following command, as it will
automatically gather debugging information, in a terminal:

apport-collect 1465935

When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://wiki.ubuntu.com/ReportingBugs.

** Changed in: qemu (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Incomplete

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (5 preceding siblings ...)
  2015-06-29 15:13 ` Ryan Harper
@ 2015-06-29 19:56 ` Ryan Harper
  2015-06-29 19:57 ` Ryan Harper
                   ` (29 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Ryan Harper @ 2015-06-29 19:56 UTC (permalink / raw)
  To: qemu-devel

It appears that the latest version of the patch is here:

http://lists.gnu.org/archive/html/qemu-devel/2015-01/msg00822.html

However, this hasn't yet be accepted upstream.  The most recent
discussion requires the submitter to respond to the maintainers
questions here:

http://lists.gnu.org/archive/html/qemu-devel/2015-01/msg00623.html

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Incomplete

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (6 preceding siblings ...)
  2015-06-29 19:56 ` Ryan Harper
@ 2015-06-29 19:57 ` Ryan Harper
  2015-06-30  3:02 ` Li Chengyuan
                   ` (28 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Ryan Harper @ 2015-06-29 19:57 UTC (permalink / raw)
  To: qemu-devel

Have you be able to reproduce this issue on a wily host?  What about a
different guest?  Or is only RHEL6.3 affected?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Incomplete

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (7 preceding siblings ...)
  2015-06-29 19:57 ` Ryan Harper
@ 2015-06-30  3:02 ` Li Chengyuan
  2015-06-30  3:03 ` Li Chengyuan
                   ` (27 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-06-30  3:02 UTC (permalink / raw)
  To: qemu-devel

Ryan, 
Our Hypervisors are running in the internal network which can't access to Launchpad, 
# apport-collect 1465935
ERROR: connecting to Launchpad failed: [Errno 110] Connection timed out

We saw this qemu crash on 18 Hypervisor nodes. So far all our
hypervisors are ubuntu 12.04, qemu-2.0.0+dfsg, and guest OS is only
RHEL6.3

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Incomplete

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (8 preceding siblings ...)
  2015-06-30  3:02 ` Li Chengyuan
@ 2015-06-30  3:03 ` Li Chengyuan
  2015-07-01 14:10 ` Li Chengyuan
                   ` (26 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-06-30  3:03 UTC (permalink / raw)
  To: qemu-devel

http://lists.gnu.org/archive/html/qemu-devel/2015-01/msg00822.html

Seems that the latest version code has answered maintainers questions.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Incomplete

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (9 preceding siblings ...)
  2015-06-30  3:03 ` Li Chengyuan
@ 2015-07-01 14:10 ` Li Chengyuan
  2015-07-02  2:43 ` Serge Hallyn
                   ` (25 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-07-01 14:10 UTC (permalink / raw)
  To: qemu-devel

-----Original Message-----
From: Paolo Bonzini [mailto:pbonzini@redhat.com] 
Sent: 2015年7月1日 21:39
To: Li, Chengyuan
Cc: kevinnma@tencent.com
Subject: Re: [Qemu-devel] [PATCH] Fix irq route entries exceed KVM_MAX_IRQ_ROUTES

On 30/06/2015 05:47, Li, Chengyuan wrote:
> Here is my understanding,
> 
> 1) why isn't the existing check in kvm_irqchip_get_virq enough to fix 
> the bug?
> 
> From kvm_pc_setup_irq_routing() function, we can see that 15 routes 
> from PIC and 23 routes from IOAPIC are added into irq route table, but 
> only
> 23 irq(gsi) are reserved. This leads to irq route table has been full 
> but there are still 15 free gsi. So the "retry" part of
> kvm_irqchip_get_virq() shall never have chance to be executed.
> 
> 2) If you introduce this extra call to kvm_flush_dynamic_msi_routes, 
> does the existing check become obsolete?
> 
> As gsi_count is the max number of irq route table, if below code is 
> merged, then existing check is obsolete and can be removed.
> 
> +    if (!s->direct_msi && s->irq_routes->nr == s->gsi_count) {
> +        kvm_flush_dynamic_msi_routes(s);
> +    }
> 
> Please let me know if you have some other comments for the patch? Thanks!

Thanks for finally clearing up my doubts about the patch!  I'll apply it
soon.

Paolo

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Incomplete

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (10 preceding siblings ...)
  2015-07-01 14:10 ` Li Chengyuan
@ 2015-07-02  2:43 ` Serge Hallyn
  2015-07-15 16:50 ` Chris J Arges
                   ` (24 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Serge Hallyn @ 2015-07-02  2:43 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu (Ubuntu)
       Status: Incomplete => Confirmed

** Changed in: qemu (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Confirmed

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (11 preceding siblings ...)
  2015-07-02  2:43 ` Serge Hallyn
@ 2015-07-15 16:50 ` Chris J Arges
  2015-07-16  8:04 ` Stefan Bader
                   ` (23 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Chris J Arges @ 2015-07-15 16:50 UTC (permalink / raw)
  To: qemu-devel

** Also affects: qemu (Ubuntu Vivid)
   Importance: Undecided
       Status: New

** Also affects: qemu (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Also affects: qemu (Ubuntu Utopic)
   Importance: Undecided
       Status: New

** Also affects: qemu (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Changed in: qemu (Ubuntu)
     Assignee: (unassigned) => Stefan Bader (smb)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Confirmed
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  New
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (12 preceding siblings ...)
  2015-07-15 16:50 ` Chris J Arges
@ 2015-07-16  8:04 ` Stefan Bader
  2015-07-17  7:30 ` Stefan Bader
                   ` (22 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Stefan Bader @ 2015-07-16  8:04 UTC (permalink / raw)
  To: qemu-devel

The proposed fix seems not yet part of any qemu release but applied as

commit bdf026317daa3b9dfa281f29e96fbb6fd48394c8
Author: 马文霜 <kevinnma@tencent.com>
Date:   Wed Jul 1 15:41:41 2015 +0200

    Fix irq route entries exceeding KVM_MAX_IRQ_ROUTES

to v2.4.0-rc0. So this would affect all current releases and the current
development release (Wily/15.10). I would start there with
reproduction/verification and work backwards from there.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Confirmed
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  New
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (13 preceding siblings ...)
  2015-07-16  8:04 ` Stefan Bader
@ 2015-07-17  7:30 ` Stefan Bader
  2015-07-30 20:59 ` Li Chengyuan
                   ` (21 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Stefan Bader @ 2015-07-17  7:30 UTC (permalink / raw)
  To: qemu-devel

Unfortunately I seem to be unable to get this bug triggered with the reproducer. It could be a detail of the guest setup I am missing. Since I do not have access to RHEL I used CentOS 6.3 in a 8core guest with 2 virtio disks. Host was 14.04. Left the script running for quite a bit but no crash happened.
So it would be up to you to confirm that with a current 14.04 host you still can trigger the bug and with the patched version of qemu from http://people.canonical.com/~smb/lp1465935/ it would be gone. Thanks.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Confirmed
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  New
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (14 preceding siblings ...)
  2015-07-17  7:30 ` Stefan Bader
@ 2015-07-30 20:59 ` Li Chengyuan
  2015-08-12 17:01 ` Stefan Bader
                   ` (20 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-07-30 20:59 UTC (permalink / raw)
  To: qemu-devel

Bader,

Sorry to response late. 
We patch our QEMU 2.0 and running on ubuntu 12.04, and shall keep it running for a while. 
I'll let you know if this problem is gone after weeks.

Regards,
CY.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Confirmed
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  New
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (15 preceding siblings ...)
  2015-07-30 20:59 ` Li Chengyuan
@ 2015-08-12 17:01 ` Stefan Bader
  2015-10-09  9:24 ` Li Chengyuan
                   ` (19 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Stefan Bader @ 2015-08-12 17:01 UTC (permalink / raw)
  To: qemu-devel

Marking as incomplete while waiting for test feedback.

** Changed in: qemu (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Incomplete
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  New
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (16 preceding siblings ...)
  2015-08-12 17:01 ` Stefan Bader
@ 2015-10-09  9:24 ` Li Chengyuan
  2015-10-09 15:03 ` Stefan Bader
                   ` (18 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-10-09  9:24 UTC (permalink / raw)
  To: qemu-devel

Bader,

We don't see this problem after the patch is applied.  I think we can
close this case.

Regards,
CY.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Incomplete
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  New
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (17 preceding siblings ...)
  2015-10-09  9:24 ` Li Chengyuan
@ 2015-10-09 15:03 ` Stefan Bader
  2015-10-09 15:12 ` Stefan Bader
                   ` (17 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Stefan Bader @ 2015-10-09 15:03 UTC (permalink / raw)
  To: qemu-devel

Utopic is out of support now.

** Changed in: qemu (Ubuntu Utopic)
       Status: New => Won't Fix

** Changed in: qemu (Ubuntu)
       Status: Incomplete => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Committed
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (18 preceding siblings ...)
  2015-10-09 15:03 ` Stefan Bader
@ 2015-10-09 15:12 ` Stefan Bader
  2015-10-12 10:18 ` Stefan Bader
                   ` (16 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Stefan Bader @ 2015-10-09 15:12 UTC (permalink / raw)
  To: qemu-devel

SRU Justification:

Impact: Moving around interrupt handling on SMP (like irqbalance does)
in qemu instances can cause the qemu guest to crash due to an internal
accounting mismatch.

Fix: Backported patch from upstream qemu

Testcase: See above. Verified for Trusty with provided test qemu
package(s).

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Committed
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (19 preceding siblings ...)
  2015-10-09 15:12 ` Stefan Bader
@ 2015-10-12 10:18 ` Stefan Bader
  2015-10-12 10:21 ` Stefan Bader
                   ` (15 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Stefan Bader @ 2015-10-12 10:18 UTC (permalink / raw)
  To: qemu-devel

@Li Chengyuan, is your host OS really 12.04 (aka Precise)? Because in
12.04 the qemu version is 1.0 and the fix would not apply. I am not sure
that old qemu is even affected since the code is very different.
Backports of the fix seem only to make sense up (or back) to 14.04 (aka
Trusty) which would also match the qemu version 2.0 which you mentioned.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Committed
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (20 preceding siblings ...)
  2015-10-12 10:18 ` Stefan Bader
@ 2015-10-12 10:21 ` Stefan Bader
  2015-10-12 10:42 ` Launchpad Bug Tracker
                   ` (14 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Stefan Bader @ 2015-10-12 10:21 UTC (permalink / raw)
  To: qemu-devel

Just saw kernel version 3.2 mentioned. So this seems to be a mix of
older base OS (Precise) and a more recent qemu (maybe from Trusty). I am
trying to clarify how far this needs to be backported. So I think the
original qemu version in Precise is unaffected.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Committed
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (21 preceding siblings ...)
  2015-10-12 10:21 ` Stefan Bader
@ 2015-10-12 10:42 ` Launchpad Bug Tracker
  2015-10-13  0:47 ` Li Chengyuan
                   ` (13 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Launchpad Bug Tracker @ 2015-10-12 10:42 UTC (permalink / raw)
  To: qemu-devel

This bug was fixed in the package qemu - 1:2.3+dfsg-5ubuntu9

---------------
qemu (1:2.3+dfsg-5ubuntu9) wily; urgency=low

  * debian/patches/upstream-fix-irq-route-entries.patch
    Fix "kvm_irqchip_commit_routes: Assertion 'ret == 0' failed"
    (LP: #1465935)

 -- Stefan Bader <stefan.bader@canonical.com>  Fri, 09 Oct 2015 15:38:53
+0200

** Changed in: qemu (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (22 preceding siblings ...)
  2015-10-12 10:42 ` Launchpad Bug Tracker
@ 2015-10-13  0:47 ` Li Chengyuan
  2015-10-13  7:34 ` Stefan Bader
                   ` (12 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Li Chengyuan @ 2015-10-13  0:47 UTC (permalink / raw)
  To: qemu-devel

@Stefan Bader,
The host OS is ubuntu 12.04, and we upgraded the QEMU to 2.0.0 from ubuntu cloud-archive repo.
https://wiki.ubuntu.com/ServerTeam/CloudArchive

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Precise:
  New
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (23 preceding siblings ...)
  2015-10-13  0:47 ` Li Chengyuan
@ 2015-10-13  7:34 ` Stefan Bader
  2015-10-13  8:01 ` Stefan Bader
                   ` (11 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Stefan Bader @ 2015-10-13  7:34 UTC (permalink / raw)
  To: qemu-devel

@Li Chengyuan, thank you for the clarification. So just formally I will
mark the Precise task of this report as invalid (since the qemu in
Precise is actually a different source package and also not affected as
far as I can tell). I will need to figure out how to ensure this fix is
also pulled into the cloud-archive after it landed in the Trusty/Vivid
main archive.

** Changed in: qemu (Ubuntu Precise)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Precise:
  Invalid
Status in qemu source package in Trusty:
  New
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  New

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (24 preceding siblings ...)
  2015-10-13  7:34 ` Stefan Bader
@ 2015-10-13  8:01 ` Stefan Bader
  2015-10-14 13:54 ` Chris J Arges
                   ` (10 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Stefan Bader @ 2015-10-13  8:01 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu (Ubuntu Vivid)
       Status: New => In Progress

** Changed in: qemu (Ubuntu Trusty)
       Status: New => In Progress

** Changed in: qemu (Ubuntu Trusty)
     Assignee: (unassigned) => Stefan Bader (smb)

** Changed in: qemu (Ubuntu Vivid)
     Assignee: (unassigned) => Stefan Bader (smb)

** Changed in: qemu (Ubuntu)
     Assignee: Stefan Bader (smb) => (unassigned)

** Changed in: qemu (Ubuntu Trusty)
   Importance: Undecided => High

** Changed in: qemu (Ubuntu Vivid)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Precise:
  Invalid
Status in qemu source package in Trusty:
  In Progress
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  In Progress

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (25 preceding siblings ...)
  2015-10-13  8:01 ` Stefan Bader
@ 2015-10-14 13:54 ` Chris J Arges
  2015-10-14 13:55 ` [Qemu-devel] [Bug 1465935] Please test proposed package Chris J Arges
                   ` (9 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Chris J Arges @ 2015-10-14 13:54 UTC (permalink / raw)
  To: qemu-devel

Hello Li, or anyone else affected,

Accepted qemu into trusty-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/qemu/2.0.0+dfsg-
2ubuntu1.20 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: qemu (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

** Changed in: qemu (Ubuntu Vivid)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Precise:
  Invalid
Status in qemu source package in Trusty:
  Fix Committed
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Committed

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Please test proposed package
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (26 preceding siblings ...)
  2015-10-14 13:54 ` Chris J Arges
@ 2015-10-14 13:55 ` Chris J Arges
  2015-11-05  0:48 ` [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed Mathew Hodson
                   ` (8 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Chris J Arges @ 2015-10-14 13:55 UTC (permalink / raw)
  To: qemu-devel

Hello Li, or anyone else affected,

Accepted qemu into vivid-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/qemu/1:2.2+dfsg-
5expubuntu9.6 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Precise:
  Invalid
Status in qemu source package in Trusty:
  Fix Committed
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Committed

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (27 preceding siblings ...)
  2015-10-14 13:55 ` [Qemu-devel] [Bug 1465935] Please test proposed package Chris J Arges
@ 2015-11-05  0:48 ` Mathew Hodson
  2015-11-18 17:39 ` Serge Hallyn
                   ` (7 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Mathew Hodson @ 2015-11-05  0:48 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu (Ubuntu Utopic)
   Importance: Undecided => High

** Changed in: qemu (Ubuntu Precise)
   Importance: Undecided => High

** No longer affects: qemu (Ubuntu Precise)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Trusty:
  Fix Committed
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Committed

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (28 preceding siblings ...)
  2015-11-05  0:48 ` [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed Mathew Hodson
@ 2015-11-18 17:39 ` Serge Hallyn
  2015-11-18 20:02 ` Serge Hallyn
                   ` (6 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Serge Hallyn @ 2015-11-18 17:39 UTC (permalink / raw)
  To: qemu-devel

@chengyuanli

could you please verify this?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Trusty:
  Fix Committed
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Committed

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (29 preceding siblings ...)
  2015-11-18 17:39 ` Serge Hallyn
@ 2015-11-18 20:02 ` Serge Hallyn
  2015-11-18 20:21 ` Serge Hallyn
                   ` (5 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Serge Hallyn @ 2015-11-18 20:02 UTC (permalink / raw)
  To: qemu-devel

This package is causing a regression in lp:qa-regression-testing's
scripts/test-qemu.py.

I'm running the testcase one more time (after having verified that the
current package did not suffer the same failure), then I'm going to mark this
verification-failed.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Trusty:
  Fix Committed
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Committed

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (30 preceding siblings ...)
  2015-11-18 20:02 ` Serge Hallyn
@ 2015-11-18 20:21 ` Serge Hallyn
  2015-11-18 22:00 ` Serge Hallyn
                   ` (4 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Serge Hallyn @ 2015-11-18 20:21 UTC (permalink / raw)
  To: qemu-devel

Hm, a second run did not reproduce the error.  If I can't get it to
happen again in a few hours of re-trying, I'll assume it was a fluke or
related to the host.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Trusty:
  Fix Committed
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Committed

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (31 preceding siblings ...)
  2015-11-18 20:21 ` Serge Hallyn
@ 2015-11-18 22:00 ` Serge Hallyn
  2015-11-19  9:27 ` Paolo Bonzini
                   ` (3 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Serge Hallyn @ 2015-11-18 22:00 UTC (permalink / raw)
  To: qemu-devel

I could not reproduce the original issue, but the new qemu packages
appear to be regression-free, so marked this verification-done on that
grounds.  If the SRU team prefers to kick this package I'm ok with that
as well.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Trusty:
  Fix Committed
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Committed

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (32 preceding siblings ...)
  2015-11-18 22:00 ` Serge Hallyn
@ 2015-11-19  9:27 ` Paolo Bonzini
  2015-11-24 18:46 ` Launchpad Bug Tracker
                   ` (2 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: Paolo Bonzini @ 2015-11-19  9:27 UTC (permalink / raw)
  To: qemu-devel

Fixed in QEMU 2.4.

** Changed in: qemu
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  Fix Released
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Trusty:
  Fix Committed
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Committed

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (33 preceding siblings ...)
  2015-11-19  9:27 ` Paolo Bonzini
@ 2015-11-24 18:46 ` Launchpad Bug Tracker
  2015-11-24 18:46 ` [Qemu-devel] [Bug 1465935] Update Released Chris J Arges
  2015-11-24 18:49 ` [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed Launchpad Bug Tracker
  36 siblings, 0 replies; 38+ messages in thread
From: Launchpad Bug Tracker @ 2015-11-24 18:46 UTC (permalink / raw)
  To: qemu-devel

This bug was fixed in the package qemu - 2.0.0+dfsg-2ubuntu1.20

---------------
qemu (2.0.0+dfsg-2ubuntu1.20) trusty; urgency=low

  * debian/patches/upstream-fix-irq-route-entries.patch
    Fix "kvm_irqchip_commit_routes: Assertion 'ret == 0' failed"
    (LP: #1465935)

 -- Stefan Bader <stefan.bader@canonical.com>  Fri, 09 Oct 2015 17:16:30
+0200

** Changed in: qemu (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  Fix Released
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Trusty:
  Fix Released
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Released

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Update Released
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (34 preceding siblings ...)
  2015-11-24 18:46 ` Launchpad Bug Tracker
@ 2015-11-24 18:46 ` Chris J Arges
  2015-11-24 18:49 ` [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed Launchpad Bug Tracker
  36 siblings, 0 replies; 38+ messages in thread
From: Chris J Arges @ 2015-11-24 18:46 UTC (permalink / raw)
  To: qemu-devel

The verification of the Stable Release Update for qemu has completed
successfully and the package has now been released to -updates.
Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  Fix Released
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Trusty:
  Fix Released
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Released

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed
  2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
                   ` (35 preceding siblings ...)
  2015-11-24 18:46 ` [Qemu-devel] [Bug 1465935] Update Released Chris J Arges
@ 2015-11-24 18:49 ` Launchpad Bug Tracker
  36 siblings, 0 replies; 38+ messages in thread
From: Launchpad Bug Tracker @ 2015-11-24 18:49 UTC (permalink / raw)
  To: qemu-devel

This bug was fixed in the package qemu - 1:2.2+dfsg-5expubuntu9.6

---------------
qemu (1:2.2+dfsg-5expubuntu9.6) vivid; urgency=low

  * debian/patches/upstream-fix-irq-route-entries.patch
    Fix "kvm_irqchip_commit_routes: Assertion 'ret == 0' failed"
    (LP: #1465935)

 -- Stefan Bader <stefan.bader@canonical.com>  Fri, 09 Oct 2015 17:04:26
+0200

** Changed in: qemu (Ubuntu Vivid)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1465935

Title:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed

Status in QEMU:
  Fix Released
Status in qemu package in Ubuntu:
  Fix Released
Status in qemu source package in Trusty:
  Fix Released
Status in qemu source package in Utopic:
  Won't Fix
Status in qemu source package in Vivid:
  Fix Released

Bug description:
  Several my QEMU instances crashed, and in the  qemu log, I can see
  this assertion failure,

     qemu-system-x86_64: /build/buildd/qemu-2.0.0+dfsg/kvm-all.c:984:
  kvm_irqchip_commit_routes: Assertion `ret == 0' failed.

  The QEMU version is 2.0.0, HV OS is ubuntu 12.04, kernel 3.2.0-38.
  Guest OS is RHEL 6.3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1465935/+subscriptions

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2015-11-24 18:56 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-17  5:26 [Qemu-devel] [Bug 1465935] [NEW] kvm_irqchip_commit_routes: Assertion `ret == 0' failed Li Chengyuan
2015-06-29  1:57 ` [Qemu-devel] [Bug 1465935] " Li Chengyuan
2015-06-29  2:02 ` Li Chengyuan
2015-06-29  2:44 ` Li Chengyuan
2015-06-29  8:12 ` Li Chengyuan
2015-06-29 14:34 ` Li Chengyuan
2015-06-29 15:13 ` Ryan Harper
2015-06-29 19:56 ` Ryan Harper
2015-06-29 19:57 ` Ryan Harper
2015-06-30  3:02 ` Li Chengyuan
2015-06-30  3:03 ` Li Chengyuan
2015-07-01 14:10 ` Li Chengyuan
2015-07-02  2:43 ` Serge Hallyn
2015-07-15 16:50 ` Chris J Arges
2015-07-16  8:04 ` Stefan Bader
2015-07-17  7:30 ` Stefan Bader
2015-07-30 20:59 ` Li Chengyuan
2015-08-12 17:01 ` Stefan Bader
2015-10-09  9:24 ` Li Chengyuan
2015-10-09 15:03 ` Stefan Bader
2015-10-09 15:12 ` Stefan Bader
2015-10-12 10:18 ` Stefan Bader
2015-10-12 10:21 ` Stefan Bader
2015-10-12 10:42 ` Launchpad Bug Tracker
2015-10-13  0:47 ` Li Chengyuan
2015-10-13  7:34 ` Stefan Bader
2015-10-13  8:01 ` Stefan Bader
2015-10-14 13:54 ` Chris J Arges
2015-10-14 13:55 ` [Qemu-devel] [Bug 1465935] Please test proposed package Chris J Arges
2015-11-05  0:48 ` [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed Mathew Hodson
2015-11-18 17:39 ` Serge Hallyn
2015-11-18 20:02 ` Serge Hallyn
2015-11-18 20:21 ` Serge Hallyn
2015-11-18 22:00 ` Serge Hallyn
2015-11-19  9:27 ` Paolo Bonzini
2015-11-24 18:46 ` Launchpad Bug Tracker
2015-11-24 18:46 ` [Qemu-devel] [Bug 1465935] Update Released Chris J Arges
2015-11-24 18:49 ` [Qemu-devel] [Bug 1465935] Re: kvm_irqchip_commit_routes: Assertion `ret == 0' failed Launchpad Bug Tracker

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.