Make virtio unconditional. It's been a very long time since disabling virtio was a good idea.

This commit is contained in:
Richard W.M. Jones 2012-02-10 15:01:52 +00:00
parent 316f2bac86
commit 2fef5bf9b3
1 changed files with 4 additions and 12 deletions

View File

@ -10,14 +10,6 @@
%global buildnet 0
%endif
# Enable to make the appliance use virtio_blk
# Default is enabled
%if %{defined libguestfs_virtio}
%global with_virtio %{libguestfs_virtio}
%else
%global with_virtio 1
%endif
# Enable to run tests during check
# Default is enabled
%if %{defined libguestfs_runtests}
@ -30,7 +22,7 @@ Summary: Access and modify virtual machine disk images
Name: libguestfs
Epoch: 1
Version: 1.17.5
Release: 4%{?dist}
Release: 5%{?dist}
License: LGPLv2+
Group: Development/Libraries
URL: http://libguestfs.org/
@ -679,9 +671,7 @@ cat yum.conf
--with-extra="fedora=%{fedora},release=%{release}" \
--with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
--enable-install-daemon \
%if %{with_virtio}
--with-drive-if=virtio \
%endif
%{extra} || {
echo "==== config.log ===="
cat config.log
@ -1030,8 +1020,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Feb 10 2012 Richard W.M. Jones <rjones@redhat.com> - 1:1.17.5-4
* Fri Feb 10 2012 Richard W.M. Jones <rjones@redhat.com> - 1:1.17.5-5
- +BR ruby-irb.
- Make virtio unconditional. It's been a very long time since disabling
virtio was a good idea.
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 1:1.17.5-3
- Rebuild against PCRE 8.30