]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qtest/libqtest.c
tests: Add virtio device initialization
authorMarc Marí <marc.mari.barcelo@gmail.com>
Mon, 1 Sep 2014 10:07:55 +0000 (12:07 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 8 Sep 2014 10:12:43 +0000 (11:12 +0100)
commit46e0cf762985e0a85529efd454402998c5021212
tree63fe8f5b6afd365b3d9dec666a229cc147863878
parent311e666aea7164b6d3b8a7e845fb32a509bfdf08
tests: Add virtio device initialization

Add functions to read and write virtio header fields.
Add status bit setting in virtio-blk-device.

Signed-off-by: Marc Marí <marc.mari.barcelo@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/Makefile
tests/libqos/virtio-pci.c
tests/libqos/virtio-pci.h
tests/libqos/virtio.c [new file with mode: 0644]
tests/libqos/virtio.h
tests/libqtest.c
tests/libqtest.h
tests/virtio-blk-test.c