|
|
30761c |
%{?mingw_package_header}
|
|
|
30761c |
|
|
|
30761c |
%define with_vss 1
|
|
|
7ac0e5 |
%define qemu_version 7.0.0
|
|
|
7ac0e5 |
%define ga_manufacturer "RedHat"
|
|
|
7ac0e5 |
%define ga_distro "RHEL"
|
|
|
30761c |
|
|
|
30761c |
Name: mingw-qemu-ga-win
|
|
|
7ac0e5 |
Version: 104.0.2
|
|
|
30761c |
Release: 1%{?dist}
|
|
|
30761c |
Summary: Qemus Guest agent for Windows
|
|
|
30761c |
|
|
|
30761c |
Group: System Environment/Daemons
|
|
|
30761c |
License: GPLv2+ and LGPLv2+ and BSD
|
|
|
30761c |
URL: http://www.qemu.org/
|
|
|
30761c |
Requires(post): system-units
|
|
|
30761c |
Requires(preun): systemd-units
|
|
|
30761c |
Requires(postun): systemd-units
|
|
|
30761c |
Source0: http://wiki.qemu.org/download/qemu-%{qemu_version}.tar.bz2
|
|
|
30761c |
|
|
|
30761c |
Patch0001: 0001-Change-Version.patch
|
|
|
30761c |
Patch0002: 0001-qga-Log-version-on-start.patch
|
|
|
7ac0e5 |
Patch0003: 0001-configure-Add-cross-prefix-for-widl-tool.patch
|
|
|
7ac0e5 |
Patch0004: 0002-qga-vss-always-build-qga-vss.tlb-when-qga-vss.dll-is.patch
|
|
|
7ac0e5 |
Patch0005: 0001-qga-vss-Add-auto-generated-headers-to-dependencies.patch
|
|
|
7ac0e5 |
Patch0006: 0001-qga-vss-Use-a-proper-function-for-free-memory.patch
|
|
|
30761c |
|
|
|
30761c |
BuildArch: noarch
|
|
|
30761c |
|
|
|
30761c |
BuildRequires: libtool
|
|
|
30761c |
BuildRequires: zlib-devel
|
|
|
30761c |
BuildRequires: glib2-devel
|
|
|
30761c |
BuildRequires: python3-devel
|
|
|
30761c |
BuildRequires: gettext
|
|
|
30761c |
BuildRequires: gettext-devel
|
|
|
30761c |
BuildRequires: mingw32-pixman
|
|
|
30761c |
BuildRequires: mingw64-pixman
|
|
|
30761c |
BuildRequires: mingw32-gcc >= 7.4.0
|
|
|
30761c |
BuildRequires: mingw64-gcc >= 7.4.0
|
|
|
30761c |
BuildRequires: mingw32-glib2
|
|
|
30761c |
BuildRequires: mingw64-glib2
|
|
|
7ac0e5 |
BuildRequires: mingw64-headers >= 10.0.0
|
|
|
7ac0e5 |
BuildRequires: mingw32-headers >= 10.0.0
|
|
|
7ac0e5 |
BuildRequires: mingw-w64-tools >= 10.0.0
|
|
|
30761c |
BuildRequires: msitools >= 0.93.93
|
|
|
30761c |
BuildRequires: meson
|
|
|
30761c |
BuildRequires: ninja-build
|
|
|
30761c |
|
|
|
30761c |
%description
|
|
|
30761c |
qemu-kvm is an open source virtualizer that provides hardware emulation for
|
|
|
30761c |
the KVM hypervisor.
|
|
|
30761c |
|
|
|
30761c |
This package provides an agent to run inside guests, which communicates
|
|
|
30761c |
with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
|
|
|
30761c |
|
|
|
30761c |
This package does not need to be installed on the host OS.
|
|
|
30761c |
|
|
|
30761c |
%package -n qemu-ga-win
|
|
|
30761c |
Summary: %{summary}
|
|
|
30761c |
|
|
|
30761c |
%description -n qemu-ga-win
|
|
|
30761c |
Qemu Guest Agent for Windows
|
|
|
30761c |
|
|
|
30761c |
%prep
|
|
|
30761c |
%setup -q -n qemu-%{qemu_version}
|
|
|
30761c |
%patch0001 -p1
|
|
|
30761c |
%patch0002 -p1
|
|
|
30761c |
%patch0003 -p1
|
|
|
30761c |
%patch0004 -p1
|
|
|
30761c |
%patch0005 -p1
|
|
|
30761c |
%patch0006 -p1
|
|
|
30761c |
|
|
|
30761c |
%build
|
|
|
30761c |
|
|
|
7ac0e5 |
rm -rf $RPM_BUILD_ROOT
|
|
|
7ac0e5 |
|
|
|
7ac0e5 |
export QEMU_GA_MANUFACTURER="%{ga_manufacturer}"
|
|
|
7ac0e5 |
export QEMU_GA_DISTRO="%{ga_distro}"
|
|
|
7ac0e5 |
export QEMU_GA_VERSION="%{version}"
|
|
|
30761c |
|
|
|
7ac0e5 |
#Build for Win32
|
|
|
30761c |
%{mingw32_env}
|
|
|
7ac0e5 |
./configure \
|
|
|
7ac0e5 |
--disable-docs \
|
|
|
7ac0e5 |
--disable-zlib-test \
|
|
|
30761c |
--target-list=x86_64-softmmu \
|
|
|
30761c |
--cross-prefix=i686-w64-mingw32- \
|
|
|
30761c |
--enable-guest-agent-msi \
|
|
|
30761c |
%if %{with_vss}
|
|
|
7ac0e5 |
--enable-qga-vss \
|
|
|
30761c |
%endif
|
|
|
30761c |
|| cat %{_builddir}/qemu-%{qemu_version}/build/config.log
|
|
|
30761c |
|
|
|
7ac0e5 |
make -j$(nproc) qemu-ga
|
|
|
30761c |
|
|
|
7ac0e5 |
mkdir -p $RPM_BUILD_ROOT%{mingw32_bindir}
|
|
|
7ac0e5 |
# cp build/qga/qemu-ga.exe $RPM_BUILD_ROOT%{mingw32_bindir}
|
|
|
7ac0e5 |
cp build/qga/qemu-ga-i386.msi $RPM_BUILD_ROOT%{mingw32_bindir}
|
|
|
30761c |
|
|
|
30761c |
#Build for Win64
|
|
|
30761c |
%{mingw64_env}
|
|
|
7ac0e5 |
./configure \
|
|
|
7ac0e5 |
--disable-docs \
|
|
|
7ac0e5 |
--disable-zlib-test \
|
|
|
30761c |
--target-list=x86_64-softmmu \
|
|
|
30761c |
--cross-prefix=x86_64-w64-mingw32- \
|
|
|
30761c |
--enable-guest-agent-msi \
|
|
|
30761c |
%if %{with_vss}
|
|
|
7ac0e5 |
--enable-qga-vss \
|
|
|
30761c |
%endif
|
|
|
30761c |
|| cat %{_builddir}/qemu-%{qemu_version}/build/config.log
|
|
|
30761c |
|
|
|
7ac0e5 |
make -j$(nproc) qemu-ga
|
|
|
30761c |
|
|
|
30761c |
mkdir -p $RPM_BUILD_ROOT%{mingw64_bindir}
|
|
|
7ac0e5 |
# cp build/qga/qemu-ga.exe $RPM_BUILD_ROOT%{mingw64_bindir}
|
|
|
7ac0e5 |
cp build/qga/qemu-ga-x86_64.msi $RPM_BUILD_ROOT%{mingw64_bindir}
|
|
|
7ac0e5 |
|
|
|
30761c |
|
|
|
30761c |
%files -n qemu-ga-win
|
|
|
30761c |
%defattr(-,root,root)
|
|
|
30761c |
%{mingw32_bindir}/qemu-ga*
|
|
|
30761c |
%{mingw64_bindir}/qemu-ga*
|
|
|
30761c |
|
|
|
30761c |
%changelog
|
|
|
7ac0e5 |
* Tue May 17 2022 Konstantin Kostiuk <kkostiuk@redhat.com> 104.0.2
|
|
|
7ac0e5 |
- Set version to 104.0.2
|
|
|
7ac0e5 |
- BZ#2084608 - Fix mismatched allocation function
|
|
|
7ac0e5 |
- BZ#2084613 - qga-win: race condition in build
|
|
|
7ac0e5 |
|
|
|
7ac0e5 |
* Thu May 12 2022 Konstantin Kostiuk <kkostiuk@redhat.com> 104.0.1
|
|
|
7ac0e5 |
- Set version to 104.0.1
|
|
|
7ac0e5 |
- BZ#2084493 - qemu-ga can't be installed
|
|
|
7ac0e5 |
|
|
|
7ac0e5 |
* Mon Apr 25 2022 Konstantin Kostiuk <kkostiuk@redhat.com> 104.0.0
|
|
|
7ac0e5 |
- Set version to 104.0.0
|
|
|
7ac0e5 |
- BZ#2078384 - Rebase QEMU Guest Agent Windows to 7.0.0
|
|
|
7ac0e5 |
- Rebase to qemu-7.0.0
|
|
|
7ac0e5 |
|
|
|
30761c |
* Mon Jan 24 2022 Konstantin Kostiuk <kkostiuk@redhat.com> 103.0.0
|
|
|
30761c |
- Set version to 103.0.0
|
|
|
30761c |
- BZ#1992643 - Add mingw-qemu-ga-win package to CentOS stream
|
|
|
30761c |
- Rebase to qemu-6.2.0
|
|
|
30761c |
|
|
|
30761c |
* Mon Dec 27 2021 Yan Vugenfirer <yvugenfi@redhat.com> 102.10.0
|
|
|
30761c |
- Set version to 102.10.0
|
|
|
30761c |
- BZ#2026167 - Add Windows11 version support for mingw-qemu-ga
|
|
|
30761c |
- Dynamically link mingw-glib2 library
|
|
|
30761c |
|
|
|
30761c |
* Thu Dec 23 2021 Yan Vugenfirer <yvugenfi@redhat.com> 102.9.0
|
|
|
30761c |
- Set version to 102.9.0
|
|
|
30761c |
- BZ#2026167 - Add Windows11 version support for mingw-qemu-ga
|
|
|
30761c |
- Use mingw-glib2-2.70.1
|
|
|
30761c |
|
|
|
30761c |
* Thu Nov 25 2021 Yan Vugenfirer <yvugenfi@redhat.com> 102.8.8
|
|
|
30761c |
- Set version to 102.8.0
|
|
|
30761c |
- BZ#2026167 - Add Windows11 version support for mingw-qemu-ga
|
|
|
30761c |
|
|
|
30761c |
* Wed Jul 21 2021 Yan Vugenfirer <yvugenfi@redhat.com> 102.7.0
|
|
|
30761c |
- Set version to 102.7.0
|
|
|
30761c |
- BZ#1958825 - Memory leak in qemu-ga for Windows
|
|
|
30761c |
|
|
|
30761c |
* Tue Jul 13 2021 Yan Vugenfirer <yvugenfi@redhat.com> 102.6.0
|
|
|
30761c |
- Set version to 102.6.0
|
|
|
30761c |
- BZ#1978859 - The qemu-ga-win build version in MSI is different between checking inside guest and qga command
|
|
|
30761c |
- BZ#1981302 - QGA version can't be upgrade directly without uninstalling old version
|
|
|
30761c |
|
|
|
30761c |
* Tue Jun 22 2021 Yan Vugenfirer <yvugenfi@redhat.com> 102.5.0
|
|
|
30761c |
- Set version to 102.5.0
|
|
|
30761c |
- Bug 1972070 - RFE: Add Windows Server 2022 version support for mingw-qemu-ga
|
|
|
30761c |
|
|
|
30761c |
* Wed Jun 16 2021 Yan Vugenfirer <yvugenfi@redhat.com> 102.2.0
|
|
|
30761c |
- Set version to 102.2.0
|
|
|
30761c |
- Bug 1958825 - fix memory leak in qemu-ga for Windows
|
|
|
30761c |
|
|
|
30761c |
* Mon Jun 7 2021 Yan Vugenfirer <yvugenfi@redhat.com> 102.1.0
|
|
|
30761c |
- Set version to 102.1.0
|
|
|
30761c |
- BZ#1957377 - ownstream qemu-ga should report the build number and not QEMU version
|
|
|
30761c |
|
|
|
30761c |
* Wed Feb 24 2021 Basil Salman <bsalman@redhat.com> 102.0.0
|
|
|
30761c |
- rebase to qemu-5.2.0
|
|
|
30761c |
- Set version to 102.0.0
|
|
|
30761c |
- BZ#1915198 - Rebase mingw-qemu-ga-win to qemu 5.2
|
|
|
30761c |
- BZ#1929144 - fix qemu-ga-win resource leaks
|
|
|
30761c |
- BZ#1920874 - Some changes of qga command "get-devices" should be fix on mingw-qemu-ga-win to qemu 5.2
|
|
|
30761c |
- BZ#1919535 - Can not get the disks of windows guest via guest agent
|
|
|
30761c |
- BZ#1909073 - Filesystem freeze on Windows reports errors frequently
|
|
|
30761c |
|
|
|
30761c |
* Mon Aug 3 2020 Basil Salman <bsalman@redhat.com> 101.2.0
|
|
|
30761c |
BZ#1746667 - [qemu-guest-agent]System reserve volume's file system via guest agent is different from it's in guest
|
|
|
30761c |
BZ#1549425 - Getting response from guest-fsfreeze-thaw need about 90s sometimes
|
|
|
30761c |
|
|
|
30761c |
* Thu Mar 5 2020 Basil Salman <bsalman@redhat.com> 101.1.0
|
|
|
30761c |
BZ#1790455 - Add guest-get-devices command to qemu-ga-win
|
|
|
30761c |
|
|
|
30761c |
* Thu Oct 24 2019 Basil Salman <bsalman@redhat.com> 101.0.0
|
|
|
30761c |
BZ#1733165 - QEMU Guest Agent For Windows Return Garbled NIC Name
|
|
|
30761c |
BZ#1751431 - "guest-get-memory-block-info" is enabled but in fact it is not currently supported
|
|
|
30761c |
|
|
|
30761c |
* Tue Jan 22 2019 Yan Vugenfirer <yvugenfi@redhat.com> 100.0.0
|
|
|
30761c |
BZ#1651655 - Rebase mingw-qemu-ga-win to qemu 3.1. Change the versioning scheme to independent scheme for qemu-ga-win
|
|
|
30761c |
|
|
|
30761c |
* Mon Dec 24 2018 Sameeh Jubran <sjubran@redhat.com> 8.0.0
|
|
|
30761c |
BZ#1645018 - CVE-2018-12617 virtio-win: Qemu: qemu-guest-agent: Integer overflow causes segmentation fault in qmp_guest_file_read()
|
|
|
30761c |
|
|
|
30761c |
* Sun Dec 23 2018 Sameeh Jubran <sjubran@redhat.com> 8.0.0
|
|
|
30761c |
BZ#1659071 [RFE]Add "windows 2019 x64" support to OS reporting
|
|
|
30761c |
|
|
|
30761c |
* Thu Nov 08 2018 Sameeh Jubran <sjubran@redhat.com> 8.0.0
|
|
|
30761c |
#rebase mingw-qemu-ga-win to qemu 3.1.0
|
|
|
30761c |
|
|
|
30761c |
* Sun Jun 24 2018 Sameeh Jubran <sjubran@redhat.com> 7.6.0
|
|
|
30761c |
BZ#1565431 - "Disk" is [] in the result of guest-get-fsinfo cmd which is odd
|
|
|
30761c |
BZ#1594113 - Error returned after issue {"execute":"guest-fstrim" } cmd for win7-32/64 and win2008-32/64/r2 guest
|
|
|
30761c |
BZ#1536331 - Failed to upgrade qemu-ga without virtio-serial driver installed
|
|
|
30761c |
|
|
|
30761c |
* Wed Jan 24 2018 Sameeh Jubran <sjubran@redhat.com> 7.5.0
|
|
|
30761c |
BZ#1536954 - Issuing guest-fsfreeze-freeze cmd for the first time on a new qemu-ga,can not get response.
|
|
|
30761c |
|
|
|
30761c |
* Wed Dec 13 2017 Sameeh Jubran <sjubran@redhat.com> 2.9.5
|
|
|
30761c |
- Add resolved BZs to changelog
|
|
|
30761c |
BZ#1514303 - QEMU Guest Agent VSS Provider service is being installed with startup type: Automatic
|
|
|
30761c |
BZ#990629 - [Windows Guest Tools] QEMU Guest Agent service failed | After post-installation reboot another reboot is needed
|
|
|
30761c |
BZ#1514382 - [guest-agent]Still can write to freezed file system after run "{ "execute": "guest-fsfreeze-freeze"}" cmd.
|
|
|
30761c |
BZ#1071499 - qemu guest agent for Windows should support guest-set-time command
|
|
|
30761c |
BZ#1082999 - [WGT] Win 2008 32bit: Detected circular dependencies demand starting RHEV Spice Agent.
|
|
|
30761c |
BZ#1470649 - [virtio-win[qemu-ga-win][upstream]]Unable to install qemu-ga on Windows platform : QEMU guest agent -- Error 1722
|
|
|
30761c |
BZ#1514347 - [qemu-ga-win] QEMU guest agent's version is not correct.
|
|
|
30761c |
BZ#1515137 - Error window pops up during installing windows qemu-ga-win.msi manually
|
|
|
30761c |
|
|
|
30761c |
* Sun Jun 04 2017 Sameeh Jubran <sjubran@redhat.com> - 2.9.0
|
|
|
30761c |
- First release
|