1 # build-time settings that support --with or --without:
4 # Build only KVM-enabled QEMU targets, on KVM-enabled architectures.
9 # ExclusiveArch: x86_64
11 # Disabled by default, except on RHEL. Only makes sense with kvmonly.
16 # Enable by default, except on RHEL.
19 # RHEL-specific defaults:
20 %bcond_without kvmonly # enabled
21 %bcond_without exclusive_x86_64 # enabled
22 %bcond_without spice # enabled
23 %bcond_with seccomp # disabled
26 %bcond_with kvmonly # disabled
27 %bcond_with exclusive_x86_64 # disabled
28 %bcond_without spice # enabled
29 %bcond_without seccomp # enabled
32 %global SLOF_gittagdate 20120731
34 %if %{with exclusive_x86_64}
35 %global kvm_archs x86_64
37 %global kvm_archs %{ix86} x86_64 ppc64 s390x
40 %ifarch %{ix86} x86_64
42 %global have_seccomp 1
49 %global need_qemu_kvm %{with kvmonly}
51 # These values for system_xyz are overridden below for non-kvmonly builds.
52 # Instead, these values for kvm_package are overridden below for kvmonly builds.
53 # Somewhat confusing, but avoids complicated nested conditionals.
56 %global system_x86 kvm
57 %global kvm_package system-x86
58 %global kvm_target i386
59 %global need_qemu_kvm 1
62 %global system_x86 kvm
63 %global kvm_package system-x86
64 %global kvm_target x86_64
65 %global need_qemu_kvm 1
68 %global system_ppc kvm
69 %global kvm_package system-ppc
70 %global kvm_target ppc64
73 %global system_s390x kvm
74 %global kvm_package system-s390x
75 %global kvm_target s390x
79 # If kvmonly, put the qemu-kvm binary in the qemu-kvm package
80 %global kvm_package kvm
82 # If not kvmonly, build all packages and give them normal names. qemu-kvm
83 # is a simple wrapper package and is only build for archs that support KVM.
85 %global system_alpha system-alpha
86 %global system_arm system-arm
87 %global system_cris system-cris
88 %global system_lm32 system-lm32
89 %global system_m68k system-m68k
90 %global system_microblaze system-microblaze
91 %global system_mips system-mips
92 %global system_or32 system-or32
93 %global system_ppc system-ppc
94 %global system_s390x system-s390x
95 %global system_sh4 system-sh4
96 %global system_sparc system-sparc
97 %global system_x86 system-x86
98 %global system_xtensa system-xtensa
99 %global system_unicore32 system-unicore32
102 # libfdt is only needed to build ARM, Microblaze or PPC emulators
103 %if 0%{?system_arm:1}%{?system_microblaze:1}%{?system_ppc:1}
107 Summary: QEMU is a FAST! processor emulator
111 # Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
113 License: GPLv2+ and LGPLv2+ and BSD
114 Group: Development/Tools
115 URL: http://www.qemu.org/
116 # RHEL will build Qemu only on x86_64:
118 ExclusiveArch: %{kvm_archs}
121 # OOM killer breaks builds with parallel make on s390(x)
123 %define _smp_mflags %{nil}
126 # This is generated from the git qemu-kvm-1.2.0 tag, replace with proper
127 # upstream tarbal once available
128 Source0: qemu-kvm-%{version}.tar.gz
129 #Source0: http://downloads.sourceforge.net/sourceforge/kvm/qemu-kvm-%{version}.tar.gz
133 # Loads kvm kernel modules at boot
137 Source3: 80-kvm.rules
139 # KSM control scripts
141 Source5: ksm.sysconfig
143 Source7: ksmtuned.service
145 Source9: ksmtuned.conf
147 Source10: qemu-guest-agent.service
148 Source11: 99-qemu-guest-agent.rules
149 Source12: bridge.conf
151 # Patches queued for 1.2.1 stable
152 Patch0001: 0001-target-xtensa-convert-host-errno-values-to-guest.patch
153 Patch0002: 0002-target-cris-Fix-buffer-overflow.patch
154 Patch0003: 0003-target-xtensa-fix-missing-errno-codes-for-mingw32.patch
155 Patch0004: 0004-target-sparc-fix-fcmp-s-d-q-instructions-wrt-excepti.patch
156 Patch0005: 0005-target-s390x-fix-style.patch
157 Patch0006: 0006-target-s390x-split-FPU-ops.patch
158 Patch0007: 0007-target-s390x-split-condition-code-helpers.patch
159 Patch0008: 0008-target-s390x-split-integer-helpers.patch
160 Patch0009: 0009-target-s390x-split-memory-access-helpers.patch
161 Patch0010: 0010-target-s390x-rename-op_helper.c-to-misc_helper.c.patch
162 Patch0011: 0011-target-s390x-avoid-AREG0-for-FPU-helpers.patch
163 Patch0012: 0012-target-s390x-avoid-AREG0-for-integer-helpers.patch
164 Patch0013: 0013-target-s390x-avoid-AREG0-for-condition-code-helpers.patch
165 Patch0014: 0014-target-s390x-avoid-AREG0-for-misc-helpers.patch
166 Patch0015: 0015-target-s390x-switch-to-AREG0-free-mode.patch
167 Patch0016: 0016-tcg-s390-fix-ld-st-with-CONFIG_TCG_PASS_AREG0.patch
168 Patch0017: 0017-target-arm-Fix-potential-buffer-overflow.patch
169 Patch0018: 0018-tcg-optimize-split-expression-simplification.patch
170 Patch0019: 0019-tcg-optimize-simplify-or-xor-r-a-0-cases.patch
171 Patch0020: 0020-tcg-optimize-simplify-and-r-a-0-cases.patch
172 Patch0021: 0021-tcg-optimize-simplify-shift-rot-r-0-a-movi-r-0-cases.patch
173 Patch0022: 0022-tcg-optimize-swap-brcond-setcond-arguments-when-poss.patch
174 Patch0023: 0023-tcg-optimize-add-constant-folding-for-setcond.patch
175 Patch0024: 0024-tcg-optimize-add-constant-folding-for-brcond.patch
176 Patch0025: 0025-tcg-optimize-fix-if-else-break-coding-style.patch
177 Patch0026: 0026-target-s390x-avoid-cpu_single_env.patch
178 Patch0027: 0027-target-lm32-switch-to-AREG0-free-mode.patch
179 Patch0028: 0028-target-m68k-switch-to-AREG0-free-mode.patch
180 Patch0029: 0029-target-m68k-avoid-using-cpu_single_env.patch
181 Patch0030: 0030-target-unicore32-switch-to-AREG0-free-mode.patch
182 Patch0031: 0031-target-arm-convert-void-helpers.patch
183 Patch0032: 0032-target-arm-convert-remaining-helpers.patch
184 Patch0033: 0033-target-arm-final-conversion-to-AREG0-free-mode.patch
185 Patch0034: 0034-target-microblaze-switch-to-AREG0-free-mode.patch
186 Patch0035: 0035-target-cris-Avoid-AREG0-for-helpers.patch
187 Patch0036: 0036-target-cris-Switch-to-AREG0-free-mode.patch
188 Patch0037: 0037-target-sh4-switch-to-AREG0-free-mode.patch
189 Patch0038: 0038-target-mips-switch-to-AREG0-free-mode.patch
190 Patch0039: 0039-Remove-unused-CONFIG_TCG_PASS_AREG0-and-dead-code.patch
191 Patch0040: 0040-tcg-i386-allow-constants-in-load-store-ops.patch
192 Patch0041: 0041-tcg-mark-set_label-with-TCG_OPF_BB_END-flag.patch
193 Patch0042: 0042-revert-TCG-fix-copy-propagation.patch
194 Patch0043: 0043-target-mips-Set-opn-in-gen_ldst_multiple.patch
195 Patch0044: 0044-target-mips-Fix-MIPS_DEBUG.patch
196 Patch0045: 0045-target-mips-Always-evaluate-debugging-macro-argument.patch
197 Patch0046: 0046-tcg-optimize-fix-end-of-basic-block-detection.patch
198 Patch0047: 0047-target-xtensa-fix-extui-shift-amount.patch
199 Patch0048: 0048-target-xtensa-don-t-emit-extra-tcg_gen_goto_tb.patch
200 Patch0049: 0049-tcg-Introduce-movcond.patch
201 Patch0050: 0050-target-alpha-Use-movcond.patch
202 Patch0051: 0051-tcg-i386-Implement-movcond.patch
203 Patch0052: 0052-tcg-Optimize-movcond-for-constant-comparisons.patch
204 Patch0053: 0053-tcg-Optimize-two-address-commutative-operations.patch
205 Patch0054: 0054-gdbstub-sh4-fix-build-with-USE_SOFTFLOAT_STRUCT_TYPE.patch
206 Patch0055: 0055-tcg-Fix-USE_DIRECT_JUMP.patch
207 Patch0056: 0056-tcg-hppa-Fix-brcond2-and-setcond2.patch
208 Patch0057: 0057-tcg-hppa-Fix-broken-load-store-helpers.patch
209 Patch0058: 0058-tcg-mips-fix-wrong-usage-of-Z-constraint.patch
210 Patch0059: 0059-tcg-mips-kill-warnings-in-user-mode.patch
211 Patch0060: 0060-tcg-mips-use-TCGArg-or-TCGReg-instead-of-int.patch
212 Patch0061: 0061-tcg-mips-don-t-use-global-pointer.patch
213 Patch0062: 0062-tcg-mips-use-stack-for-TCG-temps.patch
214 Patch0063: 0063-tcg-mips-optimize-brcond-arg-0.patch
215 Patch0064: 0064-tcg-mips-optimize-bswap-16-16s-32-on-MIPS32R2.patch
216 Patch0065: 0065-tcg-mips-implement-rotl-rotr-ops-on-MIPS32R2.patch
217 Patch0066: 0066-tcg-mips-implement-deposit-op-on-MIPS32R2.patch
218 Patch0067: 0067-tcg-mips-implement-movcond-op-on-MIPS32R2.patch
219 Patch0068: 0068-tcg-optimize-remove-TCG_TEMP_ANY.patch
220 Patch0069: 0069-tcg-optimize-check-types-in-copy-propagation.patch
221 Patch0070: 0070-tcg-optimize-rework-copy-progagation.patch
222 Patch0071: 0071-tcg-optimize-do-copy-propagation-for-all-operations.patch
223 Patch0072: 0072-tcg-optimize-optimize-op-r-a-a-mov-r-a.patch
224 Patch0073: 0073-tcg-optimize-optimize-op-r-a-a-movi-r-0.patch
225 Patch0074: 0074-tcg-optimize-further-optimize-brcond-movcond-setcond.patch
226 Patch0075: 0075-tcg-optimize-prefer-the-op-a-a-b-form-for-commutativ.patch
227 Patch0076: 0076-tcg-remove-ifdef-endif-around-TCGOpcode-tests.patch
228 Patch0077: 0077-tcg-optimize-add-constant-folding-for-deposit.patch
229 Patch0078: 0078-tcg-README-document-tcg_gen_goto_tb-restrictions.patch
230 Patch0079: 0079-w64-Fix-TCG-helper-functions-with-5-arguments.patch
231 Patch0080: 0080-tcg-ppc32-Implement-movcond32.patch
232 Patch0081: 0081-tcg-sparc-Hack-in-qemu_ld-st64-for-32-bit.patch
233 Patch0082: 0082-tcg-sparc-Fix-ADDX-opcode.patch
234 Patch0083: 0083-tcg-sparc-Don-t-MAP_FIXED-on-top-of-the-program.patch
235 Patch0084: 0084-tcg-sparc-Assume-v9-cpu-always-i.e.-force-v8plus-in-.patch
236 Patch0085: 0085-tcg-sparc-Fix-qemu_ld-st-to-handle-32-bit-host.patch
237 Patch0086: 0086-tcg-sparc-Support-GUEST_BASE.patch
238 Patch0087: 0087-tcg-sparc-Change-AREG0-in-generated-code-to-i0.patch
239 Patch0088: 0088-tcg-sparc-Clean-up-cruft-stemming-from-attempts-to-u.patch
240 Patch0089: 0089-tcg-sparc-Mask-shift-immediates-to-avoid-illegal-ins.patch
241 Patch0090: 0090-tcg-sparc-Use-defines-for-temporaries.patch
242 Patch0091: 0091-tcg-sparc-Add-g-o-registers-to-alloc_order.patch
243 Patch0092: 0092-tcg-sparc-Fix-and-enable-direct-TB-chaining.patch
244 Patch0093: 0093-tcg-sparc-Preserve-branch-destinations-during-retran.patch
245 Patch0094: 0094-target-alpha-Initialize-env-cpu_model_str.patch
246 Patch0095: 0095-tcg-mips-fix-MIPS32-R2-detection.patch
247 Patch0096: 0096-tcg-Adjust-descriptions-of-cond-opcodes.patch
248 Patch0097: 0097-tcg-i386-fix-build-with-march-i686.patch
249 Patch0098: 0098-tcg-Fix-MAX_OPC_PARAM_IARGS.patch
250 Patch0099: 0099-tci-Fix-for-AREG0-free-mode.patch
251 Patch0100: 0100-spice-abort-on-invalid-streaming-cmdline-params.patch
252 Patch0101: 0101-spice-notify-spice-server-on-vm-start-stop.patch
253 Patch0102: 0102-spice-notify-on-vm-state-change-only-via-spice_serve.patch
254 Patch0103: 0103-spice-migration-add-QEVENT_SPICE_MIGRATE_COMPLETED.patch
255 Patch0104: 0104-spice-add-migrated-flag-to-spice-info.patch
256 Patch0105: 0105-spice-adding-seamless-migration-option-to-the-comman.patch
257 Patch0106: 0106-spice-increase-the-verbosity-of-spice-section-in-qem.patch
258 Patch0107: 0107-qxl-update_area_io-guest_bug-on-invalid-parameters.patch
259 Patch0108: 0108-qxl-add-QXL_IO_MONITORS_CONFIG_ASYNC.patch
260 Patch0109: 0109-configure-print-spice-protocol-and-spice-server-vers.patch
261 Patch0110: 0110-fix-doc-of-using-raw-values-with-sendkey.patch
262 Patch0111: 0111-qapi-Fix-potential-NULL-pointer-segfault.patch
263 Patch0112: 0112-json-parser-Fix-potential-NULL-pointer-segfault.patch
264 Patch0113: 0113-pcie-drop-version_id-field-for-live-migration.patch
265 Patch0114: 0114-pcie_aer-clear-cmask-for-Advanced-Error-Interrupt-Me.patch
266 Patch0115: 0115-fix-entry-pointer-for-ELF-kernels-loaded-with-kernel.patch
267 Patch0116: 0116-lan9118-fix-multicast-filtering.patch
268 Patch0117: 0117-MIPS-user-Fix-reset-CPU-state-initialization.patch
269 Patch0118: 0118-Add-MAINTAINERS-entry-for-leon3.patch
270 Patch0119: 0119-musicpal-Fix-flash-mapping.patch
271 Patch0120: 0120-qemu-Use-valgrind-annotations-to-mark-kvm-guest-memo.patch
272 Patch0121: 0121-hw-wm8750-Fix-potential-buffer-overflow.patch
273 Patch0122: 0122-hw-mcf5206-Fix-buffer-overflow-for-MBAR-read-write.patch
274 Patch0123: 0123-use-libexecdir-instead-of-ignoring-it-first-and-rein.patch
275 Patch0124: 0124-socket-don-t-attempt-to-reconnect-a-TCP-socket-in-se.patch
276 Patch0125: 0125-Add-ability-to-force-enable-disable-of-tools-build.patch
277 Patch0126: 0126-usb-controllers-do-not-need-to-check-for-babble-them.patch
278 Patch0127: 0127-usb-core-Don-t-set-packet-state-to-complete-on-a-nak.patch
279 Patch0128: 0128-usb-core-Add-a-usb_ep_find_packet_by_id-helper-funct.patch
280 Patch0129: 0129-usb-core-Allow-the-first-packet-of-a-pipelined-ep-to.patch
281 Patch0130: 0130-Revert-ehci-don-t-flush-cache-on-doorbell-rings.patch
282 Patch0131: 0131-ehci-Validate-qh-is-not-changed-unexpectedly-by-the-.patch
283 Patch0132: 0132-ehci-Update-copyright-headers-to-reflect-recent-work.patch
284 Patch0133: 0133-ehci-Properly-cleanup-packets-on-cancel.patch
285 Patch0134: 0134-ehci-Properly-report-completed-but-not-yet-processed.patch
286 Patch0135: 0135-ehci-check-for-EHCI_ASYNC_FINISHED-first-in-ehci_fre.patch
287 Patch0136: 0136-ehci-trace-guest-bugs.patch
288 Patch0137: 0137-ehci-add-doorbell-trace-events.patch
289 Patch0138: 0138-ehci-Add-some-additional-ehci_trace_guest_bug-calls.patch
290 Patch0139: 0139-ehci-Fix-memory-leak-in-handling-of-NAK-ed-packets.patch
291 Patch0140: 0140-ehci-Handle-USB_RET_PROCERR-in-ehci_fill_queue.patch
292 Patch0141: 0141-ehci-Correct-a-comment-in-fetchqtd-packet-processing.patch
293 Patch0142: 0142-usb-redir-Never-return-USB_RET_NAK-for-async-handled.patch
294 Patch0143: 0143-usb-redir-Don-t-delay-handling-of-open-events-to-a-b.patch
295 Patch0144: 0144-usb-redir-Get-rid-of-async-struct-get-member.patch
296 Patch0145: 0145-usb-redir-Get-rid-of-local-shadow-copy-of-packet-hea.patch
297 Patch0146: 0146-usb-redir-Get-rid-of-unused-async-struct-dev-member.patch
298 Patch0147: 0147-usb-redir-Move-to-core-packet-id-and-queue-handling.patch
299 Patch0148: 0148-usb-redir-Return-babble-when-getting-more-bulk-data-.patch
300 Patch0149: 0149-Better-name-usb-braille-device.patch
301 Patch0150: 0150-usb-audio-fix-usb-version.patch
302 Patch0151: 0151-xhci-rip-out-background-transfer-code.patch
303 Patch0152: 0152-xhci-drop-buffering.patch
304 Patch0153: 0153-xhci-fix-runtime-write-tracepoint.patch
305 Patch0154: 0154-xhci-allow-bytewise-capability-register-reads.patch
306 Patch0155: 0155-qxl-dont-update-invalid-area.patch
307 Patch0156: 0156-usb-host-allow-emulated-non-async-control-requests-w.patch
308 Patch0157: 0157-qxl-better-cleanup-for-surface-destroy.patch
309 Patch0158: 0158-ehci-switch-to-new-style-memory-ops.patch
310 Patch0159: 0159-ehci-Fix-interrupts-stopping-when-Interrupt-Threshol.patch
311 Patch0160: 0160-ehci-Don-t-process-too-much-frames-in-1-timer-tick-v.patch
312 Patch0161: 0161-sheepdog-fix-savevm-and-loadvm.patch
313 Patch0162: 0162-ide-Fix-error-messages-from-static-code-analysis-no-.patch
314 Patch0163: 0163-block-curl-Fix-wrong-free-statement.patch
315 Patch0164: 0164-vdi-Fix-warning-from-clang.patch
316 Patch0165: 0165-block-fix-block-tray-status.patch
317 Patch0166: 0166-ahci-properly-reset-PxCMD-on-HBA-reset.patch
318 Patch0167: 0167-Don-t-require-encryption-password-for-qemu-img-info-.patch
319 Patch0168: 0168-block-Don-t-forget-to-delete-temporary-file.patch
320 Patch0169: 0169-hw-qxl-tracing-fixes.patch
321 Patch0170: 0170-configure-usbredir-fixes.patch
322 Patch0171: 0171-ehci-Don-t-set-seen-to-0-when-removing-unseen-queue-.patch
323 Patch0172: 0172-ehci-Walk-async-schedule-before-and-after-migration.patch
324 Patch0173: 0173-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
325 Patch0174: 0174-uhci-Don-t-queue-up-packets-after-one-with-the-SPD-f.patch
326 Patch0175: 0175-slirp-Remove-wrong-type-casts-ins-debug-statements.patch
327 Patch0176: 0176-slirp-Fix-error-reported-by-static-code-analysis.patch
328 Patch0177: 0177-slirp-improve-TFTP-performance.patch
329 Patch0178: 0178-slirp-Handle-more-than-65535-blocks-in-TFTP-transfer.patch
330 Patch0179: 0179-slirp-Implement-TFTP-Blocksize-option.patch
331 Patch0180: 0180-srp-Don-t-use-QEMU_PACKED-for-single-elements-of-a-s.patch
332 Patch0181: 0181-Spelling-fixes-in-comments-and-documentation.patch
333 Patch0182: 0182-console-Clean-up-bytes-per-pixel-calculation.patch
334 Patch0183: 0183-qapi-Fix-enumeration-typo-error.patch
335 Patch0184: 0184-kvm-Fix-warning-from-static-code-analysis.patch
336 Patch0185: 0185-arch_init.c-add-missing-symbols-before-PRIu64-in-deb.patch
337 Patch0186: 0186-net-notify-iothread-after-flushing-queue.patch
338 Patch0187: 0187-e1000-flush-queue-whenever-can_receive-can-go-from-f.patch
339 Patch0188: 0188-xen-flush-queue-when-getting-an-event.patch
340 Patch0189: 0189-eepro100-Fix-network-hang-when-rx-buffers-run-out.patch
341 Patch0190: 0190-net-add-receive_disabled-logic-to-iov-delivery-path.patch
342 Patch0191: 0191-net-do-not-report-queued-packets-as-sent.patch
343 Patch0192: 0192-net-add-netdev-options-to-man-page.patch
344 Patch0193: 0193-net-clean-up-usbnet_receive.patch
345 Patch0194: 0194-net-fix-usbnet_receive-packet-drops.patch
346 Patch0195: 0195-net-broadcast-hub-packets-if-at-least-one-port-can-r.patch
347 Patch0196: 0196-net-asynchronous-send-receive-infrastructure-for-net.patch
348 Patch0197: 0197-net-EAGAIN-handling-for-net-socket.c-UDP.patch
349 Patch0198: 0198-net-EAGAIN-handling-for-net-socket.c-TCP.patch
350 Patch0199: 0199-configure-fix-seccomp-check.patch
351 Patch0200: 0200-configure-properly-check-if-lrt-and-lm-is-needed.patch
352 Patch0201: 0201-Revert-455aa1e08-and-c3767ed0eb.patch
353 Patch0202: 0202-qemu-char-BUGFIX-don-t-call-FD_ISSET-with-negative-f.patch
354 Patch0203: 0203-cpu_physical_memory_write_rom-needs-to-do-TB-invalid.patch
355 Patch0204: 0204-arch_init.c-Improve-soundhw-help-for-non-HAS_AUDIO_C.patch
356 Patch0205: 0205-xilinx_timer-Removed-comma-in-device-name.patch
357 Patch0206: 0206-xilinx_timer-Send-dbg-msgs-to-stderr-not-stdout.patch
358 Patch0207: 0207-xilinx.h-Error-check-when-setting-links.patch
359 Patch0208: 0208-xilinx_timer-Fix-a-compile-error-if-debug-enabled.patch
360 Patch0209: 0209-pflash_cfi01-fix-vendor-specific-extended-query.patch
361 Patch0210: 0210-MAINTAINERS-Add-entry-for-QOM-CPU.patch
362 Patch0211: 0211-iSCSI-We-need-to-support-SG_IO-also-from-iscsi_ioctl.patch
363 Patch0212: 0212-iSCSI-We-dont-need-to-explicitely-call-qemu_notify_e.patch
364 Patch0213: 0213-scsi-disk-introduce-check_lba_range.patch
365 Patch0214: 0214-scsi-disk-fix-check-for-out-of-range-LBA.patch
366 Patch0215: 0215-SCSI-Standard-INQUIRY-data-should-report-HiSup-flag-.patch
367 Patch0216: 0216-audio-Fix-warning-from-static-code-analysis.patch
368 Patch0217: 0217-qemu-ga-Remove-unreachable-code-after-g_error.patch
369 Patch0218: 0218-qemu-sockets-Fix-potential-memory-leak.patch
370 Patch0219: 0219-cadence_uart-Fix-buffer-overflow.patch
371 Patch0220: 0220-lm4549-Fix-buffer-overflow.patch
372 Patch0221: 0221-ioh3420-Remove-unreachable-code.patch
373 Patch0222: 0222-pflash_cfi01-Fix-warning-caused-by-unreachable-code.patch
374 Patch0223: 0223-curses-don-t-initialize-curses-when-qemu-is-daemoniz.patch
375 Patch0224: 0224-TextConsole-saturate-escape-parameter-in-TTY_STATE_C.patch
376 Patch0225: 0225-linux-user-Remove-redundant-null-check-and-replace-f.patch
377 Patch0226: 0226-net-socket-Fix-compiler-warning-regression-for-MinGW.patch
378 Patch0227: 0227-w32-Always-use-standard-instead-of-native-format-str.patch
379 Patch0228: 0228-w32-Add-implementation-of-gmtime_r-localtime_r.patch
380 Patch0229: 0229-blockdev-preserve-readonly-and-snapshot-states-acros.patch
381 Patch0230: 0230-block-correctly-set-the-keep_read_only-flag.patch
382 Patch0231: 0231-configure-Allow-builds-without-any-system-or-user-em.patch
383 Patch0232: 0232-Refactor-inet_connect_opts-function.patch
384 Patch0233: 0233-Separate-inet_connect-into-inet_connect-blocking-and.patch
385 Patch0234: 0234-Fix-address-handling-in-inet_nonblocking_connect.patch
386 Patch0235: 0235-Clear-handler-only-for-valid-fd.patch
387 Patch0236: 0236-pl190-fix-read-of-VECTADDR.patch
388 Patch0237: 0237-hw-armv7m_nvic-Correctly-register-GIC-region-when-se.patch
389 Patch0238: 0238-Versatile-Express-Fix-NOR-flash-0-address-and-remove.patch
390 Patch0239: 0239-i386-kvm-bit-10-of-CPUID-8000_0001-.EDX-is-reserved.patch
391 Patch0240: 0240-fpu-softfloat.c-Return-correctly-signed-values-from-.patch
392 Patch0241: 0241-pseries-Don-t-test-for-MSR_PR-for-hypercalls-under-K.patch
393 Patch0242: 0242-update-VERSION-for-v1.2.1.patch
394 Patch0243: 0243-fdc-force-the-fifo-access-to-be-in-bounds-of-the-allocated-buffer.patch
396 # The infamous chardev flow control patches
397 Patch0400: 0400-char-Split-out-tcp-socket-close-code-in-a-separate-f.patch
398 Patch0401: 0401-char-Add-a-QemuChrHandlers-struct-to-initialise-char.patch
399 Patch0402: 0402-iohandlers-Add-enable-disable_write_fd_handler-funct.patch
400 Patch0403: 0403-char-Add-framework-for-a-write-unblocked-callback.patch
401 Patch0404: 0404-char-Update-send_all-to-handle-nonblocking-chardev-w.patch
402 Patch0405: 0405-char-Equip-the-unix-tcp-backend-to-handle-nonblockin.patch
403 Patch0406: 0406-char-Throttle-when-host-connection-is-down.patch
404 Patch0407: 0407-virtio-console-Enable-port-throttling-when-chardev-i.patch
405 Patch0408: 0408-spice-qemu-char.c-add-throttling.patch
406 Patch0409: 0409-spice-qemu-char.c-remove-intermediate-buffer.patch
407 Patch0410: 0410-usb-redir-Add-flow-control-support.patch
408 # 411 superceded by 414 which does the same thing but on top of 413 that is
410 Patch0412: 0412-char-Disable-write-callback-if-throttled-chardev-is-.patch
411 Patch0413: 0413-hw-virtio-serial-bus-post_load-send_event-when-vm-is.patch
412 Patch0414: 0414-hw-virtio-serial-bus-replay-guest-open-on-destinatio.patch
414 # Spice features from upstream master: seamless migration & dynamic monitors
415 Patch0500: 0500-qxl-disallow-unknown-revisions.patch
416 Patch0501: 0501-spice-make-number-of-surfaces-runtime-configurable.patch
417 Patch0502: 0502-qxl-Add-set_client_capabilities-interface-to-QXLInte.patch
418 Patch0503: 0503-Remove-ifdef-QXL_COMMAND_FLAG_COMPAT_16BPP.patch
419 Patch0504: 0504-spice-switch-to-queue-for-vga-mode-updates.patch
420 Patch0505: 0505-spice-split-qemu_spice_create_update.patch
421 Patch0506: 0506-spice-add-screen-mirror.patch
422 Patch0507: 0507-spice-send-updates-only-for-changed-screen-content.patch
423 Patch0508: 0508-qxl-Ignore-set_client_capabilities-pre-post-migrate.patch
424 Patch0509: 0509-qxl-add-trace-event-for-QXL_IO_LOG.patch
425 Patch0510: 0510-hw-qxl-support-client-monitor-configuration-via-devi.patch
426 Patch0511: 0511-qxl-always-update-displaysurface-on-resize.patch
427 Patch0512: 0512-qxl-update_area_io-cleanup-invalid-parameters-handli.patch
428 Patch0513: 0513-qxl-fix-range-check-for-rev3-io-commands.patch
429 Patch0514: 0514-hw-qxl-exit-on-failure-to-register-qxl-interface.patch
430 Patch0515: 0515-hw-qxl-fix-condition-for-exiting-guest_bug.patch
431 Patch0516: 0516-hw-qxl-qxl_dirty_surfaces-use-uintptr_t.patch
432 Patch0517: 0517-spice-raise-requirement-to-0.12.patch
433 Patch0518: 0518-qxl-set-default-revision-to-4.patch
435 # usb-redir live-migration and misc bits, will be in before 1.3.0
436 Patch0600: 0600-usb-redir-Convert-to-new-libusbredirparser-0.5-API.patch
437 Patch0601: 0601-usb-redir-Set-ep-max_packet_size-if-available.patch
438 Patch0602: 0602-usb-redir-Add-a-usbredir_reject_device-helper-functi.patch
439 Patch0603: 0603-usb-redir-Ensure-our-peer-has-the-necessary-caps-whe.patch
440 Patch0604: 0604-usb-redir-Enable-pipelining-for-bulk-endpoints.patch
441 Patch0605: 0605-xhci-move-device-lookup-into-xhci_setup_packet.patch
442 Patch0606: 0606-xhci-implement-mfindex.patch
443 Patch0607: 0607-xhci-iso-xfer-support.patch
444 Patch0608: 0608-xhci-trace-cc-codes-in-cleartext.patch
445 Patch0609: 0609-xhci-add-trace_usb_xhci_ep_set_dequeue.patch
446 Patch0610: 0610-xhci-update-register-layout.patch
447 Patch0611: 0611-xhci-update-port-handling.patch
448 Patch0612: 0612-usb3-superspeed-descriptors.patch
449 Patch0613: 0613-usb3-superspeed-endpoint-companion.patch
450 Patch0614: 0614-usb3-bos-decriptor.patch
451 Patch0615: 0615-usb-storage-usb3-support.patch
452 Patch0616: 0616-xhci-fix-cleanup-msi.patch
453 Patch0617: 0617-xhci-rework-interrupt-handling.patch
454 Patch0618: 0618-xhci-add-msix-support.patch
455 Patch0619: 0619-xhci-move-register-update-into-xhci_intr_raise.patch
456 Patch0620: 0620-xhci-add-XHCIInterrupter.patch
457 Patch0621: 0621-xhci-prepare-xhci_runtime_-read-write-for-multiple-i.patch
458 Patch0622: 0622-xhci-pick-target-interrupter.patch
459 Patch0623: 0623-xhci-support-multiple-interrupters.patch
460 Patch0624: 0624-xhci-kill-xhci_mem_-read-write-dispatcher-functions.patch
461 Patch0625: 0625-usb-redir-Change-cancelled-packet-code-into-a-generi.patch
462 Patch0626: 0626-usb-redir-Add-an-already_in_flight-packet-id-queue.patch
463 Patch0627: 0627-usb-redir-Store-max_packet_size-in-endp_data.patch
464 Patch0628: 0628-usb-redir-Add-support-for-migration.patch
465 Patch0629: 0629-usb-redir-Add-chardev-open-close-debug-logging.patch
466 Patch0630: 0630-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
467 Patch0631: 0631-ehci-Fix-interrupt-packet-MULT-handling.patch
468 Patch0632: 0632-usb-redir-Adjust-pkg-config-check-for-usbredirparser.patch
469 Patch0633: 0633-usb-redir-Change-usbredir_open_chardev-into-usbredir.patch
470 Patch0634: 0634-usb-redir-Don-t-make-migration-fail-in-none-seamless.patch
472 # Non upstream build fix, http://www.spinics.net/lists/kvm/msg80589.html
473 Patch0800: 0800-mips-Fix-link-error-with-piix4_pm_init.patch
474 # Add ./configure --disable-kvm-options
475 # keep: Carrying locally until qemu-kvm is fully merged into qemu.git
476 Patch0801: 0801-configure-Add-disable-kvm-options.patch
477 # Fix loading arm initrd if kernel is very large (bz 862766)
478 Patch802: 0802-arm_boot-Change-initrd-load-address-to-halfway-throu.patch
479 # Don't use reserved word 'function' in systemtap files (bz 870972)
480 Patch803: 0803-dtrace-backend-add-function-to-reserved-words.patch
481 # Drop assertion that was triggering when pausing guests w/ qxl (bz
483 Patch804: 0804-wip-hw-qxl-inject-interrupts-in-any-state.patch
484 # 38f419f (configure: Fix CONFIG_QEMU_HELPERDIR generation, 2012-10-17)
485 Patch805: 0805-configure-Fix-CONFIG_QEMU_HELPERDIR-generation.patch
487 BuildRequires: SDL-devel
488 BuildRequires: zlib-devel
490 BuildRequires: texi2html
491 BuildRequires: gnutls-devel
492 BuildRequires: cyrus-sasl-devel
493 BuildRequires: libtool
494 BuildRequires: libaio-devel
496 BuildRequires: pciutils-devel
497 BuildRequires: pulseaudio-libs-devel
498 BuildRequires: ncurses-devel
499 BuildRequires: libattr-devel
500 BuildRequires: usbredir-devel >= 0.5.1
501 BuildRequires: texinfo
502 %if 0%{?have_spice:1}
503 BuildRequires: spice-protocol >= 0.12.2
504 BuildRequires: spice-server-devel >= 0.12.0
506 %if 0%{?have_seccomp:1}
507 BuildRequires: libseccomp-devel >= 1.0.0
509 # For network block driver
510 BuildRequires: libcurl-devel
511 # For rbd block driver
512 BuildRequires: ceph-devel
513 # We need both because the 'stap' binary is probed for by configure
514 BuildRequires: systemtap
515 BuildRequires: systemtap-sdt-devel
516 # For smartcard NSS support
517 BuildRequires: nss-devel
518 # For XFS discard support in raw-posix.c
519 BuildRequires: xfsprogs-devel
520 # For VNC JPEG support
521 BuildRequires: libjpeg-devel
522 # For VNC PNG support
523 BuildRequires: libpng-devel
524 # For uuid generation
525 BuildRequires: libuuid-devel
526 # For BlueZ device support
527 BuildRequires: bluez-libs-devel
528 # For Braille device support
529 BuildRequires: brlapi-devel
531 # For FDT device tree support
532 BuildRequires: libfdt-devel
535 BuildRequires: check-devel
537 BuildRequires: libcap-devel
539 Requires: %{name}-%{user} = %{epoch}:%{version}-%{release}
541 %if 0%{?system_alpha:1}
542 Requires: %{name}-%{system_alpha} = %{epoch}:%{version}-%{release}
544 %if 0%{?system_arm:1}
545 Requires: %{name}-%{system_arm} = %{epoch}:%{version}-%{release}
547 %if 0%{?system_cris:1}
548 Requires: %{name}-%{system_cris} = %{epoch}:%{version}-%{release}
550 %if 0%{?system_lm32:1}
551 Requires: %{name}-%{system_lm32} = %{epoch}:%{version}-%{release}
553 %if 0%{?system_m68k:1}
554 Requires: %{name}-%{system_m68k} = %{epoch}:%{version}-%{release}
556 %if 0%{?system_microblaze:1}
557 Requires: %{name}-%{system_microblaze} = %{epoch}:%{version}-%{release}
559 %if 0%{?system_mips:1}
560 Requires: %{name}-%{system_mips} = %{epoch}:%{version}-%{release}
562 %if 0%{?system_or32:1}
563 Requires: %{name}-%{system_or32} = %{epoch}:%{version}-%{release}
565 %if 0%{?system_ppc:1}
566 Requires: %{name}-%{system_ppc} = %{epoch}:%{version}-%{release}
568 %if 0%{?system_s390x:1}
569 Requires: %{name}-%{system_s390x} = %{epoch}:%{version}-%{release}
571 %if 0%{?system_sh4:1}
572 Requires: %{name}-%{system_sh4} = %{epoch}:%{version}-%{release}
574 %if 0%{?system_sparc:1}
575 Requires: %{name}-%{system_sparc} = %{epoch}:%{version}-%{release}
577 %if 0%{?system_unicore32:1}
578 Requires: %{name}-%{system_unicore32} = %{epoch}:%{version}-%{release}
580 %if 0%{?system_x86:1}
581 Requires: %{name}-%{system_x86} = %{epoch}:%{version}-%{release}
583 %if 0%{?system_xtensa:1}
584 Requires: %{name}-%{system_xtensa} = %{epoch}:%{version}-%{release}
586 Requires: %{name}-img = %{epoch}:%{version}-%{release}
588 %define qemudocdir %{_docdir}/%{name}
591 QEMU is a generic and open source processor emulator which achieves a good
592 emulation speed by using dynamic translation. QEMU has two operating modes:
594 * Full system emulation. In this mode, QEMU emulates a full system (for
595 example a PC), including a processor and various peripherials. It can be
596 used to launch different Operating Systems without rebooting the PC or
597 to debug system code.
598 * User mode emulation. In this mode, QEMU can launch Linux processes compiled
599 for one CPU on another CPU.
601 As QEMU requires no host kernel patches to run, it is safe and easy to use.
603 %if %{without kvmonly}
606 Summary: QEMU metapackage for KVM support
607 Group: Development/Tools
608 Requires: qemu-%{kvm_package} = %{epoch}:%{version}-%{release}
611 This is a meta-package that provides a qemu-system-<arch> package for native
612 architectures where kvm can be enabled. For example, in an x86 system, this
613 will install qemu-system-x86
618 Summary: QEMU command line tool for manipulating disk images
619 Group: Development/Tools
620 # librbd (from ceph) added new symbol rbd_flush recently. If you
621 # update qemu-img without updating librdb you get:
622 # qemu-img: undefined symbol: rbd_flush
623 # ** NB ** This can be removed after Fedora 17 is released.
624 Conflicts: ceph < 0.37-2
627 This package provides a command line tool for manipulating disk images
630 Summary: QEMU common files needed by all QEMU targets
631 Group: Development/Tools
632 Requires(post): /usr/bin/getent
633 Requires(post): /usr/sbin/groupadd
634 Requires(post): /usr/sbin/useradd
636 QEMU is a generic and open source processor emulator which achieves a good
637 emulation speed by using dynamic translation.
639 This package provides the common files needed by all QEMU targets
642 Summary: QEMU guest agent
643 Group: System Environment/Daemons
645 %description guest-agent
646 QEMU is a generic and open source processor emulator which achieves a good
647 emulation speed by using dynamic translation.
649 This package provides an agent to run inside guests, which communicates
650 with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
652 This package does not need to be installed on the host OS.
655 if [ $1 -eq 1 ] ; then
656 # Initial installation.
657 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
661 if [ $1 -eq 0 ] ; then
662 # Package removal, not upgrade.
663 /bin/systemctl stop qemu-guest-agent.service > /dev/null 2>&1 || :
667 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
668 if [ $1 -ge 1 ] ; then
669 # Package upgrade, not uninstall.
670 /bin/systemctl try-restart qemu-guest-agent.service >/dev/null 2>&1 || :
677 Summary: QEMU user mode emulation of qemu targets
678 Group: Development/Tools
679 Requires: %{name}-common = %{epoch}:%{version}-%{release}
681 QEMU is a generic and open source processor emulator which achieves a good
682 emulation speed by using dynamic translation.
684 This package provides the user mode emulation of qemu targets
687 %if 0%{?system_x86:1}
688 %package %{system_x86}
689 Summary: QEMU system emulator for x86
690 Group: Development/Tools
691 Requires: %{name}-common = %{epoch}:%{version}-%{release}
694 Requires: vgabios >= 0.6c-2
695 Requires: seabios-bin >= 0.6.0-2
696 Requires: sgabios-bin
697 Requires: ipxe-roms-qemu
698 %if 0%{?have_seccomp:1}
699 Requires: libseccomp >= 1.0.0
702 %description %{system_x86}
703 QEMU is a generic and open source processor emulator which achieves a good
704 emulation speed by using dynamic translation.
706 This package provides the system emulator for x86. When being run in a x86
707 machine that supports it, this package also provides the KVM virtualization
711 %if 0%{?system_alpha:1}
712 %package %{system_alpha}
713 Summary: QEMU system emulator for Alpha
714 Group: Development/Tools
715 Requires: %{name}-common = %{epoch}:%{version}-%{release}
716 %description %{system_alpha}
717 QEMU is a generic and open source processor emulator which achieves a good
718 emulation speed by using dynamic translation.
720 This package provides the system emulator for Alpha systems.
723 %if 0%{?system_arm:1}
724 %package %{system_arm}
725 Summary: QEMU system emulator for ARM
726 Group: Development/Tools
727 Requires: %{name}-common = %{epoch}:%{version}-%{release}
728 %description %{system_arm}
729 QEMU is a generic and open source processor emulator which achieves a good
730 emulation speed by using dynamic translation.
732 This package provides the system emulator for ARM boards.
735 %if 0%{?system_mips:1}
736 %package %{system_mips}
737 Summary: QEMU system emulator for MIPS
738 Group: Development/Tools
739 Requires: %{name}-common = %{epoch}:%{version}-%{release}
740 %description %{system_mips}
741 QEMU is a generic and open source processor emulator which achieves a good
742 emulation speed by using dynamic translation.
744 This package provides the system emulator for MIPS boards.
747 %if 0%{?system_cris:1}
748 %package %{system_cris}
749 Summary: QEMU system emulator for CRIS
750 Group: Development/Tools
751 Requires: %{name}-common = %{epoch}:%{version}-%{release}
752 %description %{system_cris}
753 QEMU is a generic and open source processor emulator which achieves a good
754 emulation speed by using dynamic translation.
756 This package provides the system emulator for CRIS boards.
759 %if 0%{?system_lm32:1}
760 %package %{system_lm32}
761 Summary: QEMU system emulator for LatticeMico32
762 Group: Development/Tools
763 Requires: %{name}-common = %{epoch}:%{version}-%{release}
764 %description %{system_lm32}
765 QEMU is a generic and open source processor emulator which achieves a good
766 emulation speed by using dynamic translation.
768 This package provides the system emulator for LatticeMico32 boards.
771 %if 0%{?system_m68k:1}
772 %package %{system_m68k}
773 Summary: QEMU system emulator for ColdFire (m68k)
774 Group: Development/Tools
775 Requires: %{name}-common = %{epoch}:%{version}-%{release}
776 %description %{system_m68k}
777 QEMU is a generic and open source processor emulator which achieves a good
778 emulation speed by using dynamic translation.
780 This package provides the system emulator for ColdFire boards.
783 %if 0%{?system_microblaze:1}
784 %package %{system_microblaze}
785 Summary: QEMU system emulator for Microblaze
786 Group: Development/Tools
787 Requires: %{name}-common = %{epoch}:%{version}-%{release}
788 %description %{system_microblaze}
789 QEMU is a generic and open source processor emulator which achieves a good
790 emulation speed by using dynamic translation.
792 This package provides the system emulator for Microblaze boards.
795 %if 0%{?system_or32:1}
796 %package %{system_or32}
797 Summary: QEMU system emulator for OpenRisc32
798 Group: Development/Tools
799 Requires: %{name}-common = %{epoch}:%{version}-%{release}
800 %description %{system_or32}
801 QEMU is a generic and open source processor emulator which achieves a good
802 emulation speed by using dynamic translation.
804 This package provides the system emulator for OpenRisc32 boards.
807 %if 0%{?system_s390x:1}
808 %package %{system_s390x}
809 Summary: QEMU system emulator for S390
810 Group: Development/Tools
811 Requires: %{name}-common = %{epoch}:%{version}-%{release}
812 %description %{system_s390x}
813 QEMU is a generic and open source processor emulator which achieves a good
814 emulation speed by using dynamic translation.
816 This package provides the system emulator for S390 systems.
819 %if 0%{?system_sh4:1}
820 %package %{system_sh4}
821 Summary: QEMU system emulator for SH4
822 Group: Development/Tools
823 Requires: %{name}-common = %{epoch}:%{version}-%{release}
824 %description %{system_sh4}
825 QEMU is a generic and open source processor emulator which achieves a good
826 emulation speed by using dynamic translation.
828 This package provides the system emulator for SH4 boards.
831 %if 0%{?system_sparc:1}
832 %package %{system_sparc}
833 Summary: QEMU system emulator for SPARC
834 Group: Development/Tools
835 Requires: %{name}-common = %{epoch}:%{version}-%{release}
837 %description %{system_sparc}
838 QEMU is a generic and open source processor emulator which achieves a good
839 emulation speed by using dynamic translation.
841 This package provides the system emulator for SPARC and SPARC64 systems.
844 %if 0%{?system_ppc:1}
845 %package %{system_ppc}
846 Summary: QEMU system emulator for PPC
847 Group: Development/Tools
848 Requires: %{name}-common = %{epoch}:%{version}-%{release}
850 Requires: SLOF = 0.1.git%{SLOF_gittagdate}
851 %description %{system_ppc}
852 QEMU is a generic and open source processor emulator which achieves a good
853 emulation speed by using dynamic translation.
855 This package provides the system emulator for PPC and PPC64 systems.
858 %if 0%{?system_xtensa:1}
859 %package %{system_xtensa}
860 Summary: QEMU system emulator for Xtensa
861 Group: Development/Tools
862 Requires: %{name}-common = %{epoch}:%{version}-%{release}
863 %description %{system_xtensa}
864 QEMU is a generic and open source processor emulator which achieves a good
865 emulation speed by using dynamic translation.
867 This package provides the system emulator for Xtensa boards.
870 %if 0%{?system_unicore32:1}
871 %package %{system_unicore32}
872 Summary: QEMU system emulator for Unicore32
873 Group: Development/Tools
874 Requires: %{name}-common = %{epoch}:%{version}-%{release}
875 %description %{system_unicore32}
876 QEMU is a generic and open source processor emulator which achieves a good
877 emulation speed by using dynamic translation.
879 This package provides the system emulator for Unicore32 boards.
884 Summary: KVM debugging and diagnostics tools
885 Group: Development/Tools
887 %description kvm-tools
888 This package contains some diagnostics and debugging tools for KVM,
893 %setup -q -n qemu-kvm-%{version}
1150 # 411 superceded by 414
1220 buildarch="%{kvm_target}-softmmu"
1222 buildarch="i386-softmmu x86_64-softmmu alpha-softmmu arm-softmmu cris-softmmu \
1223 lm32-softmmu m68k-softmmu microblaze-softmmu microblazeel-softmmu \
1224 mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu \
1225 or32-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu s390x-softmmu \
1226 sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu \
1227 xtensa-softmmu xtensaeb-softmmu unicore32-softmmu \
1228 i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user \
1229 armeb-linux-user cris-linux-user m68k-linux-user \
1230 microblaze-linux-user microblazeel-linux-user mips-linux-user \
1231 mipsel-linux-user or32-linux-user ppc-linux-user ppc64-linux-user \
1232 ppc64abi32-linux-user s390x-linux-user sh4-linux-user sh4eb-linux-user \
1233 sparc-linux-user sparc64-linux-user sparc32plus-linux-user \
1234 unicore32-linux-user"
1237 # --build-id option is used for giving info to the debug packages.
1238 extraldflags="-Wl,--build-id";
1239 buildldflags="VL_LDFLAGS=-Wl,--build-id"
1242 # drop -g flag to prevent memory exhaustion by linker
1243 %global optflags %(echo %{optflags} | sed 's/-g//')
1244 sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
1250 --prefix=%{_prefix} \
1251 --sysconfdir=%{_sysconfdir} \
1252 --interp-prefix=%{_prefix}/qemu-%%M \
1253 --audio-drv-list=pa,sdl,alsa,oss \
1255 --extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
1256 --extra-cflags="%{optflags} -fPIE -DPIE" \
1257 %if 0%{?have_spice:1}
1261 %if 0%{?have_seccomp:1}
1270 --enable-trace-backend=dtrace \
1276 echo "config-host.mak contents:"
1281 make V=1 %{?_smp_mflags} $buildldflags
1284 # This is kind of confusing. We run ./configure + make twice here to
1285 # preserve some back compat: if on x86, we want to provide a qemu-kvm
1286 # binary that defaults to KVM=on. All other qemu-system* should be
1287 # able to use KVM, but default to KVM=off (upstream qemu semantics).
1289 # Once qemu-kvm and qemu fully merge, and we base off qemu releases,
1290 # all qemu-system-* will default to KVM=off, so we hopefully won't need
1291 # to do these double builds. But then I'm not sure how we are going to
1292 # generate a back compat qemu-kvm binary...
1294 %if 0%{?need_qemu_kvm}
1295 # Build qemu-kvm back compat binary
1296 dobuild --target-list=%{kvm_target}-softmmu
1298 # Setup back compat qemu-kvm binary which defaults to KVM=on
1299 ./scripts/tracetool.py --backend dtrace --format stap \
1300 --binary %{_bindir}/qemu-kvm --target-arch %{kvm_target} --target-type system \
1301 --probe-prefix qemu.kvm < ./trace-events > qemu-kvm.stp
1303 cp -a %{kvm_target}-softmmu/qemu-system-%{kvm_target} qemu-kvm
1307 %if %{without kvmonly}
1308 %if 0%{?need_qemu_kvm}
1312 # Build qemu-system-* with consistent default of kvm=off
1313 dobuild --target-list="$buildarch" --disable-kvm-options
1316 gcc %{SOURCE6} -O2 -g -o ksmctl
1321 %define _udevdir /lib/udev/rules.d
1323 install -D -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ksm
1325 install -D -p -m 0755 %{SOURCE8} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1326 install -D -p -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1328 %ifarch %{kvm_archs}
1329 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
1330 mkdir -p $RPM_BUILD_ROOT%{_bindir}/
1331 mkdir -p $RPM_BUILD_ROOT%{_udevdir}
1333 install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/kvm.modules
1334 install -m 0755 scripts/kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}/
1335 install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_udevdir}
1338 make DESTDIR=$RPM_BUILD_ROOT install
1340 %if 0%{?need_qemu_kvm}
1341 mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
1342 mkdir -p $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset
1344 install -m 0755 qemu-kvm $RPM_BUILD_ROOT%{_bindir}/
1345 install -m 0644 qemu-kvm.stp $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/
1349 rm $RPM_BUILD_ROOT%{_bindir}/qemu-system-%{kvm_target}
1350 rm $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/qemu-system-%{kvm_target}.stp
1353 chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man1/*
1354 install -D -p -m 0644 -t ${RPM_BUILD_ROOT}%{qemudocdir} Changelog README TODO COPYING COPYING.LIB LICENSE
1356 install -D -p -m 0644 qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl2/qemu.conf
1358 # Provided by package openbios
1359 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-ppc
1360 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc32
1361 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc64
1362 # Provided by package SLOF
1363 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/slof.bin
1365 # Remove possibly unpackaged files. Unlike others that are removed
1366 # unconditionally, these firmware files are still distributed as a binary
1367 # together with the qemu package. We should try to move at least s390-zipl.rom
1368 # to a separate package... Discussed here on the packaging list:
1369 # https://lists.fedoraproject.org/pipermail/packaging/2012-July/008563.html
1370 %if 0%{!?system_alpha:1}
1371 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/palcode-clipper
1373 %if 0%{!?system_microblaze:1}
1374 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/petalogix*.dtb
1376 %if 0%{!?system_ppc:1}
1377 rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bamboo.dtb
1378 rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/ppc_rom.bin
1379 rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/spapr-rtas.bin
1381 %if 0%{!?system_s390x:1}
1382 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-zipl.rom
1385 # Provided by package ipxe
1386 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe*rom
1387 # Provided by package vgabios
1388 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/vgabios*bin
1389 # Provided by package seabios
1390 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bios.bin
1391 # Provided by package sgabios
1392 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/sgabios.bin
1394 %if 0%{?system_x86:1}
1395 # the pxe gpxe images will be symlinks to the images on
1396 # /usr/share/ipxe, as QEMU doesn't know how to look
1397 # for other paths, yet.
1399 ln -s ../ipxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.rom
1402 pxe_link e1000 8086100e
1403 pxe_link ne2k_pci 10ec8029
1404 pxe_link pcnet 10222000
1405 pxe_link rtl8139 10ec8139
1406 pxe_link virtio 1af41000
1409 ln -s $1 %{buildroot}%{_datadir}/%{name}/$2
1412 rom_link ../vgabios/VGABIOS-lgpl-latest.bin vgabios.bin
1413 rom_link ../vgabios/VGABIOS-lgpl-latest.cirrus.bin vgabios-cirrus.bin
1414 rom_link ../vgabios/VGABIOS-lgpl-latest.qxl.bin vgabios-qxl.bin
1415 rom_link ../vgabios/VGABIOS-lgpl-latest.stdvga.bin vgabios-stdvga.bin
1416 rom_link ../vgabios/VGABIOS-lgpl-latest.vmware.bin vgabios-vmware.bin
1417 rom_link ../seabios/bios.bin bios.bin
1418 rom_link ../sgabios/sgabios.bin sgabios.bin
1422 mkdir -p $RPM_BUILD_ROOT%{_exec_prefix}/lib/binfmt.d
1424 %ifnarch %{ix86} x86_64
1435 qemu-mips qemu-mipsn32 qemu-mips64 \
1438 qemu-mipsel qemu-mipsn32el qemu-mips64el \
1446 %ifnarch sparc sparc64
1457 test $i = dummy && continue
1458 grep /$i:\$ %{SOURCE1} > $RPM_BUILD_ROOT%{_exec_prefix}/lib/binfmt.d/$i.conf
1459 chmod 644 $RPM_BUILD_ROOT%{_exec_prefix}/lib/binfmt.d/$i.conf
1463 # For the qemu-guest-agent subpackage install the systemd
1464 # service and udev rules.
1465 mkdir -p $RPM_BUILD_ROOT%{_udevdir}
1466 install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_udevdir}
1468 # Install rules to use the bridge helper with libvirt's virbr0
1469 install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/qemu
1470 chmod u+s $RPM_BUILD_ROOT%{_libexecdir}/qemu-bridge-helper
1475 %ifarch %{kvm_archs}
1476 %post %{kvm_package}
1477 # load kvm modules now, so we can make sure no reboot is needed.
1478 # If there's already a kvm module installed, we don't mess with it
1479 sh %{_sysconfdir}/sysconfig/modules/kvm.modules || :
1480 udevadm trigger --sysname-match=kvm || :
1484 if [ $1 -eq 1 ] ; then
1485 # Initial installation
1486 /bin/systemctl enable ksm.service >/dev/null 2>&1 || :
1487 /bin/systemctl enable ksmtuned.service >/dev/null 2>&1 || :
1488 /bin/ln -s /usr/bin/qemu-kvm /usr/libexec/qemu-kvm
1491 getent group kvm >/dev/null || groupadd -g 36 -r kvm
1492 getent group qemu >/dev/null || groupadd -g 107 -r qemu
1493 getent passwd qemu >/dev/null || \
1494 useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
1498 if [ $1 -eq 0 ] ; then
1499 # Package removal, not upgrade
1500 /bin/systemctl --no-reload disable ksmtuned.service > /dev/null 2>&1 || :
1501 /bin/systemctl --no-reload disable ksm.service > /dev/null 2>&1 || :
1502 /bin/systemctl stop ksmtuned.service > /dev/null 2>&1 || :
1503 /bin/systemctl stop ksm.service > /dev/null 2>&1 || :
1507 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
1508 if [ $1 -ge 1 ] ; then
1509 # Package upgrade, not uninstall
1510 /bin/systemctl try-restart ksmtuned.service >/dev/null 2>&1 || :
1511 /bin/systemctl try-restart ksm.service >/dev/null 2>&1 || :
1513 if [ $1 -eq 0 ] ; then
1514 # Package removal, not upgrade
1515 /bin/rm -f /usr/libexec/qemu-kvm
1519 %{_sysconfdir}/sysconfig/modules/kvm.modules \
1520 %{_udevdir}/80-kvm.rules
1522 %if 0%{?need_qemu_kvm}
1523 %global qemu_kvm_files \
1524 %{_bindir}/qemu-kvm \
1525 %{_datadir}/systemtap/tapset/qemu-kvm.stp
1529 %defattr(-,root,root)
1531 %ifarch %{kvm_archs}
1533 %defattr(-,root,root)
1537 %defattr(-,root,root)
1539 %doc %{qemudocdir}/Changelog
1540 %doc %{qemudocdir}/README
1541 %doc %{qemudocdir}/TODO
1542 %doc %{qemudocdir}/qemu-doc.html
1543 %doc %{qemudocdir}/qemu-tech.html
1544 %doc %{qemudocdir}/qmp-commands.txt
1545 %doc %{qemudocdir}/COPYING
1546 %doc %{qemudocdir}/COPYING.LIB
1547 %doc %{qemudocdir}/LICENSE
1548 %dir %{_datadir}/%{name}/
1549 %{_datadir}/%{name}/keymaps/
1550 %{_mandir}/man1/qemu.1*
1551 %{_mandir}/man1/virtfs-proxy-helper.1*
1552 %{_mandir}/man8/qemu-nbd.8*
1554 %{_bindir}/virtfs-proxy-helper
1555 %{_libexecdir}/qemu-bridge-helper
1556 %config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
1557 %config(noreplace) %{_sysconfdir}/sysconfig/ksm
1558 %{_sbindir}/ksmtuned
1559 %config(noreplace) %{_sysconfdir}/ksmtuned.conf
1560 %dir %{_sysconfdir}/qemu
1561 %config(noreplace) %{_sysconfdir}/qemu/bridge.conf
1564 %defattr(-,root,root,-)
1567 %{_udevdir}/99-qemu-guest-agent.rules
1571 %defattr(-,root,root)
1572 %{_exec_prefix}/lib/binfmt.d/qemu-*.conf
1573 %{_bindir}/qemu-i386
1574 %{_bindir}/qemu-x86_64
1575 %{_bindir}/qemu-alpha
1577 %{_bindir}/qemu-armeb
1578 %{_bindir}/qemu-cris
1579 %{_bindir}/qemu-m68k
1580 %{_bindir}/qemu-microblaze
1581 %{_bindir}/qemu-microblazeel
1582 %{_bindir}/qemu-mips
1583 %{_bindir}/qemu-mipsel
1584 %{_bindir}/qemu-or32
1586 %{_bindir}/qemu-ppc64
1587 %{_bindir}/qemu-ppc64abi32
1588 %{_bindir}/qemu-s390x
1590 %{_bindir}/qemu-sh4eb
1591 %{_bindir}/qemu-sparc
1592 %{_bindir}/qemu-sparc32plus
1593 %{_bindir}/qemu-sparc64
1594 %{_bindir}/qemu-unicore32
1595 %{_datadir}/systemtap/tapset/qemu-i386.stp
1596 %{_datadir}/systemtap/tapset/qemu-x86_64.stp
1597 %{_datadir}/systemtap/tapset/qemu-alpha.stp
1598 %{_datadir}/systemtap/tapset/qemu-arm.stp
1599 %{_datadir}/systemtap/tapset/qemu-armeb.stp
1600 %{_datadir}/systemtap/tapset/qemu-cris.stp
1601 %{_datadir}/systemtap/tapset/qemu-m68k.stp
1602 %{_datadir}/systemtap/tapset/qemu-microblaze.stp
1603 %{_datadir}/systemtap/tapset/qemu-microblazeel.stp
1604 %{_datadir}/systemtap/tapset/qemu-mips.stp
1605 %{_datadir}/systemtap/tapset/qemu-mipsel.stp
1606 %{_datadir}/systemtap/tapset/qemu-or32.stp
1607 %{_datadir}/systemtap/tapset/qemu-ppc.stp
1608 %{_datadir}/systemtap/tapset/qemu-ppc64.stp
1609 %{_datadir}/systemtap/tapset/qemu-ppc64abi32.stp
1610 %{_datadir}/systemtap/tapset/qemu-s390x.stp
1611 %{_datadir}/systemtap/tapset/qemu-sh4.stp
1612 %{_datadir}/systemtap/tapset/qemu-sh4eb.stp
1613 %{_datadir}/systemtap/tapset/qemu-sparc.stp
1614 %{_datadir}/systemtap/tapset/qemu-sparc32plus.stp
1615 %{_datadir}/systemtap/tapset/qemu-sparc64.stp
1616 %{_datadir}/systemtap/tapset/qemu-unicore32.stp
1619 %if 0%{?system_x86:1}
1620 %files %{system_x86}
1621 %defattr(-,root,root)
1622 %if %{without kvmonly}
1623 %{_bindir}/qemu-system-i386
1624 %{_bindir}/qemu-system-x86_64
1625 %{_datadir}/systemtap/tapset/qemu-system-i386.stp
1626 %{_datadir}/systemtap/tapset/qemu-system-x86_64.stp
1628 %{_datadir}/%{name}/bios.bin
1629 %{_datadir}/%{name}/sgabios.bin
1630 %{_datadir}/%{name}/linuxboot.bin
1631 %{_datadir}/%{name}/multiboot.bin
1632 %{_datadir}/%{name}/kvmvapic.bin
1633 %{_datadir}/%{name}/vgabios.bin
1634 %{_datadir}/%{name}/vgabios-cirrus.bin
1635 %{_datadir}/%{name}/vgabios-qxl.bin
1636 %{_datadir}/%{name}/vgabios-stdvga.bin
1637 %{_datadir}/%{name}/vgabios-vmware.bin
1638 %{_datadir}/%{name}/pxe-e1000.rom
1639 %{_datadir}/%{name}/pxe-virtio.rom
1640 %{_datadir}/%{name}/pxe-pcnet.rom
1641 %{_datadir}/%{name}/pxe-rtl8139.rom
1642 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1643 %{_datadir}/%{name}/cpus-x86_64.conf
1644 %{_datadir}/%{name}/qemu-icon.bmp
1645 %config(noreplace) %{_sysconfdir}/qemu/target-x86_64.conf
1646 %ifarch %{ix86} x86_64
1652 %ifarch %{kvm_archs}
1654 %defattr(-,root,root,-)
1658 %if 0%{?system_alpha:1}
1659 %files %{system_alpha}
1660 %defattr(-,root,root)
1661 %{_bindir}/qemu-system-alpha
1662 %{_datadir}/systemtap/tapset/qemu-system-alpha.stp
1663 %{_datadir}/%{name}/palcode-clipper
1666 %if 0%{?system_arm:1}
1667 %files %{system_arm}
1668 %defattr(-,root,root)
1669 %{_bindir}/qemu-system-arm
1670 %{_datadir}/systemtap/tapset/qemu-system-arm.stp
1673 %if 0%{?system_mips:1}
1674 %files %{system_mips}
1675 %defattr(-,root,root)
1676 %{_bindir}/qemu-system-mips
1677 %{_bindir}/qemu-system-mipsel
1678 %{_bindir}/qemu-system-mips64
1679 %{_bindir}/qemu-system-mips64el
1680 %{_datadir}/systemtap/tapset/qemu-system-mips.stp
1681 %{_datadir}/systemtap/tapset/qemu-system-mipsel.stp
1682 %{_datadir}/systemtap/tapset/qemu-system-mips64el.stp
1683 %{_datadir}/systemtap/tapset/qemu-system-mips64.stp
1686 %if 0%{?system_cris:1}
1687 %files %{system_cris}
1688 %defattr(-,root,root)
1689 %{_bindir}/qemu-system-cris
1690 %{_datadir}/systemtap/tapset/qemu-system-cris.stp
1693 %if 0%{?system_lm32:1}
1694 %files %{system_lm32}
1695 %defattr(-,root,root)
1696 %{_bindir}/qemu-system-lm32
1697 %{_datadir}/systemtap/tapset/qemu-system-lm32.stp
1700 %if 0%{?system_m68k:1}
1701 %files %{system_m68k}
1702 %defattr(-,root,root)
1703 %{_bindir}/qemu-system-m68k
1704 %{_datadir}/systemtap/tapset/qemu-system-m68k.stp
1707 %if 0%{?system_microblaze:1}
1708 %files %{system_microblaze}
1709 %defattr(-,root,root)
1710 %{_bindir}/qemu-system-microblaze
1711 %{_bindir}/qemu-system-microblazeel
1712 %{_datadir}/systemtap/tapset/qemu-system-microblaze.stp
1713 %{_datadir}/systemtap/tapset/qemu-system-microblazeel.stp
1714 %{_datadir}/%{name}/petalogix*.dtb
1717 %if 0%{?system_or32:1}
1718 %files %{system_or32}
1719 %defattr(-,root,root)
1720 %{_bindir}/qemu-system-or32
1721 %{_datadir}/systemtap/tapset/qemu-system-or32.stp
1724 %if 0%{?system_s390x:1}
1725 %files %{system_s390x}
1726 %defattr(-,root,root)
1727 %{_bindir}/qemu-system-s390x
1728 %{_datadir}/systemtap/tapset/qemu-system-s390x.stp
1729 %{_datadir}/%{name}/s390-zipl.rom
1736 %if 0%{?system_sh4:1}
1737 %files %{system_sh4}
1738 %defattr(-,root,root)
1739 %{_bindir}/qemu-system-sh4
1740 %{_bindir}/qemu-system-sh4eb
1741 %{_datadir}/systemtap/tapset/qemu-system-sh4.stp
1742 %{_datadir}/systemtap/tapset/qemu-system-sh4eb.stp
1745 %if 0%{?system_sparc:1}
1746 %files %{system_sparc}
1747 %defattr(-,root,root)
1748 %{_bindir}/qemu-system-sparc
1749 %{_bindir}/qemu-system-sparc64
1750 %{_datadir}/systemtap/tapset/qemu-system-sparc.stp
1751 %{_datadir}/systemtap/tapset/qemu-system-sparc64.stp
1754 %if 0%{?system_ppc:1}
1755 %files %{system_ppc}
1756 %defattr(-,root,root)
1757 %if %{without kvmonly}
1758 %{_bindir}/qemu-system-ppc
1759 %{_bindir}/qemu-system-ppc64
1760 %{_bindir}/qemu-system-ppcemb
1761 %{_datadir}/systemtap/tapset/qemu-system-ppc.stp
1762 %{_datadir}/systemtap/tapset/qemu-system-ppc64.stp
1763 %{_datadir}/systemtap/tapset/qemu-system-ppcemb.stp
1765 %{_datadir}/%{name}/bamboo.dtb
1766 %{_datadir}/%{name}/ppc_rom.bin
1767 %{_datadir}/%{name}/spapr-rtas.bin
1774 %if 0%{?system_unicore32:1}
1775 %files %{system_unicore32}
1776 %defattr(-,root,root)
1777 %{_bindir}/qemu-system-unicore32
1778 %{_datadir}/systemtap/tapset/qemu-system-unicore32.stp
1781 %if 0%{?system_xtensa:1}
1782 %files %{system_xtensa}
1783 %defattr(-,root,root)
1784 %{_bindir}/qemu-system-xtensa
1785 %{_bindir}/qemu-system-xtensaeb
1786 %{_datadir}/systemtap/tapset/qemu-system-xtensa.stp
1787 %{_datadir}/systemtap/tapset/qemu-system-xtensaeb.stp
1791 %defattr(-,root,root)
1794 %{_bindir}/vscclient
1795 %{_mandir}/man1/qemu-img.1*
1798 * Wed May 20 2015 Michael Semenov <msemenov@mirantis.com> - 2:1.2.0-25
1799 - VENOM, or CVE-2015-3456;
1801 * Thu Aug 22 2013 Mirantis Product <product@mirantis.com> - 2:1.2.0-24
1802 - remove systemd stuff not needed for Centos
1803 - lower usbredir req to >= 0.5.1
1804 - unconditionally enable rbd
1806 * Tue Nov 17 2012 Alon Levy <alevy@redhat.com> - 2:1.2.0-23
1807 - Rewrite fix for bz #725965 based on fix for bz #867366
1808 - Resolve bz #867366
1810 * Fri Nov 16 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-22
1811 - Fix previous commit
1813 * Fri Nov 16 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-21
1814 - Backport commit 38f419f (configure: Fix CONFIG_QEMU_HELPERDIR generation,
1817 * Thu Nov 15 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-20
1818 - Install qemu-bridge-helper as suid root
1819 - Distribute a sample /etc/qemu/bridge.conf file
1821 * Thu Nov 1 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-19
1822 - Sync spice patches with upstream, minor bugfixes and set the qxl pci
1823 device revision to 4 by default, so that guests know they can use
1826 * Tue Oct 30 2012 Cole Robinson <crobinso@redhat.com> - 2:1.2.0-18
1827 - Fix loading arm initrd if kernel is very large (bz #862766)
1828 - Don't use reserved word 'function' in systemtap files (bz #870972)
1829 - Drop assertion that was triggering when pausing guests w/ qxl (bz
1832 * Sun Oct 28 2012 Cole Robinson <crobinso@redhat.com> - 2:1.2.0-17
1833 - Pull patches queued for qemu 1.2.1
1835 * Fri Oct 19 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-16
1836 - add s390x KVM support
1837 - distribute pre-built firmware or device trees for Alpha, Microblaze, S390
1838 - add missing system targets
1839 - add missing linux-user targets
1840 - fix previous commit
1842 * Thu Oct 18 2012 Dan Horák <dan[at]danny.cz> - 2:1.2.0-15
1843 - fix build on non-kvm arches like s390(x)
1845 * Wed Oct 17 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-14
1846 - Change SLOF Requires for the new version number
1848 * Thu Oct 11 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-13
1849 - Add ppc support to kvm.modules (original patch by David Gibson)
1850 - Replace x86only build with kvmonly build: add separate defines and
1851 conditionals for all packages, so that they can be chosen and
1852 renamed in kvmonly builds and so that qemu has the appropriate requires
1853 - Automatically pick libfdt dependancy
1854 - Add knob to disable spice+seccomp
1856 * Fri Sep 28 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-12
1857 - Call udevadm on post, fixing bug 860658
1859 * Fri Sep 28 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-11
1860 - Rebuild against latest spice-server and spice-protocol
1861 - Fix non-seamless migration failing with vms with usb-redir devices,
1862 to allow boxes to load such vms from disk
1864 * Tue Sep 25 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-10
1865 - Sync Spice patchsets with upstream (rhbz#860238)
1866 - Fix building with usbredir >= 0.5.2
1868 * Thu Sep 20 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-9
1869 - Sync USB and Spice patchsets with upstream
1871 * Sun Sep 16 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.2.0-8
1872 - Use 'global' instead of 'define', and underscore in definition name,
1873 n-v-r, and 'dist' tag of SLOF, all to fix RHBZ#855252.
1875 * Fri Sep 14 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-4
1876 - add versioned dependency from qemu-system-ppc to SLOF (BZ#855252)
1878 * Wed Sep 12 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.2.0-3
1879 - Fix RHBZ#853408 which causes libguestfs failure.
1881 * Sat Sep 8 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-2
1882 - Fix crash on (seamless) migration
1883 - Sync usbredir live migration patches with upstream
1885 * Fri Sep 7 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-1
1886 - New upstream release 1.2.0 final
1887 - Add support for Spice seamless migration
1888 - Add support for Spice dynamic monitors
1889 - Add support for usb-redir live migration
1891 * Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 1.2.0-0.5.rc1
1892 - Flip Requires: ceph >= foo to Conflicts: ceph < foo, so we pull in only the
1893 libraries which we need and not the rest of ceph which we don't.
1895 * Tue Aug 28 2012 Cole Robinson <crobinso@redhat.com> 1.2.0-0.4.rc1
1896 - Update to 1.2.0-rc1
1898 * Mon Aug 20 2012 Richard W.M. Jones <rjones@redhat.com> - 1.2-0.3.20120806git3e430569
1899 - Backport Bonzini's vhost-net fix (RHBZ#848400).
1901 * Tue Aug 14 2012 Cole Robinson <crobinso@redhat.com> - 1.2-0.2.20120806git3e430569
1902 - Bump release number, previous build forgot but the dist bump helped us out
1904 * Tue Aug 14 2012 Cole Robinson <crobinso@redhat.com> - 1.2-0.1.20120806git3e430569
1905 - Revive qemu-system-{ppc*, sparc*} (bz 844502)
1906 - Enable KVM support for all targets (bz 844503)
1908 * Mon Aug 06 2012 Cole Robinson <crobinso@redhat.com> - 1.2-0.1.20120806git3e430569.fc18
1909 - Update to git snapshot
1911 * Sun Jul 29 2012 Cole Robinson <crobinso@redhat.com> - 1.1.1-1
1912 - Upstream stable release 1.1.1
1913 - Fix systemtap tapsets (bz 831763)
1914 - Fix VNC audio tunnelling (bz 840653)
1915 - Don't renable ksm on update (bz 815156)
1916 - Bump usbredir dep (bz 812097)
1917 - Fix RPM install error on non-virt machines (bz 660629)
1918 - Obsolete openbios to fix upgrade dependency issues (bz 694802)
1920 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.1.0-9
1921 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1923 * Tue Jul 10 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.1.0-8
1924 - Re-diff previous patch so that it applies and actually apply it
1926 * Tue Jul 10 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.1.0-7
1927 - Add patch to fix default machine options. This fixes libvirt
1929 - Back out patch 1 which conflicts.
1931 * Fri Jul 6 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.1.0-5
1932 - Fix qemu crashing (on an assert) whenever USB-2.0 isoc transfers are used
1934 * Thu Jul 5 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.1.0-4
1935 - Disable tests since they hang intermittently.
1936 - Add kvmvapic.bin (replaces vapic.bin).
1937 - Add cpus-x86_64.conf. qemu now creates /etc/qemu/target-x86_64.conf
1939 - Add qemu-icon.bmp.
1940 - Add qemu-bridge-helper.
1941 - Build and include virtfs-proxy-helper + man page (thanks Hans de Goede).
1943 * Wed Jul 4 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.1.0-1
1944 - New upstream release 1.1.0
1945 - Drop about a 100 spice + USB patches, which are all upstream
1947 * Mon Apr 23 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.0-17
1948 - Fix install failure due to set -e (rhbz #815272)
1950 * Mon Apr 23 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.0-16
1951 - Fix kvm.modules to exit successfully on non-KVM capable systems (rhbz #814932)
1953 * Thu Apr 19 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.0-15
1954 - Add a couple of backported QXL/Spice bugfixes
1955 - Add spice volume control patches
1957 * Fri Apr 6 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.0-12
1958 - Add back PPC and SPARC user emulators
1959 - Update binfmt rules from upstream
1961 * Mon Apr 2 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.0-11
1962 - Some more USB bugfixes from upstream
1964 * Thu Mar 29 2012 Eduardo Habkost <ehabkost@redhat.com> - 2:1.0-12
1965 - Fix ExclusiveArch mistake that disabled all non-x86_64 builds on Fedora
1967 * Wed Mar 28 2012 Eduardo Habkost <ehabkost@redhat.com> - 2:1.0-11
1968 - Use --with variables for build-time settings
1970 * Wed Mar 28 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-10
1971 - Switch to use iPXE for netboot ROMs
1973 * Thu Mar 22 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-9
1974 - Remove O_NOATIME for 9p filesystems
1976 * Mon Mar 19 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-8
1977 - Move udev rules to /lib/udev/rules.d (rhbz #748207)
1979 * Fri Mar 9 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.0-7
1980 - Add a whole bunch of USB bugfixes from upstream
1982 * Mon Feb 13 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-6
1983 - Add many more missing BRs for misc QEMU features
1984 - Enable running of test suite during build
1986 * Tue Feb 07 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-5
1987 - Add support for virtio-scsi
1989 * Sun Feb 5 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.0-4
1990 - Require updated ceph for latest librbd with rbd_flush symbol.
1992 * Tue Jan 24 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-3
1993 - Add support for vPMU
1994 - e1000: bounds packet size against buffer size CVE-2012-0029
1996 * Fri Jan 13 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-2
1997 - Add patches for USB redirect bits
1998 - Remove palcode-clipper, we don't build it
2000 * Wed Jan 11 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-1
2001 - Add patches from 1.0.1 queue
2003 * Fri Dec 16 2011 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-1
2004 - Update to qemu 1.0
2006 * Tue Nov 15 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-3
2007 - Enable spice for i686 users as well
2009 * Thu Nov 03 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-2
2010 - Fix POSTIN scriplet failure (#748281)
2012 * Fri Oct 21 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-1
2013 - Require seabios-bin >= 0.6.0-2 (#741992)
2014 - Replace init scripts with systemd units (#741920)
2015 - Update to 0.15.1 stable upstream
2017 * Fri Oct 21 2011 Paul Moore <pmoore@redhat.com>
2018 - Enable full relro and PIE (rhbz #738812)
2020 * Wed Oct 12 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-6
2021 - Add BR on ceph-devel to enable RBD block device
2023 * Wed Oct 5 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-5
2024 - Create a qemu-guest-agent sub-RPM for guest installation
2026 * Tue Sep 13 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-4
2027 - Enable DTrace tracing backend for SystemTAP (rhbz #737763)
2028 - Enable build with curl (rhbz #737006)
2030 * Thu Aug 18 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.15.0-3
2031 - Add missing BuildRequires: usbredir-devel, so that the usbredir code
2034 * Thu Aug 18 2011 Richard W.M. Jones <rjones@redhat.com> - 2:0.15.0-2
2035 - Add upstream qemu patch 'Allow to leave type on default in -machine'
2036 (2645c6dcaf6ea2a51a3b6dfa407dd203004e4d11).
2038 * Sun Aug 14 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-1
2039 - Update to 0.15.0 stable release.
2041 * Thu Aug 04 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.3.201108040af4922
2042 - Update to 0.15.0-rc1 as we prepare for 0.15.0 release
2044 * Thu Aug 4 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-0.3.2011072859fadcc
2045 - Fix default accelerator for non-KVM builds (rhbz #724814)
2047 * Thu Jul 28 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.1.2011072859fadcc
2048 - Update to 0.15.0-rc0 as we prepare for 0.15.0 release
2050 * Tue Jul 19 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.15.0-0.2.20110718525e3df
2051 - Add support usb redirection over the network, see:
2052 http://fedoraproject.org/wiki/Features/UsbNetworkRedirection
2053 - Restore chardev flow control patches
2055 * Mon Jul 18 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.1.20110718525e3df
2056 - Update to git snapshot as we prepare for 0.15.0 release
2058 * Wed Jun 22 2011 Richard W.M. Jones <rjones@redhat.com> - 2:0.14.0-9
2059 - Add BR libattr-devel. This caused the -fstype option to be disabled.
2060 https://www.redhat.com/archives/libvir-list/2011-June/thread.html#01017
2062 * Mon May 2 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.14.0-8
2063 - Fix a bug in the spice flow control patches which breaks the tcp chardev
2065 * Tue Mar 29 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-7
2066 - Disable qemu-ppc and qemu-sparc packages (#679179)
2068 * Mon Mar 28 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-6
2069 - Spice fixes for flow control.
2071 * Tue Mar 22 2011 Dan Horák <dan[at]danny.cz> - 2:0.14.0-5
2072 - be more careful when removing the -g flag on s390
2074 * Fri Mar 18 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-4
2075 - Fix thinko on adding the most recent patches.
2077 * Wed Mar 16 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-3
2078 - Fix migration issue with vhost
2079 - Fix qxl locking issues for spice
2081 * Wed Mar 02 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-2
2082 - Re-enable sparc and cris builds
2084 * Thu Feb 24 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-1
2085 - Update to 0.14.0 release
2087 * Fri Feb 11 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-0.1.20110210git7aa8c46
2088 - Update git snapshot
2089 - Temporarily disable qemu-cris and qemu-sparc due to build errors (to be resolved shorly)
2091 * Tue Feb 08 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-0.1.20110208git3593e6b
2092 - Update to 0.14.0 rc git snapshot
2093 - Add virtio-net to modules
2095 * Wed Nov 3 2010 Daniel P. Berrange <berrange@redhat.com> - 2:0.13.0-2
2096 - Revert previous change
2097 - Make qemu-common own the /etc/qemu directory
2098 - Add /etc/qemu/target-x86_64.conf to qemu-system-x86 regardless
2099 of host architecture.
2101 * Wed Nov 03 2010 Dan Horák <dan[at]danny.cz> - 2:0.13.0-2
2102 - Remove kvm config file on non-x86 arches (part of #639471)
2103 - Own the /etc/qemu directory
2105 * Mon Oct 18 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-1
2106 - Update to 0.13.0 upstream release
2108 - Fix mouse in certain guests (#636887)
2109 - Fix issues with WinXP guest install (#579348)
2110 - Resolve build issues with S390 (#639471)
2111 - Fix Windows XP on Raw Devices (#631591)
2113 * Tue Oct 05 2010 jkeating - 2:0.13.0-0.7.rc1.1
2114 - Rebuilt for gcc bug 634757
2116 * Tue Sep 21 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.7.rc1
2117 - Flip qxl pci id from unstable to stable (#634535)
2118 - KSM Fixes from upstream (#558281)
2120 * Tue Sep 14 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.6.rc1
2121 - Move away from git snapshots as 0.13 is close to release
2122 - Updates for spice 0.6
2124 * Tue Aug 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.5.20100809git25fdf4a
2125 - Fix typo in e1000 gpxe rom requires.
2126 - Add links to newer vgabios
2128 * Tue Aug 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.4.20100809git25fdf4a
2129 - Disable spice on 32bit, it is not supported and buildreqs don't exist.
2131 * Mon Aug 9 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.3.20100809git25fdf4a
2132 - Updates from upstream towards 0.13 stable
2133 - Fix requires on gpxe
2134 - enable spice now that buildreqs are in the repository.
2135 - ksmtrace has moved to a separate upstream package
2137 * Tue Jul 27 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.2.20100727gitb81fe95
2138 - add texinfo buildreq for manpages.
2140 * Tue Jul 27 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.1.20100727gitb81fe95
2141 - Update to 0.13.0 upstream snapshot
2142 - ksm init fixes from upstream
2144 * Tue Jul 20 2010 Dan Horák <dan[at]danny.cz> - 2:0.12.3-8
2145 - Add avoid-llseek patch from upstream needed for building on s390(x)
2146 - Don't use parallel make on s390(x)
2148 * Tue Jun 22 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.3-7
2149 - Add vvfat hardening patch from upstream (#605202)
2151 * Fri Apr 23 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-6
2152 - Change requires to the noarch seabios-bin
2153 - Add ownership of docdir to qemu-common (#572110)
2154 - Fix "Cannot boot from non-existent NIC" error when using virt-install (#577851)
2156 * Thu Apr 15 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-5
2157 - Update virtio console patches from upstream
2159 * Mon Mar 11 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-4
2160 - Detect cdrom via ioctl (#473154)
2161 - re add increased buffer for USB control requests (#546483)
2163 * Wed Mar 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-3
2164 - Migration clear the fd in error cases (#518032)
2166 * Tue Mar 09 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-2
2167 - Allow builds --with x86only
2168 - Add libaio-devel buildreq for aio support
2170 * Fri Feb 26 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-1
2171 - Update to 0.12.3 upstream
2172 - vhost-net migration/restart fixes
2173 - Add F-13 machine type
2174 - virtio-serial fixes
2176 * Tue Feb 09 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-6
2177 - Add vhost net support.
2179 * Thu Feb 04 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-5
2180 - Avoid creating too large iovecs in multiwrite merge (#559717)
2181 - Don't try to set max_kernel_pages during ksm init on newer kernels (#558281)
2182 - Add logfile options for ksmtuned debug.
2184 * Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-4
2185 - Remove build dependency on iasl now that we have seabios
2187 * Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-3
2188 - Remove source target for 0.12.1.2
2190 * Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-2
2191 - Add virtio-console patches from upstream for the F13 VirtioSerial feature
2193 * Mon Jan 25 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-1
2194 - Update to 0.12.2 upstream
2196 * Fri Jan 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-3
2197 - Point to seabios instead of bochs, and add a requires for seabios
2199 * Mon Jan 4 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-2
2200 - Remove qcow2 virtio backing file patch
2202 * Mon Jan 4 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-1
2203 - Update to 0.12.1.2 upstream
2204 - Remove patches included in upstream
2206 * Fri Nov 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-12
2207 - Fix a use-after-free crasher in the slirp code (#539583)
2208 - Fix overflow in the parallels image format support (#533573)
2210 * Wed Nov 4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-11
2211 - Temporarily disable preadv/pwritev support to fix data corruption (#526549)
2213 * Tue Nov 3 2009 Justin M. Forbes <jforbes@redhat.com> - 2:0.11.0-10
2214 - Default ksm and ksmtuned services on.
2216 * Thu Oct 29 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-9
2217 - Fix dropped packets with non-virtio NICs (#531419)
2219 * Wed Oct 21 2009 Glauber Costa <gcosta@redhat.com> - 2:0.11.0-8
2220 - Properly save kvm time registers (#524229)
2222 * Mon Oct 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-7
2223 - Fix potential segfault from too small MSR_COUNT (#528901)
2225 * Fri Oct 9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-6
2226 - Fix fs errors with virtio and qcow2 backing file (#524734)
2227 - Fix ksm initscript errors on kernel missing ksm (#527653)
2228 - Add missing Requires(post): getent, useradd, groupadd (#527087)
2230 * Tue Oct 6 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-5
2231 - Add 'retune' verb to ksmtuned init script
2233 * Mon Oct 5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-4
2234 - Use rtl8029 PXE rom for ne2k_pci, not ne (#526777)
2235 - Also, replace the gpxe-roms-qemu pkg requires with file-based requires
2237 * Thu Oct 1 2009 Justin M. Forbes <jmforbes@redhat.com> - 2:0.11.0-3
2238 - Improve error reporting on file access (#524695)
2240 * Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-2
2241 - Fix pci hotplug to not exit if supplied an invalid NIC model (#524022)
2243 * Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-1
2244 - Update to 0.11.0 release
2245 - Drop a couple of upstreamed patches
2247 * Wed Sep 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-5
2248 - Fix issue causing NIC hotplug confusion when no model is specified (#524022)
2250 * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-4
2251 - Fix for KSM patch from Justin Forbes
2253 * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-3
2254 - Add ksmtuned, also from Dan Kenigsberg
2255 - Use %_initddir macro
2257 * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-2
2258 - Add ksm control script from Dan Kenigsberg
2260 * Mon Sep 7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-1
2261 - Update to qemu-kvm-0.11.0-rc2
2262 - Drop upstreamed patches
2263 - extboot install now fixed upstream
2264 - Re-place TCG init fix (#516543) with the one gone upstream
2266 * Mon Sep 7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.10.rc1
2267 - Fix MSI-X error handling on older kernels (#519787)
2269 * Fri Sep 4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.9.rc1
2270 - Make pulseaudio the default audio backend (#519540, #495964, #496627)
2272 * Thu Aug 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2:0.10.91-0.8.rc1
2273 - Fix segfault when qemu-kvm is invoked inside a VM (#516543)
2275 * Tue Aug 18 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.7.rc1
2276 - Fix permissions on udev rules (#517571)
2278 * Mon Aug 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 2:0.10.91-0.6.rc1
2279 - Allow blacklisting of kvm modules (#517866)
2281 * Fri Aug 7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.5.rc1
2282 - Fix virtio_net with -net user (#516022)
2284 * Tue Aug 4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.4.rc1
2285 - Update to qemu-kvm-0.11-rc1; no changes from rc1-rc0
2287 * Tue Aug 4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.3.rc1.rc0
2288 - Fix extboot checksum (bug #514899)
2290 * Fri Jul 31 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.2.rc1.rc0
2292 - Require bochs-bios >= 2.3.8-0.8 for latest kvm bios updates
2294 * Thu Jul 30 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.1.rc1.rc0
2295 - Update to qemu-kvm-0.11.0-rc1-rc0
2296 - This is a pre-release of the official -rc1
2297 - A vista installer regression is blocking the official -rc1 release
2298 - Drop qemu-prefer-sysfs-for-usb-host-devices.patch
2299 - Drop qemu-fix-build-for-esd-audio.patch
2300 - Drop qemu-slirp-Fix-guestfwd-for-incoming-data.patch
2301 - Add patch to ensure extboot.bin is installed
2303 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.10.50-14.kvm88
2304 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2306 * Thu Jul 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-13.kvm88
2307 - Fix bug 513249, -net channel option is broken
2309 * Thu Jul 16 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.10.50-12.kvm88
2310 - Add 'qemu' user and group accounts
2311 - Force disable xen until it can be made to build
2313 * Thu Jul 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-11.kvm88
2314 - Update to kvm-88, see http://www.linux-kvm.org/page/ChangeLog
2315 - Package mutiboot.bin
2316 - Update for how extboot is built
2317 - Fix sf.net source URL
2318 - Drop qemu-fix-ppc-softmmu-kvm-disabled-build.patch
2319 - Drop qemu-fix-pcspk-build-with-kvm-disabled.patch
2320 - Cherry-pick fix for esound support build failure
2322 * Wed Jul 15 2009 Daniel Berrange <berrange@lettuce.camlab.fab.redhat.com> - 2:0.10.50-10.kvm87
2323 - Add udev rules to make /dev/kvm world accessible & group=kvm (rhbz #497341)
2324 - Create a kvm group if it doesn't exist (rhbz #346151)
2326 * Tue Jul 07 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-9.kvm87
2327 - use pxe roms from gpxe, instead of etherboot package.
2329 * Fri Jul 3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-8.kvm87
2330 - Prefer sysfs over usbfs for usb passthrough (#508326)
2332 * Sat Jun 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-7.kvm87
2334 - Drop upstreamed patches
2335 - Cherry-pick new ppc build fix from upstream
2336 - Work around broken linux-user build on ppc
2337 - Fix hw/pcspk.c build with --disable-kvm
2338 - Re-enable preadv()/pwritev() since #497429 is long since fixed
2339 - Kill petalogix-s3adsp1800.dtb, since we don't ship the microblaze target
2341 * Fri Jun 5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-6.kvm86
2342 - Fix 'kernel requires an x86-64 CPU' error
2343 - BuildRequires ncurses-devel to enable '-curses' option (#504226)
2345 * Wed Jun 3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-5.kvm86
2346 - Prevent locked cdrom eject - fixes hang at end of anaconda installs (#501412)
2347 - Avoid harmless 'unhandled wrmsr' warnings (#499712)
2349 * Thu May 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-4.kvm86
2350 - Update to kvm-86 release
2351 - ChangeLog here: http://marc.info/?l=kvm&m=124282885729710
2353 * Fri May 1 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-3.kvm85
2354 - Really provide qemu-kvm as a metapackage for comps
2356 * Tue Apr 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-2.kvm85
2357 - Provide qemu-kvm as a metapackage for comps
2359 * Mon Apr 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-1.kvm85
2360 - Update to qemu-kvm-devel-85
2361 - kvm-85 is based on qemu development branch, currently version 0.10.50
2362 - Include new qemu-io utility in qemu-img package
2363 - Re-instate -help string for boot=on to fix virtio booting with libvirt
2364 - Drop upstreamed patches
2365 - Fix missing kernel/include/asm symlink in upstream tarball
2366 - Fix target-arm build
2368 - Disable preadv()/pwritev() until bug #497429 is fixed
2369 - Kill more .kernelrelease uselessness
2370 - Make non-kvm qemu build verbose
2372 * Fri Apr 24 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-15
2373 - Fix source numbering typos caused by make-release addition
2375 * Thu Apr 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-14
2376 - Improve instructions for generating the tarball
2378 * Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-13
2379 - Enable pulseaudio driver to fix qemu lockup at shutdown (#495964)
2381 * Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-12
2382 - Another qcow2 image corruption fix (#496642)
2384 * Mon Apr 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-11
2385 - Fix qcow2 image corruption (#496642)
2387 * Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-10
2388 - Run sysconfig.modules from %post on x86_64 too (#494739)
2390 * Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-9
2391 - Align VGA ROM to 4k boundary - fixes 'qemu-kvm -std vga' (#494376)
2393 * Tue Apr 14 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-8
2394 - Provide qemu-kvm conditional on the architecture.
2396 * Thu Apr 9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-7
2397 - Add a much cleaner fix for vga segfault (#494002)
2399 * Sun Apr 5 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-6
2400 - Fixed qcow2 segfault creating disks over 2TB. #491943
2402 * Fri Apr 3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-5
2403 - Fix vga segfault under kvm-autotest (#494002)
2404 - Kill kernelrelease hack; it's not needed
2405 - Build with "make V=1" for more verbose logs
2407 * Thu Apr 02 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-4
2408 - Support botting gpxe roms.
2410 * Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-2
2411 - added missing patch. love for CVS.
2413 * Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-1
2414 - Include debuginfo for qemu-img
2415 - Do not require qemu-common for qemu-img
2416 - Explicitly own each of the firmware files
2417 - remove firmwares for ppc and sparc. They should be provided by an external package.
2418 Not that the packages exists for sparc in the secondary arch repo as noarch, but they
2419 don't automatically get into main repos. Unfortunately it's the best we can do right
2421 - rollback a bit in time. Snapshot from avi's maint/2.6.30
2422 - this requires the sasl patches to come back.
2423 - with-patched-kernel comes back.
2425 * Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-0.12.kvm20090323git
2426 - BuildRequires pciutils-devel for device assignment (#492076)
2428 * Mon Mar 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.11.kvm20090323git
2429 - Update to snapshot kvm20090323.
2430 - Removed patch2 (upstream).
2431 - use upstream's new split package.
2432 - --with-patched-kernel flag not needed anymore
2433 - Tell how to get the sources.
2435 * Wed Mar 18 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.10.kvm20090310git
2436 - Added extboot to files list.
2438 * Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.9.kvm20090310git
2439 - Fix wrong reference to bochs bios.
2441 * Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.8.kvm20090310git
2442 - fix Obsolete/Provides pair
2443 - Use kvm bios from bochs-bios package.
2444 - Using RPM_OPT_FLAGS in configure
2445 - Picked back audio-drv-list from kvm package
2447 * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.7.kvm20090310git
2450 * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.6.kvm20090310git
2451 - updated to kvm20090310git
2452 - removed sasl patches (already in this release)
2454 * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.5.kvm20090303git
2455 - kvm.modules were being wrongly mentioned at %%install.
2456 - update description for the x86 system package to include kvm support
2457 - build kvm's own bios. It is still necessary while kvm uses a slightly different
2458 irq routing mechanism
2460 * Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.4.kvm20090303git
2461 - seems Epoch does not go into the tags. So start back here.
2463 * Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.1.kvm20090303git
2464 - Use bochs-bios instead of bochs-bios-data
2465 - It's official: upstream set on 0.10
2467 * Thu Mar 5 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.9.2-0.2.kvm20090303git
2468 - Added BSD to license list, since many files are covered by BSD
2470 * Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.9.2-0.1.kvm20090303git
2471 - missing a dot. shame on me
2473 * Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.92-0.1.kvm20090303git
2475 - Set version to 0.92. It seems upstream keep changing minds here, so pick the lowest
2476 - Provides KVM, Obsoletes KVM
2477 - Only install qemu-kvm in ix86 and x86_64
2478 - Remove pkgdesc macros, as they were generating bogus output for rpm -qi.
2479 - fix ppc and ppc64 builds
2481 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.3.kvm20090303git
2482 - only execute post scripts for user package.
2485 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.2.kvm20090303git
2486 - put kvm.modules into cvs
2488 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.1.kvm20090303git
2490 - Build KVM (basic build, no tools yet)
2491 - Set ppc in ExcludeArch. This is temporary, just to fix one issue at a time.
2492 ppc users (IBM ? ;-)) please wait a little bit.
2494 * Tue Mar 3 2009 Daniel P. Berrange <berrange@redhat.com> - 1.0-0.5.svn6666
2495 - Support VNC SASL authentication protocol
2496 - Fix dep on bochs-bios-data
2498 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.4.svn6666
2499 - use bios from bochs-bios package.
2501 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.3.svn6666
2502 - use vgabios from vgabios package.
2504 * Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.2.svn6666
2505 - use pxe roms from etherboot package.
2507 * Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.1.svn6666
2508 - Updated to tip svn (release 6666). Featuring split packages for qemu.
2509 Unfortunately, still using binary blobs for the bioses.
2511 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13
2512 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2514 * Sun Jan 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.9.1-12
2515 - Updated build patch. Closes Red Hat Bugzilla bug #465041.
2517 * Wed Dec 31 2008 Dennis Gilmore <dennis@ausil.us> - 0.9.1-11
2518 - add sparcv9 and sparc64 support
2520 * Fri Jul 25 2008 Bill Nottingham <notting@redhat.com>
2521 - Fix qemu-img summary (#456344)
2523 * Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-10.fc10
2524 - Rebuild for GNU TLS ABI change
2526 * Wed Jun 11 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-9.fc10
2527 - Remove bogus wildcard from files list (rhbz #450701)
2529 * Sat May 17 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-8
2530 - Register binary handlers also for shared libraries
2532 * Mon May 5 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-7.fc10
2533 - Fix text console PTYs to be in rawmode
2535 * Sun Apr 27 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.9.1-6
2536 - Register binary handler for SuperH-4 CPU
2538 * Wed Mar 19 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-5.fc9
2539 - Split qemu-img tool into sub-package for smaller footprint installs
2541 * Wed Feb 27 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-4.fc9
2542 - Fix block device checks for extendable disk formats (rhbz #435139)
2544 * Sat Feb 23 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-3.fc9
2545 - Fix block device extents check (rhbz #433560)
2547 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-2
2548 - Autorebuild for GCC 4.3
2550 * Tue Jan 8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-1.fc9
2551 - Updated to 0.9.1 release
2552 - Fix license tag syntax
2553 - Don't mark init script as a config file
2555 * Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-5.fc8
2556 - Fix rtl8139 checksum calculation for Vista (rhbz #308201)
2558 * Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-4.fc8
2559 - Fix debuginfo by passing -Wl,--build-id to linker
2561 * Tue Aug 28 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-4
2563 - Fix CDROM emulation (#253542)
2565 * Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-3.fc8
2566 - Added backport of VNC password auth, and TLS+x509 cert auth
2567 - Switch to rtl8139 NIC by default for linkstate reporting
2568 - Fix rtl8139 mmio region mappings with multiple NICs
2570 * Sun Apr 1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.0-2
2571 - Fix direct loading of a linux kernel with -kernel & -initrd (bz 234681)
2572 - Remove spurious execute bits from manpages (bz 222573)
2574 * Tue Feb 6 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-1
2577 * Wed Jan 31 2007 David Woodhouse <dwmw2@infradead.org> 0.8.2-5
2580 * Mon Nov 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.2-4
2581 - Backport patch to make FC6 guests work by Kevin Kofler
2582 <Kevin@tigcc.ticalc.org> (bz 207843).
2584 * Mon Sep 11 2006 David Woodhouse <dwmw2@infradead.org> 0.8.2-3
2587 * Thu Aug 24 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-2
2588 - Remove the target-list iteration for x86_64 since they all build again.
2589 - Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for
2592 * Wed Aug 23 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-1
2593 - Update to 0.8.2 (#200065).
2594 - Drop upstreamed syscall-macros patch2.
2595 - Put correct scriplet dependencies.
2596 - Force install mode for the init script to avoid umask problems.
2597 - Add %%postun condrestart for changes to the init script to be applied if any.
2598 - Update description with the latest "about" from the web page (more current).
2599 - Update URL to qemu.org one like the Source.
2600 - Add which build requirement.
2601 - Don't include texi files in %%doc since we ship them in html.
2602 - Switch to using gcc34 on devel, FC5 still has gcc32.
2603 - Add kernheaders patch to fix linux/compiler.h inclusion.
2604 - Add target-sparc patch to fix compiling on ppc (some int32 to float).
2606 * Thu Jun 8 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-3
2607 - More header abuse in modify_ldt(), change BuildRoot:
2609 * Wed Jun 7 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-2
2610 - Fix up kernel header abuse
2612 * Tue May 30 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-1
2615 * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-6
2616 - Update linker script for PPC
2618 * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-5
2619 - Just drop $RPM_OPT_FLAGS. They're too much of a PITA
2621 * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-4
2622 - Disable stack-protector options which gcc 3.2 doesn't like
2624 * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-3
2625 - Use -mcpu= instead of -mtune= on x86_64 too
2626 - Disable SPARC targets on x86_64, because dyngen doesn't like fnegs
2628 * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-2
2629 - Don't use -mtune=pentium4 on i386. GCC 3.2 doesn't like it
2631 * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-1
2633 - Resort to using compat-gcc-32
2636 * Mon May 16 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-2
2637 - Proper fix for GCC 4 putting 'blr' or 'ret' in the middle of the function,
2638 for i386, x86_64 and PPC.
2640 * Sat Apr 30 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-1
2642 - Fix dyngen for PPC functions which end in unconditional branch
2644 * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
2647 * Sun Feb 13 2005 David Woodhouse <dwmw2@infradead.org> 0.6.1-2
2650 * Sun Nov 21 2004 David Woodhouse <dwmw2@redhat.com> 0.6.1-1
2653 * Tue Jul 20 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-2
2654 - Compile fix from qemu CVS, add x86_64 host support
2656 * Mon May 12 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-1
2659 * Sat May 8 2004 David Woodhouse <dwmw2@redhat.com> 0.5.5-1
2662 * Thu May 2 2004 David Woodhouse <dwmw2@redhat.com> 0.5.4-1
2665 * Thu Apr 22 2004 David Woodhouse <dwmw2@redhat.com> 0.5.3-1
2666 - Update to 0.5.3. Add init script.
2668 * Thu Jul 17 2003 Jeff Johnson <jbj@redhat.com> 0.4.3-1