We use `fmf` and `tmt` test config to run qemu-sanity-check,
similar to how its done in the spec file at the moment.
Add gating.yml that requires these tests to pass before updates
can be pushed
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This moves the %build section to be closer to RHEL qemu-kvm content.
It's a bit tedious but it ensures we enable every feature we actually
think we are enabling :)
Add some macros to facilitate sharing this layout with the RHEL spec
The only functional change is now we use gcrypt instead of nettle.
I'm not sure if that was intentional before, but gcrypt is requested
on RHEL so I'm guessing that's what we want for Fedora too
Signed-off-by: Cole Robinson <crobinso@redhat.com>
This should not be any functional change, just some BuildRequires
movement and macro tweaking with the goal of sharing the first block
of deps with the RHEL/centos qemu-kvm spec
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Since QEMU 4.0 upstream supported automatically favoring KVM if the
executable ends with "kvm". Unlike the script that is currently in
use, this allows the user to specify an alternative accelerator with
"-accel".
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
The ELN stream builds Fedora packages in a psuedo-RHEL build root and
does not ship all the things that Fedora expects to be present. In
particular glib2-static is missing in ELN build roots, so we need to
disable the user mode static build.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
* Drop deprecated targets: moxie, unicore32, lm32, tilegx, ppc64abi32
* Use qemu-pr-helper units from qemu contrib/
* Drop ivshmem-tools package, upstream doesn't install it anymore
* New spice device modules
Signed-off-by: Cole Robinson <crobinso@redhat.com>
The conditionals for completely skipping testing, or ignoring all test
failures are much too big a hammer. They are resulting in seriously
broken QEMU binaries making their way into the rawhide repos.
When failures happen the smallest possible number of individual tests
need to be disabled/skipped, but *only* if failure is confined to the
test suite. If there are problems affecting functionality in QEMU
itself, the build should not be forced through, instead QEMU must be
fixed before a build is made.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
The tests were not actually passing, the spec file had been set to
ignore all test failures, and as a result we were shipping completely
fubar builds.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Drop podlators since QEMU no longer uses POD for man pages.
Drop all version numbers, since we can assume Fedora has new enough
packages.
Make comments a little more consistent.
Drop rados2-devel as it is implied by rbd-devel
Use rbd-devel instead of rbd1-devel due to rename
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>