From: Lukas Doktor Subject: [KVM-autotest][Patch] virtio_console: perf-test fix Date: Thu, 23 Sep 2010 14:11:51 +0200 Message-ID: <1285243912-28385-1-git-send-email-ldoktor@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ldoktor@redhat.com, jzupka@redhat.com, autotest@test.kernel.org, kvm@vger.kernel.org, lmr@redhat.com, amit.shah@redhat.com Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org After the first part of perf_test there were still data in a buffer which caused console failures in this test. With this fix all data are read out and it's possible to use test_perf with console (virtio_console_perf = "console") Additionaly this patch contains some minor code cleanups.