Initial commit with version 1.2.0-24
[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 fi
1487
1488 getent group kvm >/dev/null || groupadd -g 36 -r kvm
1489 getent group qemu >/dev/null || groupadd -g 107 -r qemu
1490 getent passwd qemu >/dev/null || \
1491   useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
1492     -c "qemu user" qemu
1493
1494 %preun common
1495 if [ $1 -eq 0 ] ; then
1496     # Package removal, not upgrade
1497     /bin/systemctl --no-reload disable ksmtuned.service > /dev/null 2>&1 || :
1498     /bin/systemctl --no-reload disable ksm.service > /dev/null 2>&1 || :
1499     /bin/systemctl stop ksmtuned.service > /dev/null 2>&1 || :
1500     /bin/systemctl stop ksm.service > /dev/null 2>&1 || :
1501 fi
1502
1503 %postun common
1504 /bin/systemctl daemon-reload >/dev/null 2>&1 || :
1505 if [ $1 -ge 1 ] ; then
1506     # Package upgrade, not uninstall
1507     /bin/systemctl try-restart ksmtuned.service >/dev/null 2>&1 || :
1508     /bin/systemctl try-restart ksm.service >/dev/null 2>&1 || :
1509 fi
1510
1511
1512 %global kvm_files \
1513 %{_sysconfdir}/sysconfig/modules/kvm.modules \
1514 %{_udevdir}/80-kvm.rules
1515
1516 %if 0%{?need_qemu_kvm}
1517 %global qemu_kvm_files \
1518 %{_bindir}/qemu-kvm \
1519 %{_datadir}/systemtap/tapset/qemu-kvm.stp
1520 %endif
1521
1522 %files
1523 %defattr(-,root,root)
1524
1525 %ifarch %{kvm_archs}
1526 %files kvm
1527 %defattr(-,root,root)
1528 %endif
1529
1530 %files common
1531 %defattr(-,root,root)
1532 %dir %{qemudocdir}
1533 %doc %{qemudocdir}/Changelog
1534 %doc %{qemudocdir}/README
1535 %doc %{qemudocdir}/TODO
1536 %doc %{qemudocdir}/qemu-doc.html
1537 %doc %{qemudocdir}/qemu-tech.html
1538 %doc %{qemudocdir}/qmp-commands.txt
1539 %doc %{qemudocdir}/COPYING
1540 %doc %{qemudocdir}/COPYING.LIB
1541 %doc %{qemudocdir}/LICENSE
1542 %dir %{_datadir}/%{name}/
1543 %{_datadir}/%{name}/keymaps/
1544 %{_mandir}/man1/qemu.1*
1545 %{_mandir}/man1/virtfs-proxy-helper.1*
1546 %{_mandir}/man8/qemu-nbd.8*
1547 %{_bindir}/qemu-nbd
1548 %{_bindir}/virtfs-proxy-helper
1549 %{_libexecdir}/qemu-bridge-helper
1550 %config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
1551 %config(noreplace) %{_sysconfdir}/sysconfig/ksm
1552 %{_sbindir}/ksmtuned
1553 %config(noreplace) %{_sysconfdir}/ksmtuned.conf
1554 %dir %{_sysconfdir}/qemu
1555 %config(noreplace) %{_sysconfdir}/qemu/bridge.conf
1556
1557 %files guest-agent
1558 %defattr(-,root,root,-)
1559 %doc COPYING README
1560 %{_bindir}/qemu-ga
1561 %{_udevdir}/99-qemu-guest-agent.rules
1562
1563 %if 0%{?user:1}
1564 %files %{user}
1565 %defattr(-,root,root)
1566 %{_exec_prefix}/lib/binfmt.d/qemu-*.conf
1567 %{_bindir}/qemu-i386
1568 %{_bindir}/qemu-x86_64
1569 %{_bindir}/qemu-alpha
1570 %{_bindir}/qemu-arm
1571 %{_bindir}/qemu-armeb
1572 %{_bindir}/qemu-cris
1573 %{_bindir}/qemu-m68k
1574 %{_bindir}/qemu-microblaze
1575 %{_bindir}/qemu-microblazeel
1576 %{_bindir}/qemu-mips
1577 %{_bindir}/qemu-mipsel
1578 %{_bindir}/qemu-or32
1579 %{_bindir}/qemu-ppc
1580 %{_bindir}/qemu-ppc64
1581 %{_bindir}/qemu-ppc64abi32
1582 %{_bindir}/qemu-s390x
1583 %{_bindir}/qemu-sh4
1584 %{_bindir}/qemu-sh4eb
1585 %{_bindir}/qemu-sparc
1586 %{_bindir}/qemu-sparc32plus
1587 %{_bindir}/qemu-sparc64
1588 %{_bindir}/qemu-unicore32
1589 %{_datadir}/systemtap/tapset/qemu-i386.stp
1590 %{_datadir}/systemtap/tapset/qemu-x86_64.stp
1591 %{_datadir}/systemtap/tapset/qemu-alpha.stp
1592 %{_datadir}/systemtap/tapset/qemu-arm.stp
1593 %{_datadir}/systemtap/tapset/qemu-armeb.stp
1594 %{_datadir}/systemtap/tapset/qemu-cris.stp
1595 %{_datadir}/systemtap/tapset/qemu-m68k.stp
1596 %{_datadir}/systemtap/tapset/qemu-microblaze.stp
1597 %{_datadir}/systemtap/tapset/qemu-microblazeel.stp
1598 %{_datadir}/systemtap/tapset/qemu-mips.stp
1599 %{_datadir}/systemtap/tapset/qemu-mipsel.stp
1600 %{_datadir}/systemtap/tapset/qemu-or32.stp
1601 %{_datadir}/systemtap/tapset/qemu-ppc.stp
1602 %{_datadir}/systemtap/tapset/qemu-ppc64.stp
1603 %{_datadir}/systemtap/tapset/qemu-ppc64abi32.stp
1604 %{_datadir}/systemtap/tapset/qemu-s390x.stp
1605 %{_datadir}/systemtap/tapset/qemu-sh4.stp
1606 %{_datadir}/systemtap/tapset/qemu-sh4eb.stp
1607 %{_datadir}/systemtap/tapset/qemu-sparc.stp
1608 %{_datadir}/systemtap/tapset/qemu-sparc32plus.stp
1609 %{_datadir}/systemtap/tapset/qemu-sparc64.stp
1610 %{_datadir}/systemtap/tapset/qemu-unicore32.stp
1611 %endif
1612
1613 %if 0%{?system_x86:1}
1614 %files %{system_x86}
1615 %defattr(-,root,root)
1616 %if %{without kvmonly}
1617 %{_bindir}/qemu-system-i386
1618 %{_bindir}/qemu-system-x86_64
1619 %{_datadir}/systemtap/tapset/qemu-system-i386.stp
1620 %{_datadir}/systemtap/tapset/qemu-system-x86_64.stp
1621 %endif
1622 %{_datadir}/%{name}/bios.bin
1623 %{_datadir}/%{name}/sgabios.bin
1624 %{_datadir}/%{name}/linuxboot.bin
1625 %{_datadir}/%{name}/multiboot.bin
1626 %{_datadir}/%{name}/kvmvapic.bin
1627 %{_datadir}/%{name}/vgabios.bin
1628 %{_datadir}/%{name}/vgabios-cirrus.bin
1629 %{_datadir}/%{name}/vgabios-qxl.bin
1630 %{_datadir}/%{name}/vgabios-stdvga.bin
1631 %{_datadir}/%{name}/vgabios-vmware.bin
1632 %{_datadir}/%{name}/pxe-e1000.rom
1633 %{_datadir}/%{name}/pxe-virtio.rom
1634 %{_datadir}/%{name}/pxe-pcnet.rom
1635 %{_datadir}/%{name}/pxe-rtl8139.rom
1636 %{_datadir}/%{name}/pxe-ne2k_pci.rom
1637 %{_datadir}/%{name}/cpus-x86_64.conf
1638 %{_datadir}/%{name}/qemu-icon.bmp
1639 %config(noreplace) %{_sysconfdir}/qemu/target-x86_64.conf
1640 %ifarch %{ix86} x86_64
1641 %{?kvm_files:}
1642 %{?qemu_kvm_files:}
1643 %endif
1644 %endif
1645
1646 %ifarch %{kvm_archs}
1647 %files kvm-tools
1648 %defattr(-,root,root,-)
1649 %{_bindir}/kvm_stat
1650 %endif
1651
1652 %if 0%{?system_alpha:1}
1653 %files %{system_alpha}
1654 %defattr(-,root,root)
1655 %{_bindir}/qemu-system-alpha
1656 %{_datadir}/systemtap/tapset/qemu-system-alpha.stp
1657 %{_datadir}/%{name}/palcode-clipper
1658 %endif
1659
1660 %if 0%{?system_arm:1}
1661 %files %{system_arm}
1662 %defattr(-,root,root)
1663 %{_bindir}/qemu-system-arm
1664 %{_datadir}/systemtap/tapset/qemu-system-arm.stp
1665 %endif
1666
1667 %if 0%{?system_mips:1}
1668 %files %{system_mips}
1669 %defattr(-,root,root)
1670 %{_bindir}/qemu-system-mips
1671 %{_bindir}/qemu-system-mipsel
1672 %{_bindir}/qemu-system-mips64
1673 %{_bindir}/qemu-system-mips64el
1674 %{_datadir}/systemtap/tapset/qemu-system-mips.stp
1675 %{_datadir}/systemtap/tapset/qemu-system-mipsel.stp
1676 %{_datadir}/systemtap/tapset/qemu-system-mips64el.stp
1677 %{_datadir}/systemtap/tapset/qemu-system-mips64.stp
1678 %endif
1679
1680 %if 0%{?system_cris:1}
1681 %files %{system_cris}
1682 %defattr(-,root,root)
1683 %{_bindir}/qemu-system-cris
1684 %{_datadir}/systemtap/tapset/qemu-system-cris.stp
1685 %endif
1686
1687 %if 0%{?system_lm32:1}
1688 %files %{system_lm32}
1689 %defattr(-,root,root)
1690 %{_bindir}/qemu-system-lm32
1691 %{_datadir}/systemtap/tapset/qemu-system-lm32.stp
1692 %endif
1693
1694 %if 0%{?system_m68k:1}
1695 %files %{system_m68k}
1696 %defattr(-,root,root)
1697 %{_bindir}/qemu-system-m68k
1698 %{_datadir}/systemtap/tapset/qemu-system-m68k.stp
1699 %endif
1700
1701 %if 0%{?system_microblaze:1}
1702 %files %{system_microblaze}
1703 %defattr(-,root,root)
1704 %{_bindir}/qemu-system-microblaze
1705 %{_bindir}/qemu-system-microblazeel
1706 %{_datadir}/systemtap/tapset/qemu-system-microblaze.stp
1707 %{_datadir}/systemtap/tapset/qemu-system-microblazeel.stp
1708 %{_datadir}/%{name}/petalogix*.dtb
1709 %endif
1710
1711 %if 0%{?system_or32:1}
1712 %files %{system_or32}
1713 %defattr(-,root,root)
1714 %{_bindir}/qemu-system-or32
1715 %{_datadir}/systemtap/tapset/qemu-system-or32.stp
1716 %endif
1717
1718 %if 0%{?system_s390x:1}
1719 %files %{system_s390x}
1720 %defattr(-,root,root)
1721 %{_bindir}/qemu-system-s390x
1722 %{_datadir}/systemtap/tapset/qemu-system-s390x.stp
1723 %{_datadir}/%{name}/s390-zipl.rom
1724 %ifarch s390x
1725 %{?kvm_files:}
1726 %{?qemu_kvm_files:}
1727 %endif
1728 %endif
1729
1730 %if 0%{?system_sh4:1}
1731 %files %{system_sh4}
1732 %defattr(-,root,root)
1733 %{_bindir}/qemu-system-sh4
1734 %{_bindir}/qemu-system-sh4eb
1735 %{_datadir}/systemtap/tapset/qemu-system-sh4.stp
1736 %{_datadir}/systemtap/tapset/qemu-system-sh4eb.stp
1737 %endif
1738
1739 %if 0%{?system_sparc:1}
1740 %files %{system_sparc}
1741 %defattr(-,root,root)
1742 %{_bindir}/qemu-system-sparc
1743 %{_bindir}/qemu-system-sparc64
1744 %{_datadir}/systemtap/tapset/qemu-system-sparc.stp
1745 %{_datadir}/systemtap/tapset/qemu-system-sparc64.stp
1746 %endif
1747
1748 %if 0%{?system_ppc:1}
1749 %files %{system_ppc}
1750 %defattr(-,root,root)
1751 %if %{without kvmonly}
1752 %{_bindir}/qemu-system-ppc
1753 %{_bindir}/qemu-system-ppc64
1754 %{_bindir}/qemu-system-ppcemb
1755 %{_datadir}/systemtap/tapset/qemu-system-ppc.stp
1756 %{_datadir}/systemtap/tapset/qemu-system-ppc64.stp
1757 %{_datadir}/systemtap/tapset/qemu-system-ppcemb.stp
1758 %endif
1759 %{_datadir}/%{name}/bamboo.dtb
1760 %{_datadir}/%{name}/ppc_rom.bin
1761 %{_datadir}/%{name}/spapr-rtas.bin
1762 %ifarch ppc64
1763 %{?kvm_files:}
1764 %{?qemu_kvm_files:}
1765 %endif
1766 %endif
1767
1768 %if 0%{?system_unicore32:1}
1769 %files %{system_unicore32}
1770 %defattr(-,root,root)
1771 %{_bindir}/qemu-system-unicore32
1772 %{_datadir}/systemtap/tapset/qemu-system-unicore32.stp
1773 %endif
1774
1775 %if 0%{?system_xtensa:1}
1776 %files %{system_xtensa}
1777 %defattr(-,root,root)
1778 %{_bindir}/qemu-system-xtensa
1779 %{_bindir}/qemu-system-xtensaeb
1780 %{_datadir}/systemtap/tapset/qemu-system-xtensa.stp
1781 %{_datadir}/systemtap/tapset/qemu-system-xtensaeb.stp
1782 %endif
1783
1784 %files img
1785 %defattr(-,root,root)
1786 %{_bindir}/qemu-img
1787 %{_bindir}/qemu-io
1788 %{_bindir}/vscclient
1789 %{_mandir}/man1/qemu-img.1*
1790
1791 %changelog
1792 * Thu Aug 22 2013 Mirantis Product <product@mirantis.com> - 2:1.2.0-24
1793 - remove systemd stuff not needed for Centos
1794 - lower usbredir req to >= 0.5.1
1795 - unconditionally enable rbd
1796
1797 * Tue Nov 17 2012 Alon Levy <alevy@redhat.com> - 2:1.2.0-23
1798 - Rewrite fix for bz #725965 based on fix for bz #867366
1799 - Resolve bz #867366
1800
1801 * Fri Nov 16 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-22
1802 - Fix previous commit
1803
1804 * Fri Nov 16 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-21
1805 - Backport commit 38f419f (configure: Fix CONFIG_QEMU_HELPERDIR generation,
1806   2012-10-17)
1807
1808 * Thu Nov 15 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-20
1809 - Install qemu-bridge-helper as suid root
1810 - Distribute a sample /etc/qemu/bridge.conf file
1811
1812 * Thu Nov  1 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-19
1813 - Sync spice patches with upstream, minor bugfixes and set the qxl pci
1814   device revision to 4 by default, so that guests know they can use
1815   the new features
1816
1817 * Tue Oct 30 2012 Cole Robinson <crobinso@redhat.com> - 2:1.2.0-18
1818 - Fix loading arm initrd if kernel is very large (bz #862766)
1819 - Don't use reserved word 'function' in systemtap files (bz #870972)
1820 - Drop assertion that was triggering when pausing guests w/ qxl (bz
1821   #870972)
1822
1823 * Sun Oct 28 2012 Cole Robinson <crobinso@redhat.com> - 2:1.2.0-17
1824 - Pull patches queued for qemu 1.2.1
1825
1826 * Fri Oct 19 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-16
1827 - add s390x KVM support
1828 - distribute pre-built firmware or device trees for Alpha, Microblaze, S390
1829 - add missing system targets
1830 - add missing linux-user targets
1831 - fix previous commit
1832
1833 * Thu Oct 18 2012 Dan Horák <dan[at]danny.cz> - 2:1.2.0-15
1834 - fix build on non-kvm arches like s390(x)
1835
1836 * Wed Oct 17 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-14
1837 - Change SLOF Requires for the new version number
1838
1839 * Thu Oct 11 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-13
1840 - Add ppc support to kvm.modules (original patch by David Gibson)
1841 - Replace x86only build with kvmonly build: add separate defines and
1842   conditionals for all packages, so that they can be chosen and
1843   renamed in kvmonly builds and so that qemu has the appropriate requires
1844 - Automatically pick libfdt dependancy
1845 - Add knob to disable spice+seccomp
1846
1847 * Fri Sep 28 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-12
1848 - Call udevadm on post, fixing bug 860658
1849
1850 * Fri Sep 28 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-11
1851 - Rebuild against latest spice-server and spice-protocol
1852 - Fix non-seamless migration failing with vms with usb-redir devices,
1853   to allow boxes to load such vms from disk
1854
1855 * Tue Sep 25 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-10
1856 - Sync Spice patchsets with upstream (rhbz#860238)
1857 - Fix building with usbredir >= 0.5.2
1858
1859 * Thu Sep 20 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-9
1860 - Sync USB and Spice patchsets with upstream
1861
1862 * Sun Sep 16 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.2.0-8
1863 - Use 'global' instead of 'define', and underscore in definition name,
1864   n-v-r, and 'dist' tag of SLOF, all to fix RHBZ#855252.
1865
1866 * Fri Sep 14 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.2.0-4
1867 - add versioned dependency from qemu-system-ppc to SLOF (BZ#855252)
1868
1869 * Wed Sep 12 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.2.0-3
1870 - Fix RHBZ#853408 which causes libguestfs failure.
1871
1872 * Sat Sep  8 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-2
1873 - Fix crash on (seamless) migration
1874 - Sync usbredir live migration patches with upstream
1875
1876 * Fri Sep  7 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.2.0-1
1877 - New upstream release 1.2.0 final
1878 - Add support for Spice seamless migration
1879 - Add support for Spice dynamic monitors
1880 - Add support for usb-redir live migration
1881
1882 * Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 1.2.0-0.5.rc1
1883 - Flip Requires: ceph >= foo to Conflicts: ceph < foo, so we pull in only the
1884   libraries which we need and not the rest of ceph which we don't.
1885
1886 * Tue Aug 28 2012 Cole Robinson <crobinso@redhat.com> 1.2.0-0.4.rc1
1887 - Update to 1.2.0-rc1
1888
1889 * Mon Aug 20 2012 Richard W.M. Jones <rjones@redhat.com> - 1.2-0.3.20120806git3e430569
1890 - Backport Bonzini's vhost-net fix (RHBZ#848400).
1891
1892 * Tue Aug 14 2012 Cole Robinson <crobinso@redhat.com> - 1.2-0.2.20120806git3e430569
1893 - Bump release number, previous build forgot but the dist bump helped us out
1894
1895 * Tue Aug 14 2012 Cole Robinson <crobinso@redhat.com> - 1.2-0.1.20120806git3e430569
1896 - Revive qemu-system-{ppc*, sparc*} (bz 844502)
1897 - Enable KVM support for all targets (bz 844503)
1898
1899 * Mon Aug 06 2012 Cole Robinson <crobinso@redhat.com> - 1.2-0.1.20120806git3e430569.fc18
1900 - Update to git snapshot
1901
1902 * Sun Jul 29 2012 Cole Robinson <crobinso@redhat.com> - 1.1.1-1
1903 - Upstream stable release 1.1.1
1904 - Fix systemtap tapsets (bz 831763)
1905 - Fix VNC audio tunnelling (bz 840653)
1906 - Don't renable ksm on update (bz 815156)
1907 - Bump usbredir dep (bz 812097)
1908 - Fix RPM install error on non-virt machines (bz 660629)
1909 - Obsolete openbios to fix upgrade dependency issues (bz 694802)
1910
1911 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.1.0-9
1912 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1913
1914 * Tue Jul 10 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.1.0-8
1915 - Re-diff previous patch so that it applies and actually apply it
1916
1917 * Tue Jul 10 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.1.0-7
1918 - Add patch to fix default machine options.  This fixes libvirt
1919   detection of qemu.
1920 - Back out patch 1 which conflicts.
1921
1922 * Fri Jul  6 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.1.0-5
1923 - Fix qemu crashing (on an assert) whenever USB-2.0 isoc transfers are used
1924
1925 * Thu Jul  5 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.1.0-4
1926 - Disable tests since they hang intermittently.
1927 - Add kvmvapic.bin (replaces vapic.bin).
1928 - Add cpus-x86_64.conf.  qemu now creates /etc/qemu/target-x86_64.conf
1929   as an empty file.
1930 - Add qemu-icon.bmp.
1931 - Add qemu-bridge-helper.
1932 - Build and include virtfs-proxy-helper + man page (thanks Hans de Goede).
1933
1934 * Wed Jul  4 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.1.0-1
1935 - New upstream release 1.1.0
1936 - Drop about a 100 spice + USB patches, which are all upstream
1937
1938 * Mon Apr 23 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.0-17
1939 - Fix install failure due to set -e (rhbz #815272)
1940
1941 * Mon Apr 23 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.0-16
1942 - Fix kvm.modules to exit successfully on non-KVM capable systems (rhbz #814932)
1943
1944 * Thu Apr 19 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.0-15
1945 - Add a couple of backported QXL/Spice bugfixes
1946 - Add spice volume control patches
1947
1948 * Fri Apr 6 2012 Paolo Bonzini <pbonzini@redhat.com> - 2:1.0-12
1949 - Add back PPC and SPARC user emulators
1950 - Update binfmt rules from upstream
1951
1952 * Mon Apr  2 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.0-11
1953 - Some more USB bugfixes from upstream
1954
1955 * Thu Mar 29 2012 Eduardo Habkost <ehabkost@redhat.com> - 2:1.0-12
1956 - Fix ExclusiveArch mistake that disabled all non-x86_64 builds on Fedora
1957
1958 * Wed Mar 28 2012 Eduardo Habkost <ehabkost@redhat.com> - 2:1.0-11
1959 - Use --with variables for build-time settings
1960
1961 * Wed Mar 28 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-10
1962 - Switch to use iPXE for netboot ROMs
1963
1964 * Thu Mar 22 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-9
1965 - Remove O_NOATIME for 9p filesystems
1966
1967 * Mon Mar 19 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-8
1968 - Move udev rules to /lib/udev/rules.d (rhbz #748207)
1969
1970 * Fri Mar  9 2012 Hans de Goede <hdegoede@redhat.com> - 2:1.0-7
1971 - Add a whole bunch of USB bugfixes from upstream
1972
1973 * Mon Feb 13 2012 Daniel P. Berrange <berrange@redhat.com> - 2:1.0-6
1974 - Add many more missing BRs for misc QEMU features
1975 - Enable running of test suite during build
1976
1977 * Tue Feb 07 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-5
1978 - Add support for virtio-scsi
1979
1980 * Sun Feb  5 2012 Richard W.M. Jones <rjones@redhat.com> - 2:1.0-4
1981 - Require updated ceph for latest librbd with rbd_flush symbol.
1982
1983 * Tue Jan 24 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-3
1984 - Add support for vPMU
1985 - e1000: bounds packet size against buffer size CVE-2012-0029
1986
1987 * Fri Jan 13 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-2
1988 - Add patches for USB redirect bits
1989 - Remove palcode-clipper, we don't build it
1990
1991 * Wed Jan 11 2012 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-1
1992 - Add patches from 1.0.1 queue
1993
1994 * Fri Dec 16 2011 Justin M. Forbes <jforbes@redhat.com> - 2:1.0-1
1995 - Update to qemu 1.0
1996
1997 * Tue Nov 15 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-3
1998 - Enable spice for i686 users as well
1999
2000 * Thu Nov 03 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-2
2001 - Fix POSTIN scriplet failure (#748281)
2002
2003 * Fri Oct 21 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.1-1
2004 - Require seabios-bin >= 0.6.0-2 (#741992)
2005 - Replace init scripts with systemd units (#741920)
2006 - Update to 0.15.1 stable upstream
2007   
2008 * Fri Oct 21 2011 Paul Moore <pmoore@redhat.com>
2009 - Enable full relro and PIE (rhbz #738812)
2010
2011 * Wed Oct 12 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-6
2012 - Add BR on ceph-devel to enable RBD block device
2013
2014 * Wed Oct  5 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-5
2015 - Create a qemu-guest-agent sub-RPM for guest installation
2016
2017 * Tue Sep 13 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-4
2018 - Enable DTrace tracing backend for SystemTAP (rhbz #737763)
2019 - Enable build with curl (rhbz #737006)
2020
2021 * Thu Aug 18 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.15.0-3
2022 - Add missing BuildRequires: usbredir-devel, so that the usbredir code
2023   actually gets build
2024
2025 * Thu Aug 18 2011 Richard W.M. Jones <rjones@redhat.com> - 2:0.15.0-2
2026 - Add upstream qemu patch 'Allow to leave type on default in -machine'
2027   (2645c6dcaf6ea2a51a3b6dfa407dd203004e4d11).
2028
2029 * Sun Aug 14 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-1
2030 - Update to 0.15.0 stable release.
2031
2032 * Thu Aug 04 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.3.201108040af4922
2033 - Update to 0.15.0-rc1 as we prepare for 0.15.0 release
2034
2035 * Thu Aug  4 2011 Daniel P. Berrange <berrange@redhat.com> - 2:0.15.0-0.3.2011072859fadcc
2036 - Fix default accelerator for non-KVM builds (rhbz #724814)
2037
2038 * Thu Jul 28 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.1.2011072859fadcc
2039 - Update to 0.15.0-rc0 as we prepare for 0.15.0 release
2040
2041 * Tue Jul 19 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.15.0-0.2.20110718525e3df
2042 - Add support usb redirection over the network, see:
2043   http://fedoraproject.org/wiki/Features/UsbNetworkRedirection
2044 - Restore chardev flow control patches
2045
2046 * Mon Jul 18 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.15.0-0.1.20110718525e3df
2047 - Update to git snapshot as we prepare for 0.15.0 release
2048
2049 * Wed Jun 22 2011 Richard W.M. Jones <rjones@redhat.com> - 2:0.14.0-9
2050 - Add BR libattr-devel.  This caused the -fstype option to be disabled.
2051   https://www.redhat.com/archives/libvir-list/2011-June/thread.html#01017
2052
2053 * Mon May  2 2011 Hans de Goede <hdegoede@redhat.com> - 2:0.14.0-8
2054 - Fix a bug in the spice flow control patches which breaks the tcp chardev
2055
2056 * Tue Mar 29 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-7
2057 - Disable qemu-ppc and qemu-sparc packages (#679179)
2058
2059 * Mon Mar 28 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-6
2060 - Spice fixes for flow control.
2061
2062 * Tue Mar 22 2011 Dan Horák <dan[at]danny.cz> - 2:0.14.0-5
2063 - be more careful when removing the -g flag on s390
2064
2065 * Fri Mar 18 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-4
2066 - Fix thinko on adding the most recent patches.
2067
2068 * Wed Mar 16 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-3
2069 - Fix migration issue with vhost
2070 - Fix qxl locking issues for spice
2071
2072 * Wed Mar 02 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-2
2073 - Re-enable sparc and cris builds
2074
2075 * Thu Feb 24 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-1
2076 - Update to 0.14.0 release
2077
2078 * Fri Feb 11 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-0.1.20110210git7aa8c46
2079 - Update git snapshot
2080 - Temporarily disable qemu-cris and qemu-sparc due to build errors (to be resolved shorly)
2081
2082 * Tue Feb 08 2011 Justin M. Forbes <jforbes@redhat.com> - 2:0.14.0-0.1.20110208git3593e6b
2083 - Update to 0.14.0 rc git snapshot
2084 - Add virtio-net to modules
2085
2086 * Wed Nov  3 2010 Daniel P. Berrange <berrange@redhat.com> - 2:0.13.0-2
2087 - Revert previous change
2088 - Make qemu-common own the /etc/qemu directory
2089 - Add /etc/qemu/target-x86_64.conf to qemu-system-x86 regardless
2090   of host architecture.
2091
2092 * Wed Nov 03 2010 Dan Horák <dan[at]danny.cz> - 2:0.13.0-2
2093 - Remove kvm config file on non-x86 arches (part of #639471)
2094 - Own the /etc/qemu directory
2095
2096 * Mon Oct 18 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-1
2097 - Update to 0.13.0 upstream release
2098 - Fixes for vhost
2099 - Fix mouse in certain guests (#636887)
2100 - Fix issues with WinXP guest install (#579348)
2101 - Resolve build issues with S390 (#639471)
2102 - Fix Windows XP on Raw Devices (#631591)
2103
2104 * Tue Oct 05 2010 jkeating - 2:0.13.0-0.7.rc1.1
2105 - Rebuilt for gcc bug 634757
2106
2107 * Tue Sep 21 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.7.rc1
2108 - Flip qxl pci id from unstable to stable (#634535)
2109 - KSM Fixes from upstream (#558281)
2110
2111 * Tue Sep 14 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.6.rc1
2112 - Move away from git snapshots as 0.13 is close to release
2113 - Updates for spice 0.6
2114
2115 * Tue Aug 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.5.20100809git25fdf4a
2116 - Fix typo in e1000 gpxe rom requires.
2117 - Add links to newer vgabios
2118
2119 * Tue Aug 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.4.20100809git25fdf4a
2120 - Disable spice on 32bit, it is not supported and buildreqs don't exist.
2121
2122 * Mon Aug 9 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.3.20100809git25fdf4a
2123 - Updates from upstream towards 0.13 stable
2124 - Fix requires on gpxe
2125 - enable spice now that buildreqs are in the repository.
2126 - ksmtrace has moved to a separate upstream package
2127
2128 * Tue Jul 27 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.2.20100727gitb81fe95
2129 - add texinfo buildreq for manpages.
2130
2131 * Tue Jul 27 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.13.0-0.1.20100727gitb81fe95
2132 - Update to 0.13.0 upstream snapshot
2133 - ksm init fixes from upstream
2134
2135 * Tue Jul 20 2010 Dan Horák <dan[at]danny.cz> - 2:0.12.3-8
2136 - Add avoid-llseek patch from upstream needed for building on s390(x)
2137 - Don't use parallel make on s390(x)
2138
2139 * Tue Jun 22 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.3-7
2140 - Add vvfat hardening patch from upstream (#605202)
2141
2142 * Fri Apr 23 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-6
2143 - Change requires to the noarch seabios-bin
2144 - Add ownership of docdir to qemu-common (#572110)
2145 - Fix "Cannot boot from non-existent NIC" error when using virt-install (#577851)
2146
2147 * Thu Apr 15 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-5
2148 - Update virtio console patches from upstream
2149
2150 * Mon Mar 11 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-4
2151 - Detect cdrom via ioctl (#473154)
2152 - re add increased buffer for USB control requests (#546483)
2153
2154 * Wed Mar 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-3
2155 - Migration clear the fd in error cases (#518032)
2156
2157 * Tue Mar 09 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-2
2158 - Allow builds --with x86only
2159 - Add libaio-devel buildreq for aio support
2160
2161 * Fri Feb 26 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.3-1
2162 - Update to 0.12.3 upstream
2163 - vhost-net migration/restart fixes
2164 - Add F-13 machine type
2165 - virtio-serial fixes
2166
2167 * Tue Feb 09 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-6
2168 - Add vhost net support.
2169
2170 * Thu Feb 04 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-5
2171 - Avoid creating too large iovecs in multiwrite merge (#559717)
2172 - Don't try to set max_kernel_pages during ksm init on newer kernels (#558281)
2173 - Add logfile options for ksmtuned debug.
2174
2175 * Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-4
2176 - Remove build dependency on iasl now that we have seabios
2177
2178 * Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-3
2179 - Remove source target for 0.12.1.2
2180
2181 * Wed Jan 27 2010 Amit Shah <amit.shah@redhat.com> - 2:0.12.2-2
2182 - Add virtio-console patches from upstream for the F13 VirtioSerial feature
2183
2184 * Mon Jan 25 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.2-1
2185 - Update to 0.12.2 upstream
2186
2187 * Fri Jan 10 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-3
2188 - Point to seabios instead of bochs, and add a requires for seabios
2189
2190 * Mon Jan  4 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-2
2191 - Remove qcow2 virtio backing file patch
2192
2193 * Mon Jan  4 2010 Justin M. Forbes <jforbes@redhat.com> - 2:0.12.1.2-1
2194 - Update to 0.12.1.2 upstream
2195 - Remove patches included in upstream
2196
2197 * Fri Nov 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-12
2198 - Fix a use-after-free crasher in the slirp code (#539583)
2199 - Fix overflow in the parallels image format support (#533573)
2200
2201 * Wed Nov  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-11
2202 - Temporarily disable preadv/pwritev support to fix data corruption (#526549)
2203
2204 * Tue Nov  3 2009 Justin M. Forbes <jforbes@redhat.com> - 2:0.11.0-10
2205 - Default ksm and ksmtuned services on.
2206
2207 * Thu Oct 29 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-9
2208 - Fix dropped packets with non-virtio NICs (#531419)
2209
2210 * Wed Oct 21 2009 Glauber Costa <gcosta@redhat.com> - 2:0.11.0-8
2211 - Properly save kvm time registers (#524229)
2212
2213 * Mon Oct 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-7
2214 - Fix potential segfault from too small MSR_COUNT (#528901)
2215
2216 * Fri Oct  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-6
2217 - Fix fs errors with virtio and qcow2 backing file (#524734)
2218 - Fix ksm initscript errors on kernel missing ksm (#527653)
2219 - Add missing Requires(post): getent, useradd, groupadd (#527087)
2220
2221 * Tue Oct  6 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-5
2222 - Add 'retune' verb to ksmtuned init script
2223
2224 * Mon Oct  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-4
2225 - Use rtl8029 PXE rom for ne2k_pci, not ne (#526777)
2226 - Also, replace the gpxe-roms-qemu pkg requires with file-based requires
2227
2228 * Thu Oct  1 2009 Justin M. Forbes <jmforbes@redhat.com> - 2:0.11.0-3
2229 - Improve error reporting on file access (#524695)
2230
2231 * Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-2
2232 - Fix pci hotplug to not exit if supplied an invalid NIC model (#524022)
2233
2234 * Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-1
2235 - Update to 0.11.0 release
2236 - Drop a couple of upstreamed patches
2237
2238 * Wed Sep 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-5
2239 - Fix issue causing NIC hotplug confusion when no model is specified (#524022)
2240
2241 * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-4
2242 - Fix for KSM patch from Justin Forbes
2243
2244 * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-3
2245 - Add ksmtuned, also from Dan Kenigsberg
2246 - Use %_initddir macro
2247
2248 * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-2
2249 - Add ksm control script from Dan Kenigsberg
2250
2251 * Mon Sep  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-1
2252 - Update to qemu-kvm-0.11.0-rc2
2253 - Drop upstreamed patches
2254 - extboot install now fixed upstream
2255 - Re-place TCG init fix (#516543) with the one gone upstream
2256
2257 * Mon Sep  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.10.rc1
2258 - Fix MSI-X error handling on older kernels (#519787)
2259
2260 * Fri Sep  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.9.rc1
2261 - Make pulseaudio the default audio backend (#519540, #495964, #496627)
2262
2263 * Thu Aug 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2:0.10.91-0.8.rc1
2264 - Fix segfault when qemu-kvm is invoked inside a VM (#516543)
2265
2266 * Tue Aug 18 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.7.rc1
2267 - Fix permissions on udev rules (#517571)
2268
2269 * Mon Aug 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 2:0.10.91-0.6.rc1
2270 - Allow blacklisting of kvm modules (#517866)
2271
2272 * Fri Aug  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.5.rc1
2273 - Fix virtio_net with -net user (#516022)
2274
2275 * Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.4.rc1
2276 - Update to qemu-kvm-0.11-rc1; no changes from rc1-rc0
2277
2278 * Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.3.rc1.rc0
2279 - Fix extboot checksum (bug #514899)
2280
2281 * Fri Jul 31 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.2.rc1.rc0
2282 - Add KSM support
2283 - Require bochs-bios >= 2.3.8-0.8 for latest kvm bios updates
2284
2285 * Thu Jul 30 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.1.rc1.rc0
2286 - Update to qemu-kvm-0.11.0-rc1-rc0
2287 - This is a pre-release of the official -rc1
2288 - A vista installer regression is blocking the official -rc1 release
2289 - Drop qemu-prefer-sysfs-for-usb-host-devices.patch
2290 - Drop qemu-fix-build-for-esd-audio.patch
2291 - Drop qemu-slirp-Fix-guestfwd-for-incoming-data.patch
2292 - Add patch to ensure extboot.bin is installed
2293
2294 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.10.50-14.kvm88
2295 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2296
2297 * Thu Jul 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-13.kvm88
2298 - Fix bug 513249, -net channel option is broken
2299
2300 * Thu Jul 16 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.10.50-12.kvm88
2301 - Add 'qemu' user and group accounts
2302 - Force disable xen until it can be made to build
2303
2304 * Thu Jul 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-11.kvm88
2305 - Update to kvm-88, see http://www.linux-kvm.org/page/ChangeLog
2306 - Package mutiboot.bin
2307 - Update for how extboot is built
2308 - Fix sf.net source URL
2309 - Drop qemu-fix-ppc-softmmu-kvm-disabled-build.patch
2310 - Drop qemu-fix-pcspk-build-with-kvm-disabled.patch
2311 - Cherry-pick fix for esound support build failure
2312
2313 * Wed Jul 15 2009 Daniel Berrange <berrange@lettuce.camlab.fab.redhat.com> - 2:0.10.50-10.kvm87
2314 - Add udev rules to make /dev/kvm world accessible & group=kvm (rhbz #497341)
2315 - Create a kvm group if it doesn't exist (rhbz #346151)
2316
2317 * Tue Jul 07 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-9.kvm87
2318 - use pxe roms from gpxe, instead of etherboot package.
2319
2320 * Fri Jul  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-8.kvm87
2321 - Prefer sysfs over usbfs for usb passthrough (#508326)
2322
2323 * Sat Jun 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-7.kvm87
2324 - Update to kvm-87
2325 - Drop upstreamed patches
2326 - Cherry-pick new ppc build fix from upstream
2327 - Work around broken linux-user build on ppc
2328 - Fix hw/pcspk.c build with --disable-kvm
2329 - Re-enable preadv()/pwritev() since #497429 is long since fixed
2330 - Kill petalogix-s3adsp1800.dtb, since we don't ship the microblaze target
2331
2332 * Fri Jun  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-6.kvm86
2333 - Fix 'kernel requires an x86-64 CPU' error
2334 - BuildRequires ncurses-devel to enable '-curses' option (#504226)
2335
2336 * Wed Jun  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-5.kvm86
2337 - Prevent locked cdrom eject - fixes hang at end of anaconda installs (#501412)
2338 - Avoid harmless 'unhandled wrmsr' warnings (#499712)
2339
2340 * Thu May 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-4.kvm86
2341 - Update to kvm-86 release
2342 - ChangeLog here: http://marc.info/?l=kvm&m=124282885729710
2343
2344 * Fri May  1 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-3.kvm85
2345 - Really provide qemu-kvm as a metapackage for comps
2346
2347 * Tue Apr 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-2.kvm85
2348 - Provide qemu-kvm as a metapackage for comps
2349
2350 * Mon Apr 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-1.kvm85
2351 - Update to qemu-kvm-devel-85
2352 - kvm-85 is based on qemu development branch, currently version 0.10.50
2353 - Include new qemu-io utility in qemu-img package
2354 - Re-instate -help string for boot=on to fix virtio booting with libvirt
2355 - Drop upstreamed patches
2356 - Fix missing kernel/include/asm symlink in upstream tarball
2357 - Fix target-arm build
2358 - Fix build on ppc
2359 - Disable preadv()/pwritev() until bug #497429 is fixed
2360 - Kill more .kernelrelease uselessness
2361 - Make non-kvm qemu build verbose
2362
2363 * Fri Apr 24 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-15
2364 - Fix source numbering typos caused by make-release addition
2365
2366 * Thu Apr 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-14
2367 - Improve instructions for generating the tarball
2368
2369 * Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-13
2370 - Enable pulseaudio driver to fix qemu lockup at shutdown (#495964)
2371
2372 * Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-12
2373 - Another qcow2 image corruption fix (#496642)
2374
2375 * Mon Apr 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-11
2376 - Fix qcow2 image corruption (#496642)
2377
2378 * Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-10
2379 - Run sysconfig.modules from %post on x86_64 too (#494739)
2380
2381 * Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-9
2382 - Align VGA ROM to 4k boundary - fixes 'qemu-kvm -std vga' (#494376)
2383
2384 * Tue Apr  14 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-8
2385 - Provide qemu-kvm conditional on the architecture.
2386
2387 * Thu Apr  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-7
2388 - Add a much cleaner fix for vga segfault (#494002)
2389
2390 * Sun Apr  5 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-6
2391 - Fixed qcow2 segfault creating disks over 2TB. #491943
2392
2393 * Fri Apr  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-5
2394 - Fix vga segfault under kvm-autotest (#494002)
2395 - Kill kernelrelease hack; it's not needed
2396 - Build with "make V=1" for more verbose logs
2397
2398 * Thu Apr 02 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-4
2399 - Support botting gpxe roms.
2400
2401 * Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-2
2402 - added missing patch. love for CVS.
2403
2404 * Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-1
2405 - Include debuginfo for qemu-img
2406 - Do not require qemu-common for qemu-img
2407 - Explicitly own each of the firmware files
2408 - remove firmwares for ppc and sparc. They should be provided by an external package.
2409   Not that the packages exists for sparc in the secondary arch repo as noarch, but they
2410   don't automatically get into main repos. Unfortunately it's the best we can do right
2411   now.
2412 - rollback a bit in time. Snapshot from avi's maint/2.6.30
2413   - this requires the sasl patches to come back.
2414   - with-patched-kernel comes back.
2415
2416 * Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-0.12.kvm20090323git
2417 - BuildRequires pciutils-devel for device assignment (#492076)
2418
2419 * Mon Mar 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.11.kvm20090323git
2420 - Update to snapshot kvm20090323.
2421 - Removed patch2 (upstream).
2422 - use upstream's new split package.
2423 - --with-patched-kernel flag not needed anymore
2424 - Tell how to get the sources.
2425
2426 * Wed Mar 18 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.10.kvm20090310git
2427 - Added extboot to files list.
2428
2429 * Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.9.kvm20090310git
2430 - Fix wrong reference to bochs bios.
2431
2432 * Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.8.kvm20090310git
2433 - fix Obsolete/Provides pair
2434 - Use kvm bios from bochs-bios package.
2435 - Using RPM_OPT_FLAGS in configure
2436 - Picked back audio-drv-list from kvm package
2437
2438 * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.7.kvm20090310git
2439 - modify ppc patch
2440
2441 * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.6.kvm20090310git
2442 - updated to kvm20090310git
2443 - removed sasl patches (already in this release)
2444
2445 * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.5.kvm20090303git
2446 - kvm.modules were being wrongly mentioned at %%install.
2447 - update description for the x86 system package to include kvm support
2448 - build kvm's own bios. It is still necessary while kvm uses a slightly different
2449   irq routing mechanism
2450
2451 * Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.4.kvm20090303git
2452 - seems Epoch does not go into the tags. So start back here.
2453
2454 * Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.1.kvm20090303git
2455 - Use bochs-bios instead of bochs-bios-data
2456 - It's official: upstream set on 0.10
2457
2458 * Thu Mar  5 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.9.2-0.2.kvm20090303git
2459 - Added BSD to license list, since many files are covered by BSD
2460
2461 * Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.9.2-0.1.kvm20090303git
2462 - missing a dot. shame on me
2463
2464 * Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.92-0.1.kvm20090303git
2465 - Set Epoch to 2
2466 - Set version to 0.92. It seems upstream keep changing minds here, so pick the lowest
2467 - Provides KVM, Obsoletes KVM
2468 - Only install qemu-kvm in ix86 and x86_64
2469 - Remove pkgdesc macros, as they were generating bogus output for rpm -qi.
2470 - fix ppc and ppc64 builds
2471
2472 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.3.kvm20090303git
2473 - only execute post scripts for user package.
2474 - added kvm tools.
2475
2476 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.2.kvm20090303git
2477 - put kvm.modules into cvs
2478
2479 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.1.kvm20090303git
2480 - Set Epoch to 1
2481 - Build KVM (basic build, no tools yet)
2482 - Set ppc in ExcludeArch. This is temporary, just to fix one issue at a time.
2483   ppc users (IBM ? ;-)) please wait a little bit.
2484
2485 * Tue Mar  3 2009 Daniel P. Berrange <berrange@redhat.com> - 1.0-0.5.svn6666
2486 - Support VNC SASL authentication protocol
2487 - Fix dep on bochs-bios-data
2488
2489 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.4.svn6666
2490 - use bios from bochs-bios package.
2491
2492 * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.3.svn6666
2493 - use vgabios from vgabios package.
2494
2495 * Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.2.svn6666
2496 - use pxe roms from etherboot package.
2497
2498 * Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.1.svn6666
2499 - Updated to tip svn (release 6666). Featuring split packages for qemu.
2500   Unfortunately, still using binary blobs for the bioses.
2501
2502 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13
2503 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2504
2505 * Sun Jan 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.9.1-12
2506 - Updated build patch. Closes Red Hat Bugzilla bug #465041.
2507
2508 * Wed Dec 31 2008 Dennis Gilmore <dennis@ausil.us> - 0.9.1-11
2509 - add sparcv9 and sparc64 support
2510
2511 * Fri Jul 25 2008 Bill Nottingham <notting@redhat.com>
2512 - Fix qemu-img summary (#456344)
2513
2514 * Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-10.fc10
2515 - Rebuild for GNU TLS ABI change
2516
2517 * Wed Jun 11 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-9.fc10
2518 - Remove bogus wildcard from files list (rhbz #450701)
2519
2520 * Sat May 17 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-8
2521 - Register binary handlers also for shared libraries
2522
2523 * Mon May  5 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-7.fc10
2524 - Fix text console PTYs to be in rawmode
2525
2526 * Sun Apr 27 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.9.1-6
2527 - Register binary handler for SuperH-4 CPU
2528
2529 * Wed Mar 19 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-5.fc9
2530 - Split qemu-img tool into sub-package for smaller footprint installs
2531
2532 * Wed Feb 27 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-4.fc9
2533 - Fix block device checks for extendable disk formats (rhbz #435139)
2534
2535 * Sat Feb 23 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-3.fc9
2536 - Fix block device extents check (rhbz #433560)
2537
2538 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-2
2539 - Autorebuild for GCC 4.3
2540
2541 * Tue Jan  8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-1.fc9
2542 - Updated to 0.9.1 release
2543 - Fix license tag syntax
2544 - Don't mark init script as a config file
2545
2546 * Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-5.fc8
2547 - Fix rtl8139 checksum calculation for Vista (rhbz #308201)
2548
2549 * Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-4.fc8
2550 - Fix debuginfo by passing -Wl,--build-id to linker
2551
2552 * Tue Aug 28 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-4
2553 - Update licence
2554 - Fix CDROM emulation (#253542)
2555
2556 * Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-3.fc8
2557 - Added backport of VNC password auth, and TLS+x509 cert auth
2558 - Switch to rtl8139 NIC by default for linkstate reporting
2559 - Fix rtl8139 mmio region mappings with multiple NICs
2560
2561 * Sun Apr  1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.0-2
2562 - Fix direct loading of a linux kernel with -kernel & -initrd (bz 234681)
2563 - Remove spurious execute bits from manpages (bz 222573)
2564
2565 * Tue Feb  6 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-1
2566 - Update to 0.9.0
2567
2568 * Wed Jan 31 2007 David Woodhouse <dwmw2@infradead.org> 0.8.2-5
2569 - Include licences
2570
2571 * Mon Nov 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.2-4
2572 - Backport patch to make FC6 guests work by Kevin Kofler
2573   <Kevin@tigcc.ticalc.org> (bz 207843).
2574
2575 * Mon Sep 11 2006 David Woodhouse <dwmw2@infradead.org> 0.8.2-3
2576 - Rebuild
2577
2578 * Thu Aug 24 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-2
2579 - Remove the target-list iteration for x86_64 since they all build again.
2580 - Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for
2581   FC5 and FC6.
2582
2583 * Wed Aug 23 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-1
2584 - Update to 0.8.2 (#200065).
2585 - Drop upstreamed syscall-macros patch2.
2586 - Put correct scriplet dependencies.
2587 - Force install mode for the init script to avoid umask problems.
2588 - Add %%postun condrestart for changes to the init script to be applied if any.
2589 - Update description with the latest "about" from the web page (more current).
2590 - Update URL to qemu.org one like the Source.
2591 - Add which build requirement.
2592 - Don't include texi files in %%doc since we ship them in html.
2593 - Switch to using gcc34 on devel, FC5 still has gcc32.
2594 - Add kernheaders patch to fix linux/compiler.h inclusion.
2595 - Add target-sparc patch to fix compiling on ppc (some int32 to float).
2596
2597 * Thu Jun  8 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-3
2598 - More header abuse in modify_ldt(), change BuildRoot:
2599
2600 * Wed Jun  7 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-2
2601 - Fix up kernel header abuse
2602
2603 * Tue May 30 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-1
2604 - Update to 0.8.1
2605
2606 * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-6
2607 - Update linker script for PPC
2608
2609 * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-5
2610 - Just drop $RPM_OPT_FLAGS. They're too much of a PITA
2611
2612 * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-4
2613 - Disable stack-protector options which gcc 3.2 doesn't like
2614
2615 * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-3
2616 - Use -mcpu= instead of -mtune= on x86_64 too
2617 - Disable SPARC targets on x86_64, because dyngen doesn't like fnegs
2618
2619 * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-2
2620 - Don't use -mtune=pentium4 on i386. GCC 3.2 doesn't like it
2621
2622 * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-1
2623 - Update to 0.8.0
2624 - Resort to using compat-gcc-32
2625 - Enable ALSA
2626
2627 * Mon May 16 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-2
2628 - Proper fix for GCC 4 putting 'blr' or 'ret' in the middle of the function,
2629   for i386, x86_64 and PPC.
2630
2631 * Sat Apr 30 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-1
2632 - Update to 0.7.0
2633 - Fix dyngen for PPC functions which end in unconditional branch
2634
2635 * Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
2636 - rebuilt
2637
2638 * Sun Feb 13 2005 David Woodhouse <dwmw2@infradead.org> 0.6.1-2
2639 - Package cleanup
2640
2641 * Sun Nov 21 2004 David Woodhouse <dwmw2@redhat.com> 0.6.1-1
2642 - Update to 0.6.1
2643
2644 * Tue Jul 20 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-2
2645 - Compile fix from qemu CVS, add x86_64 host support
2646
2647 * Mon May 12 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-1
2648 - Update to 0.6.0.
2649
2650 * Sat May 8 2004 David Woodhouse <dwmw2@redhat.com> 0.5.5-1
2651 - Update to 0.5.5.
2652
2653 * Thu May 2 2004 David Woodhouse <dwmw2@redhat.com> 0.5.4-1
2654 - Update to 0.5.4.
2655
2656 * Thu Apr 22 2004 David Woodhouse <dwmw2@redhat.com> 0.5.3-1
2657 - Update to 0.5.3. Add init script.
2658
2659 * Thu Jul 17 2003 Jeff Johnson <jbj@redhat.com> 0.4.3-1
2660 - Create.