Merge "Change requested in launchpad bug #1288352" into 5.0
[packages/centos6/qemu.git] / qemu.spec
1 # build-time settings that support --with or --without:
2 #
3 # = kvmonly =
4 # Build only KVM-enabled QEMU targets, on KVM-enabled architectures.
5 #
6 # Disabled by default.
7 #
8 # = exclusive_x86_64 =
9 # ExclusiveArch: x86_64
10 #
11 # Disabled by default, except on RHEL.  Only makes sense with kvmonly.
12 #
13 # = rbd =
14 # Enable rbd support.
15 #
16 # Enable by default, except on RHEL.
17
18 %if 0%{?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
24 %else
25 # General defaults:
26 %bcond_with    kvmonly          # disabled
27 %bcond_with    exclusive_x86_64 # disabled
28 %bcond_without spice            # enabled
29 %bcond_without seccomp          # enabled
30 %endif
31
32 %global SLOF_gittagdate 20120731
33
34 %if %{with exclusive_x86_64}
35 %global kvm_archs x86_64
36 %else
37 %global kvm_archs %{ix86} x86_64 ppc64 s390x
38 %endif
39
40 %ifarch %{ix86} x86_64
41 %if %{with seccomp}
42 %global have_seccomp 1
43 %endif
44 %if %{with spice}
45 %global have_spice   1
46 %endif
47 %endif
48
49 %global need_qemu_kvm %{with kvmonly}
50
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.
54
55 %ifarch %{ix86}
56 %global system_x86    kvm
57 %global kvm_package   system-x86
58 %global kvm_target    i386
59 %global need_qemu_kvm 1
60 %endif
61 %ifarch x86_64
62 %global system_x86    kvm
63 %global kvm_package   system-x86
64 %global kvm_target    x86_64
65 %global need_qemu_kvm 1
66 %endif
67 %ifarch ppc64
68 %global system_ppc    kvm
69 %global kvm_package   system-ppc
70 %global kvm_target    ppc64
71 %endif
72 %ifarch s390x
73 %global system_s390x  kvm
74 %global kvm_package   system-s390x
75 %global kvm_target    s390x
76 %endif
77
78 %if %{with kvmonly}
79 # If kvmonly, put the qemu-kvm binary in the qemu-kvm package
80 %global kvm_package   kvm
81 %else
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.
84 %global user          user
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
100 %endif
101
102 # libfdt is only needed to build ARM, Microblaze or PPC emulators
103 %if 0%{?system_arm:1}%{?system_microblaze:1}%{?system_ppc:1}
104 %global need_fdt      1
105 %endif
106
107 Summary: QEMU is a FAST! processor emulator
108 Name: qemu
109 Version: 1.2.0
110 Release: 24%{?dist}
111 # Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
112 Epoch: 2
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:
117 %if %{with kvmonly}
118 ExclusiveArch: %{kvm_archs}
119 %endif
120
121 # OOM killer breaks builds with parallel make on s390(x)
122 %ifarch s390 s390x
123 %define _smp_mflags %{nil}
124 %endif
125
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
130
131 Source1: qemu.binfmt
132
133 # Loads kvm kernel modules at boot
134 Source2: kvm.modules
135
136 # Creates /dev/kvm
137 Source3: 80-kvm.rules
138
139 # KSM control scripts
140 Source4: ksm.service
141 Source5: ksm.sysconfig
142 Source6: ksmctl.c
143 Source7: ksmtuned.service
144 Source8: ksmtuned
145 Source9: ksmtuned.conf
146
147 Source10: qemu-guest-agent.service
148 Source11: 99-qemu-guest-agent.rules
149 Source12: bridge.conf
150
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
395 # The infamous chardev flow control patches
396 Patch0400: 0400-char-Split-out-tcp-socket-close-code-in-a-separate-f.patch
397 Patch0401: 0401-char-Add-a-QemuChrHandlers-struct-to-initialise-char.patch
398 Patch0402: 0402-iohandlers-Add-enable-disable_write_fd_handler-funct.patch
399 Patch0403: 0403-char-Add-framework-for-a-write-unblocked-callback.patch
400 Patch0404: 0404-char-Update-send_all-to-handle-nonblocking-chardev-w.patch
401 Patch0405: 0405-char-Equip-the-unix-tcp-backend-to-handle-nonblockin.patch
402 Patch0406: 0406-char-Throttle-when-host-connection-is-down.patch
403 Patch0407: 0407-virtio-console-Enable-port-throttling-when-chardev-i.patch
404 Patch0408: 0408-spice-qemu-char.c-add-throttling.patch
405 Patch0409: 0409-spice-qemu-char.c-remove-intermediate-buffer.patch
406 Patch0410: 0410-usb-redir-Add-flow-control-support.patch
407 # 411 superceded by 414 which does the same thing but on top of 413 that is
408 # going upstream.
409 Patch0412: 0412-char-Disable-write-callback-if-throttled-chardev-is-.patch
410 Patch0413: 0413-hw-virtio-serial-bus-post_load-send_event-when-vm-is.patch
411 Patch0414: 0414-hw-virtio-serial-bus-replay-guest-open-on-destinatio.patch
412
413 # Spice features from upstream master: seamless migration & dynamic monitors
414 Patch0500: 0500-qxl-disallow-unknown-revisions.patch
415 Patch0501: 0501-spice-make-number-of-surfaces-runtime-configurable.patch
416 Patch0502: 0502-qxl-Add-set_client_capabilities-interface-to-QXLInte.patch
417 Patch0503: 0503-Remove-ifdef-QXL_COMMAND_FLAG_COMPAT_16BPP.patch
418 Patch0504: 0504-spice-switch-to-queue-for-vga-mode-updates.patch
419 Patch0505: 0505-spice-split-qemu_spice_create_update.patch
420 Patch0506: 0506-spice-add-screen-mirror.patch
421 Patch0507: 0507-spice-send-updates-only-for-changed-screen-content.patch
422 Patch0508: 0508-qxl-Ignore-set_client_capabilities-pre-post-migrate.patch
423 Patch0509: 0509-qxl-add-trace-event-for-QXL_IO_LOG.patch
424 Patch0510: 0510-hw-qxl-support-client-monitor-configuration-via-devi.patch
425 Patch0511: 0511-qxl-always-update-displaysurface-on-resize.patch
426 Patch0512: 0512-qxl-update_area_io-cleanup-invalid-parameters-handli.patch
427 Patch0513: 0513-qxl-fix-range-check-for-rev3-io-commands.patch
428 Patch0514: 0514-hw-qxl-exit-on-failure-to-register-qxl-interface.patch
429 Patch0515: 0515-hw-qxl-fix-condition-for-exiting-guest_bug.patch
430 Patch0516: 0516-hw-qxl-qxl_dirty_surfaces-use-uintptr_t.patch
431 Patch0517: 0517-spice-raise-requirement-to-0.12.patch
432 Patch0518: 0518-qxl-set-default-revision-to-4.patch
433
434 # usb-redir live-migration and misc bits, will be in before 1.3.0
435 Patch0600: 0600-usb-redir-Convert-to-new-libusbredirparser-0.5-API.patch
436 Patch0601: 0601-usb-redir-Set-ep-max_packet_size-if-available.patch
437 Patch0602: 0602-usb-redir-Add-a-usbredir_reject_device-helper-functi.patch
438 Patch0603: 0603-usb-redir-Ensure-our-peer-has-the-necessary-caps-whe.patch
439 Patch0604: 0604-usb-redir-Enable-pipelining-for-bulk-endpoints.patch
440 Patch0605: 0605-xhci-move-device-lookup-into-xhci_setup_packet.patch
441 Patch0606: 0606-xhci-implement-mfindex.patch
442 Patch0607: 0607-xhci-iso-xfer-support.patch
443 Patch0608: 0608-xhci-trace-cc-codes-in-cleartext.patch
444 Patch0609: 0609-xhci-add-trace_usb_xhci_ep_set_dequeue.patch
445 Patch0610: 0610-xhci-update-register-layout.patch
446 Patch0611: 0611-xhci-update-port-handling.patch
447 Patch0612: 0612-usb3-superspeed-descriptors.patch
448 Patch0613: 0613-usb3-superspeed-endpoint-companion.patch
449 Patch0614: 0614-usb3-bos-decriptor.patch
450 Patch0615: 0615-usb-storage-usb3-support.patch
451 Patch0616: 0616-xhci-fix-cleanup-msi.patch
452 Patch0617: 0617-xhci-rework-interrupt-handling.patch
453 Patch0618: 0618-xhci-add-msix-support.patch
454 Patch0619: 0619-xhci-move-register-update-into-xhci_intr_raise.patch
455 Patch0620: 0620-xhci-add-XHCIInterrupter.patch
456 Patch0621: 0621-xhci-prepare-xhci_runtime_-read-write-for-multiple-i.patch
457 Patch0622: 0622-xhci-pick-target-interrupter.patch
458 Patch0623: 0623-xhci-support-multiple-interrupters.patch
459 Patch0624: 0624-xhci-kill-xhci_mem_-read-write-dispatcher-functions.patch
460 Patch0625: 0625-usb-redir-Change-cancelled-packet-code-into-a-generi.patch
461 Patch0626: 0626-usb-redir-Add-an-already_in_flight-packet-id-queue.patch
462 Patch0627: 0627-usb-redir-Store-max_packet_size-in-endp_data.patch
463 Patch0628: 0628-usb-redir-Add-support-for-migration.patch
464 Patch0629: 0629-usb-redir-Add-chardev-open-close-debug-logging.patch
465 Patch0630: 0630-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
466 Patch0631: 0631-ehci-Fix-interrupt-packet-MULT-handling.patch
467 Patch0632: 0632-usb-redir-Adjust-pkg-config-check-for-usbredirparser.patch
468 Patch0633: 0633-usb-redir-Change-usbredir_open_chardev-into-usbredir.patch
469 Patch0634: 0634-usb-redir-Don-t-make-migration-fail-in-none-seamless.patch
470
471 # Non upstream build fix, http://www.spinics.net/lists/kvm/msg80589.html
472 Patch0800: 0800-mips-Fix-link-error-with-piix4_pm_init.patch
473 # Add ./configure --disable-kvm-options
474 # keep: Carrying locally until qemu-kvm is fully merged into qemu.git
475 Patch0801: 0801-configure-Add-disable-kvm-options.patch
476 # Fix loading arm initrd if kernel is very large (bz 862766)
477 Patch802: 0802-arm_boot-Change-initrd-load-address-to-halfway-throu.patch
478 # Don't use reserved word 'function' in systemtap files (bz 870972)
479 Patch803: 0803-dtrace-backend-add-function-to-reserved-words.patch
480 # Drop assertion that was triggering when pausing guests w/ qxl (bz
481 # 870972)
482 Patch804: 0804-wip-hw-qxl-inject-interrupts-in-any-state.patch
483 # 38f419f (configure: Fix CONFIG_QEMU_HELPERDIR generation, 2012-10-17)
484 Patch805: 0805-configure-Fix-CONFIG_QEMU_HELPERDIR-generation.patch
485
486 BuildRequires: SDL-devel
487 BuildRequires: zlib-devel
488 BuildRequires: which
489 BuildRequires: texi2html
490 BuildRequires: gnutls-devel
491 BuildRequires: cyrus-sasl-devel
492 BuildRequires: libtool
493 BuildRequires: libaio-devel
494 BuildRequires: rsync
495 BuildRequires: pciutils-devel
496 BuildRequires: pulseaudio-libs-devel
497 BuildRequires: ncurses-devel
498 BuildRequires: libattr-devel
499 BuildRequires: usbredir-devel >= 0.5.1
500 BuildRequires: texinfo
501 %if 0%{?have_spice:1}
502 BuildRequires: spice-protocol >= 0.12.2
503 BuildRequires: spice-server-devel >= 0.12.0
504 %endif
505 %if 0%{?have_seccomp:1}
506 BuildRequires: libseccomp-devel >= 1.0.0
507 %endif
508 # For network block driver
509 BuildRequires: libcurl-devel
510 # For rbd block driver
511 BuildRequires: ceph-devel
512 # We need both because the 'stap' binary is probed for by configure
513 BuildRequires: systemtap
514 BuildRequires: systemtap-sdt-devel
515 # For smartcard NSS support
516 BuildRequires: nss-devel
517 # For XFS discard support in raw-posix.c
518 BuildRequires: xfsprogs-devel
519 # For VNC JPEG support
520 BuildRequires: libjpeg-devel
521 # For VNC PNG support
522 BuildRequires: libpng-devel
523 # For uuid generation
524 BuildRequires: libuuid-devel
525 # For BlueZ device support
526 BuildRequires: bluez-libs-devel
527 # For Braille device support
528 BuildRequires: brlapi-devel
529 %if 0%{?need_fdt:1}
530 # For FDT device tree support
531 BuildRequires: libfdt-devel
532 %endif
533 # For test suite
534 BuildRequires: check-devel
535 # For virtfs
536 BuildRequires: libcap-devel
537 %if 0%{?user:1}
538 Requires: %{name}-%{user} = %{epoch}:%{version}-%{release}
539 %endif
540 %if 0%{?system_alpha:1}
541 Requires: %{name}-%{system_alpha} = %{epoch}:%{version}-%{release}
542 %endif
543 %if 0%{?system_arm:1}
544 Requires: %{name}-%{system_arm} = %{epoch}:%{version}-%{release}
545 %endif
546 %if 0%{?system_cris:1}
547 Requires: %{name}-%{system_cris} = %{epoch}:%{version}-%{release}
548 %endif
549 %if 0%{?system_lm32:1}
550 Requires: %{name}-%{system_lm32} = %{epoch}:%{version}-%{release}
551 %endif
552 %if 0%{?system_m68k:1}
553 Requires: %{name}-%{system_m68k} = %{epoch}:%{version}-%{release}
554 %endif
555 %if 0%{?system_microblaze:1}
556 Requires: %{name}-%{system_microblaze} = %{epoch}:%{version}-%{release}
557 %endif
558 %if 0%{?system_mips:1}
559 Requires: %{name}-%{system_mips} = %{epoch}:%{version}-%{release}
560 %endif
561 %if 0%{?system_or32:1}
562 Requires: %{name}-%{system_or32} = %{epoch}:%{version}-%{release}
563 %endif
564 %if 0%{?system_ppc:1}
565 Requires: %{name}-%{system_ppc} = %{epoch}:%{version}-%{release}
566 %endif
567 %if 0%{?system_s390x:1}
568 Requires: %{name}-%{system_s390x} = %{epoch}:%{version}-%{release}
569 %endif
570 %if 0%{?system_sh4:1}
571 Requires: %{name}-%{system_sh4} = %{epoch}:%{version}-%{release}
572 %endif
573 %if 0%{?system_sparc:1}
574 Requires: %{name}-%{system_sparc} = %{epoch}:%{version}-%{release}
575 %endif
576 %if 0%{?system_unicore32:1}
577 Requires: %{name}-%{system_unicore32} = %{epoch}:%{version}-%{release}
578 %endif
579 %if 0%{?system_x86:1}
580 Requires: %{name}-%{system_x86} = %{epoch}:%{version}-%{release}
581 %endif
582 %if 0%{?system_xtensa:1}
583 Requires: %{name}-%{system_xtensa} = %{epoch}:%{version}-%{release}
584 %endif
585 Requires: %{name}-img = %{epoch}:%{version}-%{release}
586
587 %define qemudocdir %{_docdir}/%{name}
588
589 %description
590 QEMU is a generic and open source processor emulator which achieves a good
591 emulation speed by using dynamic translation. QEMU has two operating modes:
592
593  * Full system emulation. In this mode, QEMU emulates a full system (for
594    example a PC), including a processor and various peripherials. It can be
595    used to launch different Operating Systems without rebooting the PC or
596    to debug system code.
597  * User mode emulation. In this mode, QEMU can launch Linux processes compiled
598    for one CPU on another CPU.
599
600 As QEMU requires no host kernel patches to run, it is safe and easy to use.
601
602 %if %{without kvmonly}
603 %ifarch %{kvm_archs}
604 %package kvm
605 Summary: QEMU metapackage for KVM support
606 Group: Development/Tools
607 Requires: qemu-%{kvm_package} = %{epoch}:%{version}-%{release}
608
609 %description kvm
610 This is a meta-package that provides a qemu-system-<arch> package for native
611 architectures where kvm can be enabled. For example, in an x86 system, this
612 will install qemu-system-x86
613 %endif
614 %endif
615
616 %package  img
617 Summary: QEMU command line tool for manipulating disk images
618 Group: Development/Tools
619 # librbd (from ceph) added new symbol rbd_flush recently.  If you
620 # update qemu-img without updating librdb you get:
621 # qemu-img: undefined symbol: rbd_flush
622 # ** NB ** This can be removed after Fedora 17 is released.
623 Conflicts: ceph < 0.37-2
624
625 %description img
626 This package provides a command line tool for manipulating disk images
627
628 %package  common
629 Summary: QEMU common files needed by all QEMU targets
630 Group: Development/Tools
631 Requires(post): /usr/bin/getent
632 Requires(post): /usr/sbin/groupadd
633 Requires(post): /usr/sbin/useradd
634 %description common
635 QEMU is a generic and open source processor emulator which achieves a good
636 emulation speed by using dynamic translation.
637
638 This package provides the common files needed by all QEMU targets
639
640 %package guest-agent
641 Summary: QEMU guest agent
642 Group: System Environment/Daemons
643
644 %description guest-agent
645 QEMU is a generic and open source processor emulator which achieves a good
646 emulation speed by using dynamic translation.
647
648 This package provides an agent to run inside guests, which communicates
649 with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
650
651 This package does not need to be installed on the host OS.
652
653 %post guest-agent
654 if [ $1 -eq 1 ] ; then
655     # Initial installation.
656     /bin/systemctl daemon-reload >/dev/null 2>&1 || :
657 fi
658
659 %preun guest-agent
660 if [ $1 -eq 0 ] ; then
661     # Package removal, not upgrade.
662     /bin/systemctl stop qemu-guest-agent.service > /dev/null 2>&1 || :
663 fi
664
665 %postun guest-agent
666 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
667 if [ $1 -ge 1 ] ; then
668     # Package upgrade, not uninstall.
669     /bin/systemctl try-restart qemu-guest-agent.service >/dev/null 2>&1 || :
670 fi
671
672
673
674 %if 0%{?user:1}
675 %package %{user}
676 Summary: QEMU user mode emulation of qemu targets
677 Group: Development/Tools
678 Requires: %{name}-common = %{epoch}:%{version}-%{release}
679 %description %{user}
680 QEMU is a generic and open source processor emulator which achieves a good
681 emulation speed by using dynamic translation.
682
683 This package provides the user mode emulation of qemu targets
684 %endif
685
686 %if 0%{?system_x86:1}
687 %package %{system_x86}
688 Summary: QEMU system emulator for x86
689 Group: Development/Tools
690 Requires: %{name}-common = %{epoch}:%{version}-%{release}
691 Provides: kvm = 85
692 Obsoletes: kvm < 85
693 Requires: vgabios >= 0.6c-2
694 Requires: seabios-bin >= 0.6.0-2
695 Requires: sgabios-bin
696 Requires: ipxe-roms-qemu
697 %if 0%{?have_seccomp:1}
698 Requires: libseccomp >= 1.0.0
699 %endif
700
701 %description %{system_x86}
702 QEMU is a generic and open source processor emulator which achieves a good
703 emulation speed by using dynamic translation.
704
705 This package provides the system emulator for x86. When being run in a x86
706 machine that supports it, this package also provides the KVM virtualization
707 platform.
708 %endif
709
710 %if 0%{?system_alpha:1}
711 %package %{system_alpha}
712 Summary: QEMU system emulator for Alpha
713 Group: Development/Tools
714 Requires: %{name}-common = %{epoch}:%{version}-%{release}
715 %description %{system_alpha}
716 QEMU is a generic and open source processor emulator which achieves a good
717 emulation speed by using dynamic translation.
718
719 This package provides the system emulator for Alpha systems.
720 %endif
721
722 %if 0%{?system_arm:1}
723 %package %{system_arm}
724 Summary: QEMU system emulator for ARM
725 Group: Development/Tools
726 Requires: %{name}-common = %{epoch}:%{version}-%{release}
727 %description %{system_arm}
728 QEMU is a generic and open source processor emulator which achieves a good
729 emulation speed by using dynamic translation.
730
731 This package provides the system emulator for ARM boards.
732 %endif
733
734 %if 0%{?system_mips:1}
735 %package %{system_mips}
736 Summary: QEMU system emulator for MIPS
737 Group: Development/Tools
738 Requires: %{name}-common = %{epoch}:%{version}-%{release}
739 %description %{system_mips}
740 QEMU is a generic and open source processor emulator which achieves a good
741 emulation speed by using dynamic translation.
742
743 This package provides the system emulator for MIPS boards.
744 %endif
745
746 %if 0%{?system_cris:1}
747 %package %{system_cris}
748 Summary: QEMU system emulator for CRIS
749 Group: Development/Tools
750 Requires: %{name}-common = %{epoch}:%{version}-%{release}
751 %description %{system_cris}
752 QEMU is a generic and open source processor emulator which achieves a good
753 emulation speed by using dynamic translation.
754
755 This package provides the system emulator for CRIS boards.
756 %endif
757
758 %if 0%{?system_lm32:1}
759 %package %{system_lm32}
760 Summary: QEMU system emulator for LatticeMico32
761 Group: Development/Tools
762 Requires: %{name}-common = %{epoch}:%{version}-%{release}
763 %description %{system_lm32}
764 QEMU is a generic and open source processor emulator which achieves a good
765 emulation speed by using dynamic translation.
766
767 This package provides the system emulator for LatticeMico32 boards.
768 %endif
769
770 %if 0%{?system_m68k:1}
771 %package %{system_m68k}
772 Summary: QEMU system emulator for ColdFire (m68k)
773 Group: Development/Tools
774 Requires: %{name}-common = %{epoch}:%{version}-%{release}
775 %description %{system_m68k}
776 QEMU is a generic and open source processor emulator which achieves a good
777 emulation speed by using dynamic translation.
778
779 This package provides the system emulator for ColdFire boards.
780 %endif
781
782 %if 0%{?system_microblaze:1}
783 %package %{system_microblaze}
784 Summary: QEMU system emulator for Microblaze
785 Group: Development/Tools
786 Requires: %{name}-common = %{epoch}:%{version}-%{release}
787 %description %{system_microblaze}
788 QEMU is a generic and open source processor emulator which achieves a good
789 emulation speed by using dynamic translation.
790
791 This package provides the system emulator for Microblaze boards.
792 %endif
793
794 %if 0%{?system_or32:1}
795 %package %{system_or32}
796 Summary: QEMU system emulator for OpenRisc32
797 Group: Development/Tools
798 Requires: %{name}-common = %{epoch}:%{version}-%{release}
799 %description %{system_or32}
800 QEMU is a generic and open source processor emulator which achieves a good
801 emulation speed by using dynamic translation.
802
803 This package provides the system emulator for OpenRisc32 boards.
804 %endif
805
806 %if 0%{?system_s390x:1}
807 %package %{system_s390x}
808 Summary: QEMU system emulator for S390
809 Group: Development/Tools
810 Requires: %{name}-common = %{epoch}:%{version}-%{release}
811 %description %{system_s390x}
812 QEMU is a generic and open source processor emulator which achieves a good
813 emulation speed by using dynamic translation.
814
815 This package provides the system emulator for S390 systems.
816 %endif
817
818 %if 0%{?system_sh4:1}
819 %package %{system_sh4}
820 Summary: QEMU system emulator for SH4
821 Group: Development/Tools
822 Requires: %{name}-common = %{epoch}:%{version}-%{release}
823 %description %{system_sh4}
824 QEMU is a generic and open source processor emulator which achieves a good
825 emulation speed by using dynamic translation.
826
827 This package provides the system emulator for SH4 boards.
828 %endif
829
830 %if 0%{?system_sparc:1}
831 %package %{system_sparc}
832 Summary: QEMU system emulator for SPARC
833 Group: Development/Tools
834 Requires: %{name}-common = %{epoch}:%{version}-%{release}
835 Requires: openbios
836 %description %{system_sparc}
837 QEMU is a generic and open source processor emulator which achieves a good
838 emulation speed by using dynamic translation.
839
840 This package provides the system emulator for SPARC and SPARC64 systems.
841 %endif
842
843 %if 0%{?system_ppc:1}
844 %package %{system_ppc}
845 Summary: QEMU system emulator for PPC
846 Group: Development/Tools
847 Requires: %{name}-common = %{epoch}:%{version}-%{release}
848 Requires: openbios
849 Requires: SLOF = 0.1.git%{SLOF_gittagdate}
850 %description %{system_ppc}
851 QEMU is a generic and open source processor emulator which achieves a good
852 emulation speed by using dynamic translation.
853
854 This package provides the system emulator for PPC and PPC64 systems.
855 %endif
856
857 %if 0%{?system_xtensa:1}
858 %package %{system_xtensa}
859 Summary: QEMU system emulator for Xtensa
860 Group: Development/Tools
861 Requires: %{name}-common = %{epoch}:%{version}-%{release}
862 %description %{system_xtensa}
863 QEMU is a generic and open source processor emulator which achieves a good
864 emulation speed by using dynamic translation.
865
866 This package provides the system emulator for Xtensa boards.
867 %endif
868
869 %if 0%{?system_unicore32:1}
870 %package %{system_unicore32}
871 Summary: QEMU system emulator for Unicore32
872 Group: Development/Tools
873 Requires: %{name}-common = %{epoch}:%{version}-%{release}
874 %description %{system_unicore32}
875 QEMU is a generic and open source processor emulator which achieves a good
876 emulation speed by using dynamic translation.
877
878 This package provides the system emulator for Unicore32 boards.
879 %endif
880
881 %ifarch %{kvm_archs}
882 %package kvm-tools
883 Summary: KVM debugging and diagnostics tools
884 Group: Development/Tools
885
886 %description kvm-tools
887 This package contains some diagnostics and debugging tools for KVM,
888 such as kvm_stat.
889 %endif
890
891 %prep
892 %setup -q -n qemu-kvm-%{version}
893
894 %patch0001 -p1
895 %patch0002 -p1
896 %patch0003 -p1
897 %patch0004 -p1
898 %patch0005 -p1
899 %patch0006 -p1
900 %patch0007 -p1
901 %patch0008 -p1
902 %patch0009 -p1
903 %patch0010 -p1
904 %patch0011 -p1
905 %patch0012 -p1
906 %patch0013 -p1
907 %patch0014 -p1
908 %patch0015 -p1
909 %patch0016 -p1
910 %patch0017 -p1
911 %patch0018 -p1
912 %patch0019 -p1
913 %patch0020 -p1
914 %patch0021 -p1
915 %patch0022 -p1
916 %patch0023 -p1
917 %patch0024 -p1
918 %patch0025 -p1
919 %patch0026 -p1
920 %patch0027 -p1
921 %patch0028 -p1
922 %patch0029 -p1
923 %patch0030 -p1
924 %patch0031 -p1
925 %patch0032 -p1
926 %patch0033 -p1
927 %patch0034 -p1
928 %patch0035 -p1
929 %patch0036 -p1
930 %patch0037 -p1
931 %patch0038 -p1
932 %patch0039 -p1
933 %patch0040 -p1
934 %patch0041 -p1
935 %patch0042 -p1
936 %patch0043 -p1
937 %patch0044 -p1
938 %patch0045 -p1
939 %patch0046 -p1
940 %patch0047 -p1
941 %patch0048 -p1
942 %patch0049 -p1
943 %patch0050 -p1
944 %patch0051 -p1
945 %patch0052 -p1
946 %patch0053 -p1
947 %patch0054 -p1
948 %patch0055 -p1
949 %patch0056 -p1
950 %patch0057 -p1
951 %patch0058 -p1
952 %patch0059 -p1
953 %patch0060 -p1
954 %patch0061 -p1
955 %patch0062 -p1
956 %patch0063 -p1
957 %patch0064 -p1
958 %patch0065 -p1
959 %patch0066 -p1
960 %patch0067 -p1
961 %patch0068 -p1
962 %patch0069 -p1
963 %patch0070 -p1
964 %patch0071 -p1
965 %patch0072 -p1
966 %patch0073 -p1
967 %patch0074 -p1
968 %patch0075 -p1
969 %patch0076 -p1
970 %patch0077 -p1
971 %patch0078 -p1
972 %patch0079 -p1
973 %patch0080 -p1
974 %patch0081 -p1
975 %patch0082 -p1
976 %patch0083 -p1
977 %patch0084 -p1
978 %patch0085 -p1
979 %patch0086 -p1
980 %patch0087 -p1
981 %patch0088 -p1
982 %patch0089 -p1
983 %patch0090 -p1
984 %patch0091 -p1
985 %patch0092 -p1
986 %patch0093 -p1
987 %patch0094 -p1
988 %patch0095 -p1
989 %patch0096 -p1
990 %patch0097 -p1
991 %patch0098 -p1
992 %patch0099 -p1
993 %patch0100 -p1
994 %patch0101 -p1
995 %patch0102 -p1
996 %patch0103 -p1
997 %patch0104 -p1
998 %patch0105 -p1
999 %patch0106 -p1
1000 %patch0107 -p1
1001 %patch0108 -p1
1002 %patch0109 -p1
1003 %patch0110 -p1
1004 %patch0111 -p1
1005 %patch0112 -p1
1006 %patch0113 -p1
1007 %patch0114 -p1
1008 %patch0115 -p1
1009 %patch0116 -p1
1010 %patch0117 -p1
1011 %patch0118 -p1
1012 %patch0119 -p1
1013 %patch0120 -p1
1014 %patch0121 -p1
1015 %patch0122 -p1
1016 %patch0123 -p1
1017 %patch0124 -p1
1018 %patch0125 -p1
1019 %patch0126 -p1
1020 %patch0127 -p1
1021 %patch0128 -p1
1022 %patch0129 -p1
1023 %patch0130 -p1
1024 %patch0131 -p1
1025 %patch0132 -p1
1026 %patch0133 -p1
1027 %patch0134 -p1
1028 %patch0135 -p1
1029 %patch0136 -p1
1030 %patch0137 -p1
1031 %patch0138 -p1
1032 %patch0139 -p1
1033 %patch0140 -p1
1034 %patch0141 -p1
1035 %patch0142 -p1
1036 %patch0143 -p1
1037 %patch0144 -p1
1038 %patch0145 -p1
1039 %patch0146 -p1
1040 %patch0147 -p1
1041 %patch0148 -p1
1042 %patch0149 -p1
1043 %patch0150 -p1
1044 %patch0151 -p1
1045 %patch0152 -p1
1046 %patch0153 -p1
1047 %patch0154 -p1
1048 %patch0155 -p1
1049 %patch0156 -p1
1050 %patch0157 -p1
1051 %patch0158 -p1
1052 %patch0159 -p1
1053 %patch0160 -p1
1054 %patch0161 -p1
1055 %patch0162 -p1
1056 %patch0163 -p1
1057 %patch0164 -p1
1058 %patch0165 -p1
1059 %patch0166 -p1
1060 %patch0167 -p1
1061 %patch0168 -p1
1062 %patch0169 -p1
1063 %patch0170 -p1
1064 %patch0171 -p1
1065 %patch0172 -p1
1066 %patch0173 -p1
1067 %patch0174 -p1
1068 %patch0175 -p1
1069 %patch0176 -p1
1070 %patch0177 -p1
1071 %patch0178 -p1
1072 %patch0179 -p1
1073 %patch0180 -p1
1074 %patch0181 -p1
1075 %patch0182 -p1
1076 %patch0183 -p1
1077 %patch0184 -p1
1078 %patch0185 -p1
1079 %patch0186 -p1
1080 %patch0187 -p1
1081 %patch0188 -p1
1082 %patch0189 -p1
1083 %patch0190 -p1
1084 %patch0191 -p1
1085 %patch0192 -p1
1086 %patch0193 -p1
1087 %patch0194 -p1
1088 %patch0195 -p1
1089 %patch0196 -p1
1090 %patch0197 -p1
1091 %patch0198 -p1
1092 %patch0199 -p1
1093 %patch0200 -p1
1094 %patch0201 -p1
1095 %patch0202 -p1
1096 %patch0203 -p1
1097 %patch0204 -p1
1098 %patch0205 -p1
1099 %patch0206 -p1
1100 %patch0207 -p1
1101 %patch0208 -p1
1102 %patch0209 -p1
1103 %patch0210 -p1
1104 %patch0211 -p1
1105 %patch0212 -p1
1106 %patch0213 -p1
1107 %patch0214 -p1
1108 %patch0215 -p1
1109 %patch0216 -p1
1110 %patch0217 -p1
1111 %patch0218 -p1
1112 %patch0219 -p1
1113 %patch0220 -p1
1114 %patch0221 -p1
1115 %patch0222 -p1
1116 %patch0223 -p1
1117 %patch0224 -p1
1118 %patch0225 -p1
1119 %patch0226 -p1
1120 %patch0227 -p1
1121 %patch0228 -p1
1122 %patch0229 -p1
1123 %patch0230 -p1
1124 %patch0231 -p1
1125 %patch0232 -p1
1126 %patch0233 -p1
1127 %patch0234 -p1
1128 %patch0235 -p1
1129 %patch0236 -p1
1130 %patch0237 -p1
1131 %patch0238 -p1
1132 %patch0239 -p1
1133 %patch0240 -p1
1134 %patch0241 -p1
1135 %patch0242 -p1
1136
1137 %patch0400 -p1
1138 %patch0401 -p1
1139 %patch0402 -p1
1140 %patch0403 -p1
1141 %patch0404 -p1
1142 %patch0405 -p1
1143 %patch0406 -p1
1144 %patch0407 -p1
1145 %patch0408 -p1
1146 %patch0409 -p1
1147 %patch0410 -p1
1148 # 411 superceded by 414
1149 %patch0412 -p1
1150 %patch0413 -p1
1151 %patch0414 -p1
1152
1153 %patch0500 -p1
1154 %patch0501 -p1
1155 %patch0502 -p1
1156 %patch0503 -p1
1157 %patch0504 -p1
1158 %patch0505 -p1
1159 %patch0506 -p1
1160 %patch0507 -p1
1161 %patch0508 -p1
1162 %patch0509 -p1
1163 %patch0510 -p1
1164 %patch0511 -p1
1165 %patch0512 -p1
1166 %patch0513 -p1
1167 %patch0514 -p1
1168 %patch0515 -p1
1169 %patch0516 -p1
1170 %patch0517 -p1
1171 %patch0518 -p1
1172
1173 %patch0600 -p1
1174 %patch0601 -p1
1175 %patch0602 -p1
1176 %patch0603 -p1
1177 %patch0604 -p1
1178 %patch0605 -p1
1179 %patch0606 -p1
1180 %patch0607 -p1
1181 %patch0608 -p1
1182 %patch0609 -p1
1183 %patch0610 -p1
1184 %patch0611 -p1
1185 %patch0612 -p1
1186 %patch0613 -p1
1187 %patch0614 -p1
1188 %patch0615 -p1
1189 %patch0616 -p1
1190 %patch0617 -p1
1191 %patch0618 -p1
1192 %patch0619 -p1
1193 %patch0620 -p1
1194 %patch0621 -p1
1195 %patch0622 -p1
1196 %patch0623 -p1
1197 %patch0624 -p1
1198 %patch0625 -p1
1199 %patch0626 -p1
1200 %patch0627 -p1
1201 %patch0628 -p1
1202 %patch0629 -p1
1203 %patch0630 -p1
1204 %patch0631 -p1
1205 %patch0632 -p1
1206 %patch0633 -p1
1207 %patch0634 -p1
1208
1209 %patch0800 -p1
1210 %patch0801 -p1
1211 %patch802 -p1
1212 %patch803 -p1
1213 %patch804 -p1
1214 %patch805 -p1
1215
1216 %build
1217 %if %{with kvmonly}
1218     buildarch="%{kvm_target}-softmmu"
1219 %else
1220 buildarch="i386-softmmu x86_64-softmmu alpha-softmmu arm-softmmu cris-softmmu \
1221     lm32-softmmu m68k-softmmu microblaze-softmmu microblazeel-softmmu \
1222     mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu \
1223     or32-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu s390x-softmmu \
1224     sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu \
1225     xtensa-softmmu xtensaeb-softmmu unicore32-softmmu \
1226     i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user \
1227     armeb-linux-user cris-linux-user m68k-linux-user \
1228     microblaze-linux-user microblazeel-linux-user mips-linux-user \
1229     mipsel-linux-user or32-linux-user ppc-linux-user ppc64-linux-user \
1230     ppc64abi32-linux-user s390x-linux-user sh4-linux-user sh4eb-linux-user \
1231     sparc-linux-user sparc64-linux-user sparc32plus-linux-user \
1232     unicore32-linux-user"
1233 %endif
1234
1235 # --build-id option is used for giving info to the debug packages.
1236 extraldflags="-Wl,--build-id";
1237 buildldflags="VL_LDFLAGS=-Wl,--build-id"
1238
1239 %ifarch s390
1240 # drop -g flag to prevent memory exhaustion by linker
1241 %global optflags %(echo %{optflags} | sed 's/-g//')
1242 sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
1243 %endif
1244
1245
1246 dobuild() {
1247     ./configure \
1248         --prefix=%{_prefix} \
1249         --sysconfdir=%{_sysconfdir} \
1250         --interp-prefix=%{_prefix}/qemu-%%M \
1251         --audio-drv-list=pa,sdl,alsa,oss \
1252         --disable-strip \
1253         --extra-ldflags="$extraldflags -pie -Wl,-z,relro -Wl,-z,now" \
1254         --extra-cflags="%{optflags} -fPIE -DPIE" \
1255 %if 0%{?have_spice:1}
1256         --enable-spice \
1257 %endif
1258         --enable-mixemu \
1259 %if 0%{?have_seccomp:1}
1260         --enable-seccomp \
1261 %endif
1262         --enable-rbd \
1263 %if 0%{?need_fdt:1}
1264         --enable-fdt \
1265 %else
1266         --disable-fdt \
1267 %endif
1268         --enable-trace-backend=dtrace \
1269         --disable-werror \
1270         --disable-xen \
1271         --enable-kvm \
1272         "$@"
1273
1274     echo "config-host.mak contents:"
1275     echo "==="
1276     cat config-host.mak
1277     echo "==="
1278
1279     make V=1 %{?_smp_mflags} $buildldflags
1280 }
1281
1282 # This is kind of confusing. We run ./configure + make twice here to
1283 # preserve some back compat: if on x86, we want to provide a qemu-kvm
1284 # binary that defaults to KVM=on. All other qemu-system* should be
1285 # able to use KVM, but default to KVM=off (upstream qemu semantics).
1286 #
1287 # Once qemu-kvm and qemu fully merge, and we base off qemu releases,
1288 # all qemu-system-* will default to KVM=off, so we hopefully won't need
1289 # to do these double builds. But then I'm not sure how we are going to
1290 # generate a back compat qemu-kvm binary...
1291
1292 %if 0%{?need_qemu_kvm}
1293 # Build qemu-kvm back compat binary
1294 dobuild --target-list=%{kvm_target}-softmmu
1295
1296 # Setup back compat qemu-kvm binary which defaults to KVM=on
1297 ./scripts/tracetool.py --backend dtrace --format stap \
1298   --binary %{_bindir}/qemu-kvm --target-arch %{kvm_target} --target-type system \
1299   --probe-prefix qemu.kvm < ./trace-events > qemu-kvm.stp
1300
1301 cp -a %{kvm_target}-softmmu/qemu-system-%{kvm_target} qemu-kvm
1302
1303 %endif
1304
1305 %if %{without kvmonly}
1306 %if 0%{?need_qemu_kvm}
1307 make clean
1308 %endif
1309
1310 # Build qemu-system-* with consistent default of kvm=off
1311 dobuild --target-list="$buildarch" --disable-kvm-options
1312 %endif
1313
1314 gcc %{SOURCE6} -O2 -g -o ksmctl
1315
1316
1317 %install
1318
1319 %define _udevdir /lib/udev/rules.d
1320
1321 install -D -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ksm
1322
1323 install -D -p -m 0755 %{SOURCE8} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1324 install -D -p -m 0644 %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1325
1326 %ifarch %{kvm_archs}
1327 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
1328 mkdir -p $RPM_BUILD_ROOT%{_bindir}/
1329 mkdir -p $RPM_BUILD_ROOT%{_udevdir}
1330
1331 install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/kvm.modules
1332 install -m 0755 scripts/kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}/
1333 install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_udevdir}
1334 %endif
1335
1336 make DESTDIR=$RPM_BUILD_ROOT install
1337
1338 %if 0%{?need_qemu_kvm}
1339 mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
1340 mkdir -p $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset
1341
1342 install -m 0755 qemu-kvm $RPM_BUILD_ROOT%{_bindir}/
1343 install -m 0644 qemu-kvm.stp $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/
1344 %endif
1345
1346 %if %{with kvmonly}
1347 rm $RPM_BUILD_ROOT%{_bindir}/qemu-system-%{kvm_target}
1348 rm $RPM_BUILD_ROOT%{_datadir}/systemtap/tapset/qemu-system-%{kvm_target}.stp
1349 %endif
1350
1351 chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man1/*
1352 install -D -p -m 0644 -t ${RPM_BUILD_ROOT}%{qemudocdir} Changelog README TODO COPYING COPYING.LIB LICENSE
1353
1354 install -D -p -m 0644 qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl2/qemu.conf
1355
1356 # Provided by package openbios
1357 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-ppc
1358 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc32
1359 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc64
1360 # Provided by package SLOF
1361 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/slof.bin
1362
1363 # Remove possibly unpackaged files.  Unlike others that are removed
1364 # unconditionally, these firmware files are still distributed as a binary
1365 # together with the qemu package.  We should try to move at least s390-zipl.rom
1366 # to a separate package...  Discussed here on the packaging list:
1367 # https://lists.fedoraproject.org/pipermail/packaging/2012-July/008563.html
1368 %if 0%{!?system_alpha:1}
1369 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/palcode-clipper
1370 %endif
1371 %if 0%{!?system_microblaze:1}
1372 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/petalogix*.dtb
1373 %endif
1374 %if 0%{!?system_ppc:1}
1375 rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bamboo.dtb
1376 rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/ppc_rom.bin
1377 rm -f ${RPM_BUILD_ROOT}%{_datadir}/%{name}/spapr-rtas.bin
1378 %endif
1379 %if 0%{!?system_s390x:1}
1380 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-zipl.rom
1381 %endif
1382
1383 # Provided by package ipxe
1384 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe*rom
1385 # Provided by package vgabios
1386 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/vgabios*bin
1387 # Provided by package seabios
1388 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bios.bin
1389 # Provided by package sgabios
1390 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/sgabios.bin
1391
1392 %if 0%{?system_x86:1}
1393 # the pxe gpxe images will be symlinks to the images on
1394 # /usr/share/ipxe, as QEMU doesn't know how to look
1395 # for other paths, yet.
1396 pxe_link() {
1397   ln -s ../ipxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.rom
1398 }
1399
1400 pxe_link e1000 8086100e
1401 pxe_link ne2k_pci 10ec8029
1402 pxe_link pcnet 10222000
1403 pxe_link rtl8139 10ec8139
1404 pxe_link virtio 1af41000
1405
1406 rom_link() {
1407     ln -s $1 %{buildroot}%{_datadir}/%{name}/$2
1408 }
1409
1410 rom_link ../vgabios/VGABIOS-lgpl-latest.bin vgabios.bin
1411 rom_link ../vgabios/VGABIOS-lgpl-latest.cirrus.bin vgabios-cirrus.bin
1412 rom_link ../vgabios/VGABIOS-lgpl-latest.qxl.bin vgabios-qxl.bin
1413 rom_link ../vgabios/VGABIOS-lgpl-latest.stdvga.bin vgabios-stdvga.bin
1414 rom_link ../vgabios/VGABIOS-lgpl-latest.vmware.bin vgabios-vmware.bin
1415 rom_link ../seabios/bios.bin bios.bin
1416 rom_link ../sgabios/sgabios.bin sgabios.bin
1417 %endif
1418
1419 %if 0%{?user:1}
1420 mkdir -p $RPM_BUILD_ROOT%{_exec_prefix}/lib/binfmt.d
1421 for i in dummy \
1422 %ifnarch %{ix86} x86_64
1423     qemu-i386 \
1424 %endif
1425 %ifnarch alpha
1426     qemu-alpha \
1427 %endif
1428 %ifnarch arm
1429     qemu-arm \
1430 %endif
1431     qemu-armeb \
1432 %ifnarch mips
1433     qemu-mips qemu-mipsn32 qemu-mips64 \
1434 %endif
1435 %ifnarch mipsel
1436     qemu-mipsel qemu-mipsn32el qemu-mips64el \
1437 %endif
1438 %ifnarch m68k
1439     qemu-m68k \
1440 %endif
1441 %ifnarch ppc ppc64
1442     qemu-ppc \
1443 %endif
1444 %ifnarch sparc sparc64
1445     qemu-sparc \
1446 %endif
1447 %ifnarch s390 s390x
1448     qemu-s390x \
1449 %endif
1450 %ifnarch sh4
1451     qemu-sh4 \
1452 %endif
1453     qemu-sh4eb \
1454 ; do
1455   test $i = dummy && continue
1456   grep /$i:\$ %{SOURCE1} > $RPM_BUILD_ROOT%{_exec_prefix}/lib/binfmt.d/$i.conf
1457   chmod 644 $RPM_BUILD_ROOT%{_exec_prefix}/lib/binfmt.d/$i.conf
1458 done < %{SOURCE1}
1459 %endif
1460
1461 # For the qemu-guest-agent subpackage install the systemd
1462 # service and udev rules.
1463 mkdir -p $RPM_BUILD_ROOT%{_udevdir}
1464 install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_udevdir}
1465
1466 # Install rules to use the bridge helper with libvirt's virbr0
1467 install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}/qemu
1468 chmod u+s $RPM_BUILD_ROOT%{_libexecdir}/qemu-bridge-helper
1469
1470 %check
1471 make check
1472
1473 %ifarch %{kvm_archs}
1474 %post %{kvm_package}
1475 # load kvm modules now, so we can make sure no reboot is needed.
1476 # If there's already a kvm module installed, we don't mess with it
1477 sh %{_sysconfdir}/sysconfig/modules/kvm.modules || :
1478 udevadm trigger --sysname-match=kvm || :
1479 %endif
1480
1481 %post common
1482 if [ $1 -eq 1 ] ; then
1483     # Initial installation
1484     /bin/systemctl enable ksm.service >/dev/null 2>&1 || :
1485     /bin/systemctl enable ksmtuned.service >/dev/null 2>&1 || :
1486     /bin/ln -s /usr/bin/qemu-kvm /usr/libexec/qemu-kvm
1487 fi
1488
1489 getent group kvm >/dev/null || groupadd -g 36 -r kvm
1490 getent group qemu >/dev/null || groupadd -g 107 -r qemu
1491 getent passwd qemu >/dev/null || \
1492   useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
1493     -c "qemu user" qemu
1494
1495 %preun common
1496 if [ $1 -eq 0 ] ; then
1497     # Package removal, not upgrade
1498     /bin/systemctl --no-reload disable ksmtuned.service > /dev/null 2>&1 || :
1499     /bin/systemctl --no-reload disable ksm.service > /dev/null 2>&1 || :
1500     /bin/systemctl stop ksmtuned.service > /dev/null 2>&1 || :
1501     /bin/systemctl stop ksm.service > /dev/null 2>&1 || :
1502 fi
1503
1504 %postun common
1505 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
1506 if [ $1 -ge 1 ] ; then
1507     # Package upgrade, not uninstall
1508     /bin/systemctl try-restart ksmtuned.service >/dev/null 2>&1 || :
1509     /bin/systemctl try-restart ksm.service >/dev/null 2>&1 || :
1510 fi
1511 if [ $1 -eq 0 ] ; then
1512     # Package removal, not upgrade
1513     /bin/rm -f /usr/libexec/qemu-kvm
1514 fi
1515
1516 %global kvm_files \
1517 %{_sysconfdir}/sysconfig/modules/kvm.modules \
1518 %{_udevdir}/80-kvm.rules
1519
1520 %if 0%{?need_qemu_kvm}
1521 %global qemu_kvm_files \
1522 %{_bindir}/qemu-kvm \
1523 %{_datadir}/systemtap/tapset/qemu-kvm.stp
1524 %endif
1525
1526 %files
1527 %defattr(-,root,root)
1528
1529 %ifarch %{kvm_archs}
1530 %files kvm
1531 %defattr(-,root,root)
1532 %endif
1533
1534 %files common
1535 %defattr(-,root,root)
1536 %dir %{qemudocdir}
1537 %doc %{qemudocdir}/Changelog
1538 %doc %{qemudocdir}/README
1539 %doc %{qemudocdir}/TODO
1540 %doc %{qemudocdir}/qemu-doc.html
1541 %doc %{qemudocdir}/qemu-tech.html
1542 %doc %{qemudocdir}/qmp-commands.txt
1543 %doc %{qemudocdir}/COPYING
1544 %doc %{qemudocdir}/COPYING.LIB
1545 %doc %{qemudocdir}/LICENSE
1546 %dir %{_datadir}/%{name}/
1547 %{_datadir}/%{name}/keymaps/
1548 %{_mandir}/man1/qemu.1*
1549 %{_mandir}/man1/virtfs-proxy-helper.1*
1550 %{_mandir}/man8/qemu-nbd.8*
1551 %{_bindir}/qemu-nbd
1552 %{_bindir}/virtfs-proxy-helper
1553 %{_libexecdir}/qemu-bridge-helper
1554 %config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
1555 %config(noreplace) %{_sysconfdir}/sysconfig/ksm
1556 %{_sbindir}/ksmtuned
1557 %config(noreplace) %{_sysconfdir}/ksmtuned.conf
1558 %dir %{_sysconfdir}/qemu
1559 %config(noreplace) %{_sysconfdir}/qemu/bridge.conf
1560
1561 %files guest-agent
1562 %defattr(-,root,root,-)
1563 %doc COPYING README
1564 %{_bindir}/qemu-ga
1565 %{_udevdir}/99-qemu-guest-agent.rules
1566
1567 %if 0%{?user:1}
1568 %files %{user}
1569 %defattr(-,root,root)
1570 %{_exec_prefix}/lib/binfmt.d/qemu-*.conf
1571 %{_bindir}/qemu-i386
1572 %{_bindir}/qemu-x86_64
1573 %{_bindir}/qemu-alpha
1574 %{_bindir}/qemu-arm
1575 %{_bindir}/qemu-armeb
1576 %{_bindir}/qemu-cris
1577 %{_bindir}/qemu-m68k
1578 %{_bindir}/qemu-microblaze
1579 %{_bindir}/qemu-microblazeel
1580 %{_bindir}/qemu-mips
1581 %{_bindir}/qemu-mipsel
1582 %{_bindir}/qemu-or32
1583 %{_bindir}/qemu-ppc
1584 %{_bindir}/qemu-ppc64
1585 %{_bindir}/qemu-ppc64abi32
1586 %{_bindir}/qemu-s390x
1587 %{_bindir}/qemu-sh4
1588 %{_bindir}/qemu-sh4eb
1589 %{_bindir}/qemu-sparc
1590 %{_bindir}/qemu-sparc32plus
1591 %{_bindir}/qemu-sparc64
1592 %{_bindir}/qemu-unicore32
1593 %{_datadir}/systemtap/tapset/qemu-i386.stp
1594 %{_datadir}/systemtap/tapset/qemu-x86_64.stp
1595 %{_datadir}/systemtap/tapset/qemu-alpha.stp
1596 %{_datadir}/systemtap/tapset/qemu-arm.stp
1597 %{_datadir}/systemtap/tapset/qemu-armeb.stp
1598 %{_datadir}/systemtap/tapset/qemu-cris.stp
1599 %{_datadir}/systemtap/tapset/qemu-m68k.stp
1600 %{_datadir}/systemtap/tapset/qemu-microblaze.stp
1601 %{_datadir}/systemtap/tapset/qemu-microblazeel.stp
1602 %{_datadir}/systemtap/tapset/qemu-mips.stp
1603 %{_datadir}/systemtap/tapset/qemu-mipsel.stp
1604 %{_datadir}/systemtap/tapset/qemu-or32.stp
1605 %{_datadir}/systemtap/tapset/qemu-ppc.stp
1606 %{_datadir}/systemtap/tapset/qemu-ppc64.stp
1607 %{_datadir}/systemtap/tapset/qemu-ppc64abi32.stp
1608 %{_datadir}/systemtap/tapset/qemu-s390x.stp
1609 %{_datadir}/systemtap/tapset/qemu-sh4.stp
1610 %{_datadir}/systemtap/tapset/qemu-sh4eb.stp
1611 %{_datadir}/systemtap/tapset/qemu-sparc.stp
1612 %{_datadir}/systemtap/tapset/qemu-sparc32plus.stp
1613 %{_datadir}/systemtap/tapset/qemu-sparc64.stp
1614 %{_datadir}/systemtap/tapset/qemu-unicore32.stp
1615 %endif
1616
1617 %if 0%{?system_x86:1}
1618 %files %{system_x86}
1619 %defattr(-,root,root)
1620 %if %{without kvmonly}
1621 %{_bindir}/qemu-system-i386
1622 %{_bindir}/qemu-system-x86_64
1623 %{_datadir}/systemtap/tapset/qemu-system-i386.stp
1624 %{_datadir}/systemtap/tapset/qemu-system-x86_64.stp
1625 %endif
1626 %{_datadir}/%{name}/bios.bin
1627 %{_datadir}/%{name}/sgabios.bin
1628 %{_datadir}/%{name}/linuxboot.bin
1629 %{_datadir}/%{name}/multiboot.bin
1630 %{_datadir}/%{name}/kvmvapic.bin
1631 %{_datadir}/%{name}/vgabios.bin
1632 %{_datadir}/%{name}/vgabios-cirrus.bin
1633 %{_datadir}/%{name}/vgabios-qxl.bin
1634 %{_datadir}/%{name}/vgabios-stdvga.bin
1635 %{_datadir}/%{name}/vgabios-vmware.bin
1636 %{_datadir}/%{name}/pxe-e1000.rom
1637 %{_datadir}/%{name}/pxe-virtio.rom
1638 %{_datadir}/%{name}/pxe-pcnet.rom
1639 %{_datadir}/%{name}/pxe-rtl8139.rom
1640 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1641 %{_datadir}/%{name}/cpus-x86_64.conf
1642 %{_datadir}/%{name}/qemu-icon.bmp
1643 %config(noreplace) %{_sysconfdir}/qemu/target-x86_64.conf
1644 %ifarch %{ix86} x86_64
1645 %{?kvm_files:}
1646 %{?qemu_kvm_files:}
1647 %endif
1648 %endif
1649
1650 %ifarch %{kvm_archs}
1651 %files kvm-tools
1652 %defattr(-,root,root,-)
1653 %{_bindir}/kvm_stat
1654 %endif
1655
1656 %if 0%{?system_alpha:1}
1657 %files %{system_alpha}
1658 %defattr(-,root,root)
1659 %{_bindir}/qemu-system-alpha
1660 %{_datadir}/systemtap/tapset/qemu-system-alpha.stp
1661 %{_datadir}/%{name}/palcode-clipper
1662 %endif
1663
1664 %if 0%{?system_arm:1}
1665 %files %{system_arm}
1666 %defattr(-,root,root)
1667 %{_bindir}/qemu-system-arm
1668 %{_datadir}/systemtap/tapset/qemu-system-arm.stp
1669 %endif
1670
1671 %if 0%{?system_mips:1}
1672 %files %{system_mips}
1673 %defattr(-,root,root)
1674 %{_bindir}/qemu-system-mips
1675 %{_bindir}/qemu-system-mipsel
1676 %{_bindir}/qemu-system-mips64
1677 %{_bindir}/qemu-system-mips64el
1678 %{_datadir}/systemtap/tapset/qemu-system-mips.stp
1679 %{_datadir}/systemtap/tapset/qemu-system-mipsel.stp
1680 %{_datadir}/systemtap/tapset/qemu-system-mips64el.stp
1681 %{_datadir}/systemtap/tapset/qemu-system-mips64.stp
1682 %endif
1683
1684 %if 0%{?system_cris:1}
1685 %files %{system_cris}
1686 %defattr(-,root,root)
1687 %{_bindir}/qemu-system-cris
1688 %{_datadir}/systemtap/tapset/qemu-system-cris.stp
1689 %endif
1690
1691 %if 0%{?system_lm32:1}
1692 %files %{system_lm32}
1693 %defattr(-,root,root)
1694 %{_bindir}/qemu-system-lm32
1695 %{_datadir}/systemtap/tapset/qemu-system-lm32.stp
1696 %endif
1697
1698 %if 0%{?system_m68k:1}
1699 %files %{system_m68k}
1700 %defattr(-,root,root)
1701 %{_bindir}/qemu-system-m68k
1702 %{_datadir}/systemtap/tapset/qemu-system-m68k.stp
1703 %endif
1704
1705 %if 0%{?system_microblaze:1}
1706 %files %{system_microblaze}
1707 %defattr(-,root,root)
1708 %{_bindir}/qemu-system-microblaze
1709 %{_bindir}/qemu-system-microblazeel
1710 %{_datadir}/systemtap/tapset/qemu-system-microblaze.stp
1711 %{_datadir}/systemtap/tapset/qemu-system-microblazeel.stp
1712 %{_datadir}/%{name}/petalogix*.dtb
1713 %endif
1714
1715 %if 0%{?system_or32:1}
1716 %files %{system_or32}
1717 %defattr(-,root,root)
1718 %{_bindir}/qemu-system-or32
1719 %{_datadir}/systemtap/tapset/qemu-system-or32.stp
1720 %endif
1721
1722 %if 0%{?system_s390x:1}
1723 %files %{system_s390x}
1724 %defattr(-,root,root)
1725 %{_bindir}/qemu-system-s390x
1726 %{_datadir}/systemtap/tapset/qemu-system-s390x.stp
1727 %{_datadir}/%{name}/s390-zipl.rom
1728 %ifarch s390x
1729 %{?kvm_files:}
1730 %{?qemu_kvm_files:}
1731 %endif
1732 %endif
1733
1734 %if 0%{?system_sh4:1}
1735 %files %{system_sh4}
1736 %defattr(-,root,root)
1737 %{_bindir}/qemu-system-sh4
1738 %{_bindir}/qemu-system-sh4eb
1739 %{_datadir}/systemtap/tapset/qemu-system-sh4.stp
1740 %{_datadir}/systemtap/tapset/qemu-system-sh4eb.stp
1741 %endif
1742
1743 %if 0%{?system_sparc:1}
1744 %files %{system_sparc}
1745 %defattr(-,root,root)
1746 %{_bindir}/qemu-system-sparc
1747 %{_bindir}/qemu-system-sparc64
1748 %{_datadir}/systemtap/tapset/qemu-system-sparc.stp
1749 %{_datadir}/systemtap/tapset/qemu-system-sparc64.stp
1750 %endif
1751
1752 %if 0%{?system_ppc:1}
1753 %files %{system_ppc}
1754 %defattr(-,root,root)
1755 %if %{without kvmonly}
1756 %{_bindir}/qemu-system-ppc
1757 %{_bindir}/qemu-system-ppc64
1758 %{_bindir}/qemu-system-ppcemb
1759 %{_datadir}/systemtap/tapset/qemu-system-ppc.stp
1760 %{_datadir}/systemtap/tapset/qemu-system-ppc64.stp
1761 %{_datadir}/systemtap/tapset/qemu-system-ppcemb.stp
1762 %endif
1763 %{_datadir}/%{name}/bamboo.dtb
1764 %{_datadir}/%{name}/ppc_rom.bin
1765 %{_datadir}/%{name}/spapr-rtas.bin
1766 %ifarch ppc64
1767 %{?kvm_files:}
1768 %{?qemu_kvm_files:}
1769 %endif
1770 %endif
1771
1772 %if 0%{?system_unicore32:1}
1773 %files %{system_unicore32}
1774 %defattr(-,root,root)
1775 %{_bindir}/qemu-system-unicore32
1776 %{_datadir}/systemtap/tapset/qemu-system-unicore32.stp
1777 %endif
1778
1779 %if 0%{?system_xtensa:1}
1780 %files %{system_xtensa}
1781 %defattr(-,root,root)
1782 %{_bindir}/qemu-system-xtensa
1783 %{_bindir}/qemu-system-xtensaeb
1784 %{_datadir}/systemtap/tapset/qemu-system-xtensa.stp
1785 %{_datadir}/systemtap/tapset/qemu-system-xtensaeb.stp
1786 %endif
1787
1788 %files img
1789 %defattr(-,root,root)
1790 %{_bindir}/qemu-img
1791 %{_bindir}/qemu-io
1792 %{_bindir}/vscclient
1793 %{_mandir}/man1/qemu-img.1*
1794
1795 %changelog
1796 * Thu Aug 22 2013 Mirantis Product <product@mirantis.com> - 2:1.2.0-24
1797 - remove systemd stuff not needed for Centos
1798 - lower usbredir req to >= 0.5.1
1799 - unconditionally enable rbd
1800
1801 * Tue Nov 17 2012 Alon Levy <alevy@redhat.com> - 2:1.2.0-23
1802 - Rewrite fix for bz #725965 based on fix for bz #867366
1803 - Resolve bz #867366
1804
1805 * Fri Nov 16 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-22
1806 - Fix previous commit
1807
1808 * Fri Nov 16 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-21
1809 - Backport commit 38f419f (configure: Fix CONFIG_QEMU_HELPERDIR generation,
1810   2012-10-17)
1811
1812 * Thu Nov 15 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-20
1813 - Install qemu-bridge-helper as suid root
1814 - Distribute a sample /etc/qemu/bridge.conf file
1815
1816 * Thu Nov  1 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-19
1817 - Sync spice patches with upstream, minor bugfixes and set the qxl pci
1818   device revision to 4 by default, so that guests know they can use
1819   the new features
1820
1821 * Tue Oct 30 2012 Cole Robinson <crobinso@redhat.com> - 2:1.2.0-18
1822 - Fix loading arm initrd if kernel is very large (bz #862766)
1823 - Don't use reserved word 'function' in systemtap files (bz #870972)
1824 - Drop assertion that was triggering when pausing guests w/ qxl (bz
1825   #870972)
1826
1827 * Sun Oct 28 2012 Cole Robinson <crobinso@redhat.com> - 2:1.2.0-17
1828 - Pull patches queued for qemu 1.2.1
1829
1830 * Fri Oct 19 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-16
1831 - add s390x KVM support
1832 - distribute pre-built firmware or device trees for Alpha, Microblaze, S390
1833 - add missing system targets
1834 - add missing linux-user targets
1835 - fix previous commit
1836
1837 * Thu Oct 18 2012 Dan Horák <dan[at]danny.cz> - 2:1.2.0-15
1838 - fix build on non-kvm arches like s390(x)
1839
1840 * Wed Oct 17 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-14
1841 - Change SLOF Requires for the new version number
1842
1843 * Thu Oct 11 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-13
1844 - Add ppc support to kvm.modules (original patch by David Gibson)
1845 - Replace x86only build with kvmonly build: add separate defines and
1846   conditionals for all packages, so that they can be chosen and
1847   renamed in kvmonly builds and so that qemu has the appropriate requires
1848 - Automatically pick libfdt dependancy
1849 - Add knob to disable spice+seccomp
1850
1851 * Fri Sep 28 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-12
1852 - Call udevadm on post, fixing bug 860658
1853
1854 * Fri Sep 28 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-11
1855 - Rebuild against latest spice-server and spice-protocol
1856 - Fix non-seamless migration failing with vms with usb-redir devices,
1857   to allow boxes to load such vms from disk
1858
1859 * Tue Sep 25 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-10
1860 - Sync Spice patchsets with upstream (rhbz#860238)
1861 - Fix building with usbredir >= 0.5.2
1862
1863 * Thu Sep 20 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-9
1864 - Sync USB and Spice patchsets with upstream
1865
1866 * Sun Sep 16 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.2.0-8
1867 - Use 'global' instead of 'define', and underscore in definition name,
1868   n-v-r, and 'dist' tag of SLOF, all to fix RHBZ#855252.
1869
1870 * Fri Sep 14 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-4
1871 - add versioned dependency from qemu-system-ppc to SLOF (BZ#855252)
1872
1873 * Wed Sep 12 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.2.0-3
1874 - Fix RHBZ#853408 which causes libguestfs failure.
1875
1876 * Sat Sep  8 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-2
1877 - Fix crash on (seamless) migration
1878 - Sync usbredir live migration patches with upstream
1879
1880 * Fri Sep  7 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-1
1881 - New upstream release 1.2.0 final
1882 - Add support for Spice seamless migration
1883 - Add support for Spice dynamic monitors
1884 - Add support for usb-redir live migration
1885
1886 * Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 1.2.0-0.5.rc1
1887 - Flip Requires: ceph >= foo to Conflicts: ceph < foo, so we pull in only the
1888   libraries which we need and not the rest of ceph which we don't.
1889
1890 * Tue Aug 28 2012 Cole Robinson <crobinso@redhat.com> 1.2.0-0.4.rc1
1891 - Update to 1.2.0-rc1
1892
1893 * Mon Aug 20 2012 Richard W.M. Jones <rjones@redhat.com> - 1.2-0.3.20120806git3e430569
1894 - Backport Bonzini's vhost-net fix (RHBZ#848400).
1895
1896 * Tue Aug 14 2012 Cole Robinson <crobinso@redhat.com> - 1.2-0.2.20120806git3e430569
1897 - Bump release number, previous build forgot but the dist bump helped us out
1898
1899 * Tue Aug 14 2012 Cole Robinson <crobinso@redhat.com> - 1.2-0.1.20120806git3e430569
1900 - Revive qemu-system-{ppc*, sparc*} (bz 844502)
1901 - Enable KVM support for all targets (bz 844503)
1902
1903 * Mon Aug 06 2012 Cole Robinson <crobinso@redhat.com> - 1.2-0.1.20120806git3e430569.fc18
1904 - Update to git snapshot
1905
1906 * Sun Jul 29 2012 Cole Robinson <crobinso@redhat.com> - 1.1.1-1
1907 - Upstream stable release 1.1.1
1908 - Fix systemtap tapsets (bz 831763)
1909 - Fix VNC audio tunnelling (bz 840653)
1910 - Don't renable ksm on update (bz 815156)
1911 - Bump usbredir dep (bz 812097)
1912 - Fix RPM install error on non-virt machines (bz 660629)
1913 - Obsolete openbios to fix upgrade dependency issues (bz 694802)
1914
1915 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.1.0-9
1916 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1917
1918 * Tue Jul 10 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.1.0-8
1919 - Re-diff previous patch so that it applies and actually apply it
1920
1921 * Tue Jul 10 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.1.0-7
1922 - Add patch to fix default machine options.  This fixes libvirt
1923   detection of qemu.
1924 - Back out patch 1 which conflicts.
1925
1926 * Fri Jul  6 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.1.0-5
1927 - Fix qemu crashing (on an assert) whenever USB-2.0 isoc transfers are used
1928
1929 * Thu Jul  5 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.1.0-4
1930 - Disable tests since they hang intermittently.
1931 - Add kvmvapic.bin (replaces vapic.bin).
1932 - Add cpus-x86_64.conf.  qemu now creates /etc/qemu/target-x86_64.conf
1933   as an empty file.
1934 - Add qemu-icon.bmp.
1935 - Add qemu-bridge-helper.
1936 - Build and include virtfs-proxy-helper + man page (thanks Hans de Goede).
1937
1938 * Wed Jul  4 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.1.0-1
1939 - New upstream release 1.1.0
1940 - Drop about a 100 spice + USB patches, which are all upstream
1941
1942 * Mon Apr 23 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.0-17
1943 - Fix install failure due to set -e (rhbz #815272)
1944
1945 * Mon Apr 23 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.0-16
1946 - Fix kvm.modules to exit successfully on non-KVM capable systems (rhbz #814932)
1947
1948 * Thu Apr 19 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.0-15
1949 - Add a couple of backported QXL/Spice bugfixes
1950 - Add spice volume control patches
1951
1952 * Fri Apr 6 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.0-12
1953 - Add back PPC and SPARC user emulators
1954 - Update binfmt rules from upstream
1955
1956 * Mon Apr  2 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.0-11
1957 - Some more USB bugfixes from upstream
1958
1959 * Thu Mar 29 2012 Eduardo Habkost <ehabkost@redhat.com> - 2:1.0-12
1960 - Fix ExclusiveArch mistake that disabled all non-x86_64 builds on Fedora
1961
1962 * Wed Mar 28 2012 Eduardo Habkost <ehabkost@redhat.com> - 2:1.0-11
1963 - Use --with variables for build-time settings
1964
1965 * Wed Mar 28 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-10
1966 - Switch to use iPXE for netboot ROMs
1967
1968 * Thu Mar 22 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-9
1969 - Remove O_NOATIME for 9p filesystems
1970
1971 * Mon Mar 19 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-8
1972 - Move udev rules to /lib/udev/rules.d (rhbz #748207)
1973
1974 * Fri Mar  9 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.0-7
1975 - Add a whole bunch of USB bugfixes from upstream
1976
1977 * Mon Feb 13 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-6
1978 - Add many more missing BRs for misc QEMU features
1979 - Enable running of test suite during build
1980
1981 * Tue Feb 07 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-5
1982 - Add support for virtio-scsi
1983
1984 * Sun Feb  5 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.0-4
1985 - Require updated ceph for latest librbd with rbd_flush symbol.
1986
1987 * Tue Jan 24 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-3
1988 - Add support for vPMU
1989 - e1000: bounds packet size against buffer size CVE-2012-0029
1990
1991 * Fri Jan 13 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-2
1992 - Add patches for USB redirect bits
1993 - Remove palcode-clipper, we don't build it
1994
1995 * Wed Jan 11 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-1
1996 - Add patches from 1.0.1 queue
1997
1998 * Fri Dec 16 2011 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-1
1999 - Update to qemu 1.0
2000
2001 * Tue Nov 15 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-3
2002 - Enable spice for i686 users as well
2003
2004 * Thu Nov 03 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-2
2005 - Fix POSTIN scriplet failure (#748281)
2006
2007 * Fri Oct 21 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-1
2008 - Require seabios-bin >= 0.6.0-2 (#741992)
2009 - Replace init scripts with systemd units (#741920)
2010 - Update to 0.15.1 stable upstream
2011   
2012 * Fri Oct 21 2011 Paul Moore <pmoore@redhat.com>
2013 - Enable full relro and PIE (rhbz #738812)
2014
2015 * Wed Oct 12 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-6
2016 - Add BR on ceph-devel to enable RBD block device
2017
2018 * Wed Oct  5 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-5
2019 - Create a qemu-guest-agent sub-RPM for guest installation
2020
2021 * Tue Sep 13 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-4
2022 - Enable DTrace tracing backend for SystemTAP (rhbz #737763)
2023 - Enable build with curl (rhbz #737006)
2024
2025 * Thu Aug 18 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.15.0-3
2026 - Add missing BuildRequires: usbredir-devel, so that the usbredir code
2027   actually gets build
2028
2029 * Thu Aug 18 2011 Richard W.M. Jones <rjones@redhat.com> - 2:0.15.0-2
2030 - Add upstream qemu patch 'Allow to leave type on default in -machine'
2031   (2645c6dcaf6ea2a51a3b6dfa407dd203004e4d11).
2032
2033 * Sun Aug 14 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-1
2034 - Update to 0.15.0 stable release.
2035
2036 * Thu Aug 04 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.3.201108040af4922
2037 - Update to 0.15.0-rc1 as we prepare for 0.15.0 release
2038
2039 * Thu Aug  4 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-0.3.2011072859fadcc
2040 - Fix default accelerator for non-KVM builds (rhbz #724814)
2041
2042 * Thu Jul 28 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.1.2011072859fadcc
2043 - Update to 0.15.0-rc0 as we prepare for 0.15.0 release
2044
2045 * Tue Jul 19 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.15.0-0.2.20110718525e3df
2046 - Add support usb redirection over the network, see:
2047   http://fedoraproject.org/wiki/Features/UsbNetworkRedirection
2048 - Restore chardev flow control patches
2049
2050 * Mon Jul 18 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.1.20110718525e3df
2051 - Update to git snapshot as we prepare for 0.15.0 release
2052
2053 * Wed Jun 22 2011 Richard W.M. Jones <rjones@redhat.com> - 2:0.14.0-9
2054 - Add BR libattr-devel.  This caused the -fstype option to be disabled.
2055   https://www.redhat.com/archives/libvir-list/2011-June/thread.html#01017
2056
2057 * Mon May  2 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.14.0-8
2058 - Fix a bug in the spice flow control patches which breaks the tcp chardev
2059
2060 * Tue Mar 29 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-7
2061 - Disable qemu-ppc and qemu-sparc packages (#679179)
2062
2063 * Mon Mar 28 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-6
2064 - Spice fixes for flow control.
2065
2066 * Tue Mar 22 2011 Dan Horák <dan[at]danny.cz> - 2:0.14.0-5
2067 - be more careful when removing the -g flag on s390
2068
2069 * Fri Mar 18 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-4
2070 - Fix thinko on adding the most recent patches.
2071
2072 * Wed Mar 16 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-3
2073 - Fix migration issue with vhost
2074 - Fix qxl locking issues for spice
2075
2076 * Wed Mar 02 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-2
2077 - Re-enable sparc and cris builds
2078
2079 * Thu Feb 24 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-1
2080 - Update to 0.14.0 release
2081
2082 * Fri Feb 11 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-0.1.20110210git7aa8c46
2083 - Update git snapshot
2084 - Temporarily disable qemu-cris and qemu-sparc due to build errors (to be resolved shorly)
2085
2086 * Tue Feb 08 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-0.1.20110208git3593e6b
2087 - Update to 0.14.0 rc git snapshot
2088 - Add virtio-net to modules
2089
2090 * Wed Nov  3 2010 Daniel P. Berrange <berrange@redhat.com> - 2:0.13.0-2
2091 - Revert previous change
2092 - Make qemu-common own the /etc/qemu directory
2093 - Add /etc/qemu/target-x86_64.conf to qemu-system-x86 regardless
2094   of host architecture.
2095
2096 * Wed Nov 03 2010 Dan Horák <dan[at]danny.cz> - 2:0.13.0-2
2097 - Remove kvm config file on non-x86 arches (part of #639471)
2098 - Own the /etc/qemu directory
2099
2100 * Mon Oct 18 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-1
2101 - Update to 0.13.0 upstream release
2102 - Fixes for vhost
2103 - Fix mouse in certain guests (#636887)
2104 - Fix issues with WinXP guest install (#579348)
2105 - Resolve build issues with S390 (#639471)
2106 - Fix Windows XP on Raw Devices (#631591)
2107
2108 * Tue Oct 05 2010 jkeating - 2:0.13.0-0.7.rc1.1
2109 - Rebuilt for gcc bug 634757
2110
2111 * Tue Sep 21 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.7.rc1
2112 - Flip qxl pci id from unstable to stable (#634535)
2113 - KSM Fixes from upstream (#558281)
2114
2115 * Tue Sep 14 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.6.rc1
2116 - Move away from git snapshots as 0.13 is close to release
2117 - Updates for spice 0.6
2118
2119 * Tue Aug 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.5.20100809git25fdf4a
2120 - Fix typo in e1000 gpxe rom requires.
2121 - Add links to newer vgabios
2122
2123 * Tue Aug 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.4.20100809git25fdf4a
2124 - Disable spice on 32bit, it is not supported and buildreqs don't exist.
2125
2126 * Mon Aug 9 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.3.20100809git25fdf4a
2127 - Updates from upstream towards 0.13 stable
2128 - Fix requires on gpxe
2129 - enable spice now that buildreqs are in the repository.
2130 - ksmtrace has moved to a separate upstream package
2131
2132 * Tue Jul 27 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.2.20100727gitb81fe95
2133 - add texinfo buildreq for manpages.
2134
2135 * Tue Jul 27 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.1.20100727gitb81fe95
2136 - Update to 0.13.0 upstream snapshot
2137 - ksm init fixes from upstream
2138
2139 * Tue Jul 20 2010 Dan Horák <dan[at]danny.cz> - 2:0.12.3-8
2140 - Add avoid-llseek patch from upstream needed for building on s390(x)
2141 - Don't use parallel make on s390(x)
2142
2143 * Tue Jun 22 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.3-7
2144 - Add vvfat hardening patch from upstream (#605202)
2145
2146 * Fri Apr 23 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-6
2147 - Change requires to the noarch seabios-bin
2148 - Add ownership of docdir to qemu-common (#572110)
2149 - Fix "Cannot boot from non-existent NIC" error when using virt-install (#577851)
2150
2151 * Thu Apr 15 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-5
2152 - Update virtio console patches from upstream
2153
2154 * Mon Mar 11 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-4
2155 - Detect cdrom via ioctl (#473154)
2156 - re add increased buffer for USB control requests (#546483)
2157
2158 * Wed Mar 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-3
2159 - Migration clear the fd in error cases (#518032)
2160
2161 * Tue Mar 09 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-2
2162 - Allow builds --with x86only
2163 - Add libaio-devel buildreq for aio support
2164
2165 * Fri Feb 26 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-1
2166 - Update to 0.12.3 upstream
2167 - vhost-net migration/restart fixes
2168 - Add F-13 machine type
2169 - virtio-serial fixes
2170
2171 * Tue Feb 09 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-6
2172 - Add vhost net support.
2173
2174 * Thu Feb 04 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-5
2175 - Avoid creating too large iovecs in multiwrite merge (#559717)
2176 - Don't try to set max_kernel_pages during ksm init on newer kernels (#558281)
2177 - Add logfile options for ksmtuned debug.
2178
2179 * Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-4
2180 - Remove build dependency on iasl now that we have seabios
2181
2182 * Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-3
2183 - Remove source target for 0.12.1.2
2184
2185 * Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-2
2186 - Add virtio-console patches from upstream for the F13 VirtioSerial feature
2187
2188 * Mon Jan 25 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-1
2189 - Update to 0.12.2 upstream
2190
2191 * Fri Jan 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-3
2192 - Point to seabios instead of bochs, and add a requires for seabios
2193
2194 * Mon Jan  4 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-2
2195 - Remove qcow2 virtio backing file patch
2196
2197 * Mon Jan  4 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-1
2198 - Update to 0.12.1.2 upstream
2199 - Remove patches included in upstream
2200
2201 * Fri Nov 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-12
2202 - Fix a use-after-free crasher in the slirp code (#539583)
2203 - Fix overflow in the parallels image format support (#533573)
2204
2205 * Wed Nov  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-11
2206 - Temporarily disable preadv/pwritev support to fix data corruption (#526549)
2207
2208 * Tue Nov  3 2009 Justin M. Forbes <jforbes@redhat.com> - 2:0.11.0-10
2209 - Default ksm and ksmtuned services on.
2210
2211 * Thu Oct 29 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-9
2212 - Fix dropped packets with non-virtio NICs (#531419)
2213
2214 * Wed Oct 21 2009 Glauber Costa <gcosta@redhat.com> - 2:0.11.0-8
2215 - Properly save kvm time registers (#524229)
2216
2217 * Mon Oct 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-7
2218 - Fix potential segfault from too small MSR_COUNT (#528901)
2219
2220 * Fri Oct  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-6
2221 - Fix fs errors with virtio and qcow2 backing file (#524734)
2222 - Fix ksm initscript errors on kernel missing ksm (#527653)
2223 - Add missing Requires(post): getent, useradd, groupadd (#527087)
2224
2225 * Tue Oct  6 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-5
2226 - Add 'retune' verb to ksmtuned init script
2227
2228 * Mon Oct  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-4
2229 - Use rtl8029 PXE rom for ne2k_pci, not ne (#526777)
2230 - Also, replace the gpxe-roms-qemu pkg requires with file-based requires
2231
2232 * Thu Oct  1 2009 Justin M. Forbes <jmforbes@redhat.com> - 2:0.11.0-3
2233 - Improve error reporting on file access (#524695)
2234
2235 * Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-2
2236 - Fix pci hotplug to not exit if supplied an invalid NIC model (#524022)
2237
2238 * Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-1
2239 - Update to 0.11.0 release
2240 - Drop a couple of upstreamed patches
2241
2242 * Wed Sep 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-5
2243 - Fix issue causing NIC hotplug confusion when no model is specified (#524022)
2244
2245 * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-4
2246 - Fix for KSM patch from Justin Forbes
2247
2248 * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-3
2249 - Add ksmtuned, also from Dan Kenigsberg
2250 - Use %_initddir macro
2251
2252 * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-2
2253 - Add ksm control script from Dan Kenigsberg
2254
2255 * Mon Sep  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-1
2256 - Update to qemu-kvm-0.11.0-rc2
2257 - Drop upstreamed patches
2258 - extboot install now fixed upstream
2259 - Re-place TCG init fix (#516543) with the one gone upstream
2260
2261 * Mon Sep  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.10.rc1
2262 - Fix MSI-X error handling on older kernels (#519787)
2263
2264 * Fri Sep  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.9.rc1
2265 - Make pulseaudio the default audio backend (#519540, #495964, #496627)
2266
2267 * Thu Aug 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2:0.10.91-0.8.rc1
2268 - Fix segfault when qemu-kvm is invoked inside a VM (#516543)
2269
2270 * Tue Aug 18 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.7.rc1
2271 - Fix permissions on udev rules (#517571)
2272
2273 * Mon Aug 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 2:0.10.91-0.6.rc1
2274 - Allow blacklisting of kvm modules (#517866)
2275
2276 * Fri Aug  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.5.rc1
2277 - Fix virtio_net with -net user (#516022)
2278
2279 * Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.4.rc1
2280 - Update to qemu-kvm-0.11-rc1; no changes from rc1-rc0
2281
2282 * Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.3.rc1.rc0
2283 - Fix extboot checksum (bug #514899)
2284
2285 * Fri Jul 31 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.2.rc1.rc0
2286 - Add KSM support
2287 - Require bochs-bios >= 2.3.8-0.8 for latest kvm bios updates
2288
2289 * Thu Jul 30 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.1.rc1.rc0
2290 - Update to qemu-kvm-0.11.0-rc1-rc0
2291 - This is a pre-release of the official -rc1
2292 - A vista installer regression is blocking the official -rc1 release
2293 - Drop qemu-prefer-sysfs-for-usb-host-devices.patch
2294 - Drop qemu-fix-build-for-esd-audio.patch
2295 - Drop qemu-slirp-Fix-guestfwd-for-incoming-data.patch
2296 - Add patch to ensure extboot.bin is installed
2297
2298 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.10.50-14.kvm88
2299 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2300
2301 * Thu Jul 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-13.kvm88
2302 - Fix bug 513249, -net channel option is broken
2303
2304 * Thu Jul 16 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.10.50-12.kvm88
2305 - Add 'qemu' user and group accounts
2306 - Force disable xen until it can be made to build
2307
2308 * Thu Jul 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-11.kvm88
2309 - Update to kvm-88, see http://www.linux-kvm.org/page/ChangeLog
2310 - Package mutiboot.bin
2311 - Update for how extboot is built
2312 - Fix sf.net source URL
2313 - Drop qemu-fix-ppc-softmmu-kvm-disabled-build.patch
2314 - Drop qemu-fix-pcspk-build-with-kvm-disabled.patch
2315 - Cherry-pick fix for esound support build failure
2316
2317 * Wed Jul 15 2009 Daniel Berrange <berrange@lettuce.camlab.fab.redhat.com> - 2:0.10.50-10.kvm87
2318 - Add udev rules to make /dev/kvm world accessible & group=kvm (rhbz #497341)
2319 - Create a kvm group if it doesn't exist (rhbz #346151)
2320
2321 * Tue Jul 07 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-9.kvm87
2322 - use pxe roms from gpxe, instead of etherboot package.
2323
2324 * Fri Jul  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-8.kvm87
2325 - Prefer sysfs over usbfs for usb passthrough (#508326)
2326
2327 * Sat Jun 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-7.kvm87
2328 - Update to kvm-87
2329 - Drop upstreamed patches
2330 - Cherry-pick new ppc build fix from upstream
2331 - Work around broken linux-user build on ppc
2332 - Fix hw/pcspk.c build with --disable-kvm
2333 - Re-enable preadv()/pwritev() since #497429 is long since fixed
2334 - Kill petalogix-s3adsp1800.dtb, since we don't ship the microblaze target
2335
2336 * Fri Jun  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-6.kvm86
2337 - Fix 'kernel requires an x86-64 CPU' error
2338 - BuildRequires ncurses-devel to enable '-curses' option (#504226)
2339
2340 * Wed Jun  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-5.kvm86
2341 - Prevent locked cdrom eject - fixes hang at end of anaconda installs (#501412)
2342 - Avoid harmless 'unhandled wrmsr' warnings (#499712)
2343
2344 * Thu May 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-4.kvm86
2345 - Update to kvm-86 release
2346 - ChangeLog here: http://marc.info/?l=kvm&m=124282885729710
2347
2348 * Fri May  1 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-3.kvm85
2349 - Really provide qemu-kvm as a metapackage for comps
2350
2351 * Tue Apr 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-2.kvm85
2352 - Provide qemu-kvm as a metapackage for comps
2353
2354 * Mon Apr 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-1.kvm85
2355 - Update to qemu-kvm-devel-85
2356 - kvm-85 is based on qemu development branch, currently version 0.10.50
2357 - Include new qemu-io utility in qemu-img package
2358 - Re-instate -help string for boot=on to fix virtio booting with libvirt
2359 - Drop upstreamed patches
2360 - Fix missing kernel/include/asm symlink in upstream tarball
2361 - Fix target-arm build
2362 - Fix build on ppc
2363 - Disable preadv()/pwritev() until bug #497429 is fixed
2364 - Kill more .kernelrelease uselessness
2365 - Make non-kvm qemu build verbose
2366
2367 * Fri Apr 24 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-15
2368 - Fix source numbering typos caused by make-release addition
2369
2370 * Thu Apr 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-14
2371 - Improve instructions for generating the tarball
2372
2373 * Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-13
2374 - Enable pulseaudio driver to fix qemu lockup at shutdown (#495964)
2375
2376 * Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-12
2377 - Another qcow2 image corruption fix (#496642)
2378
2379 * Mon Apr 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-11
2380 - Fix qcow2 image corruption (#496642)
2381
2382 * Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-10
2383 - Run sysconfig.modules from %post on x86_64 too (#494739)
2384
2385 * Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-9
2386 - Align VGA ROM to 4k boundary - fixes 'qemu-kvm -std vga' (#494376)
2387
2388 * Tue Apr  14 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-8
2389 - Provide qemu-kvm conditional on the architecture.
2390
2391 * Thu Apr  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-7
2392 - Add a much cleaner fix for vga segfault (#494002)
2393
2394 * Sun Apr  5 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-6
2395 - Fixed qcow2 segfault creating disks over 2TB. #491943
2396
2397 * Fri Apr  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-5
2398 - Fix vga segfault under kvm-autotest (#494002)
2399 - Kill kernelrelease hack; it's not needed
2400 - Build with "make V=1" for more verbose logs
2401
2402 * Thu Apr 02 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-4
2403 - Support botting gpxe roms.
2404
2405 * Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-2
2406 - added missing patch. love for CVS.
2407
2408 * Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-1
2409 - Include debuginfo for qemu-img
2410 - Do not require qemu-common for qemu-img
2411 - Explicitly own each of the firmware files
2412 - remove firmwares for ppc and sparc. They should be provided by an external package.
2413   Not that the packages exists for sparc in the secondary arch repo as noarch, but they
2414   don't automatically get into main repos. Unfortunately it's the best we can do right
2415   now.
2416 - rollback a bit in time. Snapshot from avi's maint/2.6.30
2417   - this requires the sasl patches to come back.
2418   - with-patched-kernel comes back.
2419
2420 * Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-0.12.kvm20090323git
2421 - BuildRequires pciutils-devel for device assignment (#492076)
2422
2423 * Mon Mar 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.11.kvm20090323git
2424 - Update to snapshot kvm20090323.
2425 - Removed patch2 (upstream).
2426 - use upstream's new split package.
2427 - --with-patched-kernel flag not needed anymore
2428 - Tell how to get the sources.
2429
2430 * Wed Mar 18 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.10.kvm20090310git
2431 - Added extboot to files list.
2432
2433 * Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.9.kvm20090310git
2434 - Fix wrong reference to bochs bios.
2435
2436 * Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.8.kvm20090310git
2437 - fix Obsolete/Provides pair
2438 - Use kvm bios from bochs-bios package.
2439 - Using RPM_OPT_FLAGS in configure
2440 - Picked back audio-drv-list from kvm package
2441
2442 * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.7.kvm20090310git
2443 - modify ppc patch
2444
2445 * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.6.kvm20090310git
2446 - updated to kvm20090310git
2447 - removed sasl patches (already in this release)
2448
2449 * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.5.kvm20090303git
2450 - kvm.modules were being wrongly mentioned at %%install.
2451 - update description for the x86 system package to include kvm support
2452 - build kvm's own bios. It is still necessary while kvm uses a slightly different
2453   irq routing mechanism
2454
2455 * Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.4.kvm20090303git
2456 - seems Epoch does not go into the tags. So start back here.
2457
2458 * Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.1.kvm20090303git
2459 - Use bochs-bios instead of bochs-bios-data
2460 - It's official: upstream set on 0.10
2461
2462 * Thu Mar  5 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.9.2-0.2.kvm20090303git
2463 - Added BSD to license list, since many files are covered by BSD
2464
2465 * Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.9.2-0.1.kvm20090303git
2466 - missing a dot. shame on me
2467
2468 * Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.92-0.1.kvm20090303git
2469 - Set Epoch to 2
2470 - Set version to 0.92. It seems upstream keep changing minds here, so pick the lowest
2471 - Provides KVM, Obsoletes KVM
2472 - Only install qemu-kvm in ix86 and x86_64
2473 - Remove pkgdesc macros, as they were generating bogus output for rpm -qi.
2474 - fix ppc and ppc64 builds
2475
2476 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.3.kvm20090303git
2477 - only execute post scripts for user package.
2478 - added kvm tools.
2479
2480 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.2.kvm20090303git
2481 - put kvm.modules into cvs
2482
2483 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.1.kvm20090303git
2484 - Set Epoch to 1
2485 - Build KVM (basic build, no tools yet)
2486 - Set ppc in ExcludeArch. This is temporary, just to fix one issue at a time.
2487   ppc users (IBM ? ;-)) please wait a little bit.
2488
2489 * Tue Mar  3 2009 Daniel P. Berrange <berrange@redhat.com> - 1.0-0.5.svn6666
2490 - Support VNC SASL authentication protocol
2491 - Fix dep on bochs-bios-data
2492
2493 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.4.svn6666
2494 - use bios from bochs-bios package.
2495
2496 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.3.svn6666
2497 - use vgabios from vgabios package.
2498
2499 * Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.2.svn6666
2500 - use pxe roms from etherboot package.
2501
2502 * Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.1.svn6666
2503 - Updated to tip svn (release 6666). Featuring split packages for qemu.
2504   Unfortunately, still using binary blobs for the bioses.
2505
2506 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13
2507 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2508
2509 * Sun Jan 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.9.1-12
2510 - Updated build patch. Closes Red Hat Bugzilla bug #465041.
2511
2512 * Wed Dec 31 2008 Dennis Gilmore <dennis@ausil.us> - 0.9.1-11
2513 - add sparcv9 and sparc64 support
2514
2515 * Fri Jul 25 2008 Bill Nottingham <notting@redhat.com>
2516 - Fix qemu-img summary (#456344)
2517
2518 * Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-10.fc10
2519 - Rebuild for GNU TLS ABI change
2520
2521 * Wed Jun 11 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-9.fc10
2522 - Remove bogus wildcard from files list (rhbz #450701)
2523
2524 * Sat May 17 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-8
2525 - Register binary handlers also for shared libraries
2526
2527 * Mon May  5 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-7.fc10
2528 - Fix text console PTYs to be in rawmode
2529
2530 * Sun Apr 27 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.9.1-6
2531 - Register binary handler for SuperH-4 CPU
2532
2533 * Wed Mar 19 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-5.fc9
2534 - Split qemu-img tool into sub-package for smaller footprint installs
2535
2536 * Wed Feb 27 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-4.fc9
2537 - Fix block device checks for extendable disk formats (rhbz #435139)
2538
2539 * Sat Feb 23 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-3.fc9
2540 - Fix block device extents check (rhbz #433560)
2541
2542 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-2
2543 - Autorebuild for GCC 4.3
2544
2545 * Tue Jan  8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-1.fc9
2546 - Updated to 0.9.1 release
2547 - Fix license tag syntax
2548 - Don't mark init script as a config file
2549
2550 * Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-5.fc8
2551 - Fix rtl8139 checksum calculation for Vista (rhbz #308201)
2552
2553 * Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-4.fc8
2554 - Fix debuginfo by passing -Wl,--build-id to linker
2555
2556 * Tue Aug 28 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-4
2557 - Update licence
2558 - Fix CDROM emulation (#253542)
2559
2560 * Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-3.fc8
2561 - Added backport of VNC password auth, and TLS+x509 cert auth
2562 - Switch to rtl8139 NIC by default for linkstate reporting
2563 - Fix rtl8139 mmio region mappings with multiple NICs
2564
2565 * Sun Apr  1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.0-2
2566 - Fix direct loading of a linux kernel with -kernel & -initrd (bz 234681)
2567 - Remove spurious execute bits from manpages (bz 222573)
2568
2569 * Tue Feb  6 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-1
2570 - Update to 0.9.0
2571
2572 * Wed Jan 31 2007 David Woodhouse <dwmw2@infradead.org> 0.8.2-5
2573 - Include licences
2574
2575 * Mon Nov 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.2-4
2576 - Backport patch to make FC6 guests work by Kevin Kofler
2577   <Kevin@tigcc.ticalc.org> (bz 207843).
2578
2579 * Mon Sep 11 2006 David Woodhouse <dwmw2@infradead.org> 0.8.2-3
2580 - Rebuild
2581
2582 * Thu Aug 24 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-2
2583 - Remove the target-list iteration for x86_64 since they all build again.
2584 - Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for
2585   FC5 and FC6.
2586
2587 * Wed Aug 23 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-1
2588 - Update to 0.8.2 (#200065).
2589 - Drop upstreamed syscall-macros patch2.
2590 - Put correct scriplet dependencies.
2591 - Force install mode for the init script to avoid umask problems.
2592 - Add %%postun condrestart for changes to the init script to be applied if any.
2593 - Update description with the latest "about" from the web page (more current).
2594 - Update URL to qemu.org one like the Source.
2595 - Add which build requirement.
2596 - Don't include texi files in %%doc since we ship them in html.
2597 - Switch to using gcc34 on devel, FC5 still has gcc32.
2598 - Add kernheaders patch to fix linux/compiler.h inclusion.
2599 - Add target-sparc patch to fix compiling on ppc (some int32 to float).
2600
2601 * Thu Jun  8 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-3
2602 - More header abuse in modify_ldt(), change BuildRoot:
2603
2604 * Wed Jun  7 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-2
2605 - Fix up kernel header abuse
2606
2607 * Tue May 30 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-1
2608 - Update to 0.8.1
2609
2610 * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-6
2611 - Update linker script for PPC
2612
2613 * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-5
2614 - Just drop $RPM_OPT_FLAGS. They're too much of a PITA
2615
2616 * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-4
2617 - Disable stack-protector options which gcc 3.2 doesn't like
2618
2619 * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-3
2620 - Use -mcpu= instead of -mtune= on x86_64 too
2621 - Disable SPARC targets on x86_64, because dyngen doesn't like fnegs
2622
2623 * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-2
2624 - Don't use -mtune=pentium4 on i386. GCC 3.2 doesn't like it
2625
2626 * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-1
2627 - Update to 0.8.0
2628 - Resort to using compat-gcc-32
2629 - Enable ALSA
2630
2631 * Mon May 16 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-2
2632 - Proper fix for GCC 4 putting 'blr' or 'ret' in the middle of the function,
2633   for i386, x86_64 and PPC.
2634
2635 * Sat Apr 30 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-1
2636 - Update to 0.7.0
2637 - Fix dyngen for PPC functions which end in unconditional branch
2638
2639 * Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
2640 - rebuilt
2641
2642 * Sun Feb 13 2005 David Woodhouse <dwmw2@infradead.org> 0.6.1-2
2643 - Package cleanup
2644
2645 * Sun Nov 21 2004 David Woodhouse <dwmw2@redhat.com> 0.6.1-1
2646 - Update to 0.6.1
2647
2648 * Tue Jul 20 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-2
2649 - Compile fix from qemu CVS, add x86_64 host support
2650
2651 * Mon May 12 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-1
2652 - Update to 0.6.0.
2653
2654 * Sat May 8 2004 David Woodhouse <dwmw2@redhat.com> 0.5.5-1
2655 - Update to 0.5.5.
2656
2657 * Thu May 2 2004 David Woodhouse <dwmw2@redhat.com> 0.5.4-1
2658 - Update to 0.5.4.
2659
2660 * Thu Apr 22 2004 David Woodhouse <dwmw2@redhat.com> 0.5.3-1
2661 - Update to 0.5.3. Add init script.
2662
2663 * Thu Jul 17 2003 Jeff Johnson <jbj@redhat.com> 0.4.3-1
2664 - Create.