Skip to content

RFC Make kvm-unit-tests more friendly to upstream QEMU

Lucas Meneghel Rodrigues kvm 1 version Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2kvm-unit-tests: add x86 port io accessorslib/x86/io.h+40 -00 replies
2/2kvm-unit-tests: make I/O more friendly to existing QEMU hardwarelib/x86/io.c+59 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] [RFC] Make kvm-unit-tests more friendly to upstream QEMU

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
Signature · 1 line
1.7.6