public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Lucas Meneghel Rodrigues <lmr@redhat.com>
Cc: QEMU devel <qemu-devel@nongnu.org>,
	Anthony Liguori <anthony@codemonkey.ws>,
	Avi Kivity <avi@redhat.com>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	KVM mailing list <kvm@vger.kernel.org>,
	Cleber Rosa <crosa@redhat.com>,
	Eduardo Habkost <ehabkost@redhat.com>
Subject: Re: [1.0 release work] Fix regressions found on recent KVM autotest qemu master 'sanity' jobs
Date: Fri, 04 Nov 2011 17:50:53 +0100	[thread overview]
Message-ID: <4EB417ED.9010903@redhat.com> (raw)
In-Reply-To: <4EB41575.8070508@redhat.com>

Am 04.11.2011 17:40, schrieb Lucas Meneghel Rodrigues:
> 2) The floppy regression problem which was reported some days ago on 
> this mailing list still happens, Kevin did post a patch that resolves it
> 
> [...]
> 
> But still wasn't integrated upstream. As I understand, there are doubts 
> whether this is a proper fix. Works with qemu-kvm.git. RHEL 5 and RHEL 6.

The first patch was buggy (even though it seemed to do the trick in most
cases), but I do have a new version queued for my next pull request.

In case you like to test it before it gets merged, this is the new version:

diff --git a/hw/dma.c b/hw/dma.c
index 8a7302a..0a9322d 100644
--- a/hw/dma.c
+++ b/hw/dma.c
@@ -358,6 +358,14 @@ static void DMA_run (void)
     struct dma_cont *d;
     int icont, ichan;
     int rearm = 0;
+    static int running = 0;
+
+    if (running) {
+        rearm = 1;
+        goto out;
+    } else {
+        running = 1;
+    }

     d = dma_controllers;

@@ -374,6 +382,8 @@ static void DMA_run (void)
         }
     }

+    running = 0;
+out:
     if (rearm)
         qemu_bh_schedule_idle(dma_bh);
 }

Kevin

  reply	other threads:[~2011-11-04 16:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-04 16:40 [1.0 release work] Fix regressions found on recent KVM autotest qemu master 'sanity' jobs Lucas Meneghel Rodrigues
2011-11-04 16:50 ` Kevin Wolf [this message]
2011-11-04 16:52   ` Lucas Meneghel Rodrigues
2011-11-04 16:56 ` Anthony Liguori
2011-11-04 17:02   ` [Qemu-devel] " Lucas Meneghel Rodrigues
2011-11-04 17:53   ` Lucas Meneghel Rodrigues

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=4EB417ED.9010903@redhat.com \
    --to=kwolf@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=crosa@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=lmr@redhat.com \
    --cc=mtosatti@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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