]> git.proxmox.com Git - qemu.git/commit
pci: add pci test device
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 31 Mar 2013 12:31:14 +0000 (15:31 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 15 Apr 2013 22:41:53 +0000 (01:41 +0300)
commit22773d6066a7f01a95f78c270edf9dbd2e755ac3
tree5507eb1b8271147b211e178f4d726f6f35b44616
parent41cb62c2d9a5a2668165fdd6f195f54ad30e5396
pci: add pci test device

This device is used for kvm unit tests,
currently it supports testing performance of ioeventfd.
Using updated kvm unittest, here's an example output:
        mmio-no-eventfd:pci-mem 8796
        mmio-wildcard-eventfd:pci-mem 3609
        mmio-datamatch-eventfd:pci-mem 3685
        portio-no-eventfd:pci-io 5287
        portio-wildcard-eventfd:pci-io 1762
        portio-datamatch-eventfd:pci-io 1777

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
default-configs/pci.mak
docs/specs/pci-testdev.txt [new file with mode: 0644]
hw/misc/Makefile.objs
hw/misc/pci-testdev.c [new file with mode: 0644]
include/hw/pci/pci.h