From: Lucas Meneghel Rodrigues Subject: [PATCH 0/2] [RFC] Make kvm-unit-tests more friendly to upstream QEMU Date: Tue, 30 Aug 2011 20:51:03 -0300 Message-ID: <1314748265-15488-1-git-send-email-lmr@redhat.com> Cc: avi@redhat.com, Lucas Meneghel Rodrigues To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:27394 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753704Ab1H3XvQ (ORCPT ); Tue, 30 Aug 2011 19:51:16 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7UNpGgf023253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 30 Aug 2011 19:51:16 -0400 Sender: kvm-owner@vger.kernel.org List-ID: aliguori - This series makes an attempt to make kvm-unit-tests more friendly to upstream QEMU. I've been writing unit tests for all of the QMP commands and many of them, like ballooning, require guest cooperation to be tested in a meaningful way. I'm leaning towards building simple guests using libcflat in order to do this using some very simple PCI device drivers. To get started, I made a few changes to kvm-unit-tests to make them more friendly to QEMU upstream basically by using platform devices instead of relying on special test devices. lmr - This is an attempt to revive Anthony's patch series to kvm-unit-tests, I tried to figure out what an updated version of the patchset would look like, that is, dropping patch "do not set level sensitive irq when initializing the PIC" and putting the old behavior of the test dev writes on an ifdef block. Let me know if I got this right. Original patches for reference: http://lists.gnu.org/archive/html/qemu-devel/2011-02/msg03025.html http://lists.gnu.org/archive/html/qemu-devel/2011-02/msg03022.html http://lists.gnu.org/archive/html/qemu-devel/2011-02/msg03023.html http://lists.gnu.org/archive/html/qemu-devel/2011-02/msg03024.html Anthony Liguori (2): kvm-unit-tests: add x86 port io accessors kvm-unit-tests: make I/O more friendly to existing QEMU hardware lib/x86/io.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- lib/x86/io.h | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+), 1 deletions(-) create mode 100644 lib/x86/io.h -- 1.7.6