There's only one remaining ambiguous python shebang in qemu.git, and
it's not for anything we care about.
Also redhat-rpm-config brp-mangle-shebangs added in 2018 will do
/usr/bin/env python3 -> /usr/bin/python3 automatically for us
Signed-off-by: Cole Robinson <crobinso@redhat.com>
* Add tools_only path to only build qemu-img and qemu-guest-agent
* Add a -tests subpackage
* Install tracetool, simpletrace, dump-guest-memory
* Add vhost modprobe file
* Sync qemu-guest-agent file lists
* Use udevrulesdir from systemd
* Add more seabios and seavgabios roms
* More use of %{name} to make paths more generic
* Group all fedora specific %install content at the end
* Drop the rpath stripping, in my testing it's not needed anymore
* Drop the s390x iotests skippage from last year
Signed-off-by: Cole Robinson <crobinso@redhat.com>
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>