]> git.proxmox.com Git - mirror_qemu.git/commit - tests/boot-sector.h
tests: add pxe e1000 and virtio-pci tests
authorVictor Kaplansky <victork@redhat.com>
Sun, 14 Feb 2016 16:59:27 +0000 (18:59 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 16 Feb 2016 10:05:18 +0000 (12:05 +0200)
commit4e082566a9cd17e5f00d0df85a67dc7a086d30b0
tree38d933c9d024bd835914a82509cd3e0b6ad92365
parente1e4bf225236a2aea99bedee5a5f7e764841616a
tests: add pxe e1000 and virtio-pci tests

The test is based on bios-tables-test.c.  It creates a file with
the boot sector image and loads it into a guest using PXE and TFTP
functionality.

Cc: Jason Wang <jasowang@redhat.com>
Signed-off-by: Victor Kaplansky <victork@redhat.com>
Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/Makefile
tests/bios-tables-test.c
tests/boot-sector.c [new file with mode: 0644]
tests/boot-sector.h [new file with mode: 0644]
tests/pxe-test.c [new file with mode: 0644]