source: projects/specs/trunk/q/qemu/qemu-vl.spec @ 7115

Revision 7115, 64.6 KB checked in by Takemikaduchi, 12 years ago (diff)

QEMU-1.2.0

Line 
1Summary: QEMU is a FAST! processor emulator
2Summary(ja): QEMU 高速なプロセッサ・エミュレーター
3Name: qemu
4Version: 1.2.0
5Release: 1%{?_dist_release}
6License: GPLv2+ and LGPLv2+ and BSD
7Group: Development/Tools
8URL: http://www.qemu.org/
9
10Source0: http://downloads.sourceforge.net/sourceforge/kvm/qemu-kvm-%{version}.tar.gz
11Source1: qemu.init
12
13# Loads kvm kernel modules at boot
14Source2: kvm.modules
15
16# Creates /dev/kvm
17Source3: 80-kvm.rules
18
19# KSM control scripts
20Source4: ksm.init
21Source5: ksm.sysconfig
22Source6: ksmtuned.init
23Source7: ksmtuned
24Source8: ksmtuned.conf
25
26# Patches queued for 1.2.1 stable
27Patch0001: 0001-target-xtensa-convert-host-errno-values-to-guest.patch
28Patch0002: 0002-target-cris-Fix-buffer-overflow.patch
29Patch0003: 0003-target-xtensa-fix-missing-errno-codes-for-mingw32.patch
30Patch0004: 0004-target-sparc-fix-fcmp-s-d-q-instructions-wrt-excepti.patch
31Patch0005: 0005-target-s390x-fix-style.patch
32Patch0006: 0006-target-s390x-split-FPU-ops.patch
33Patch0007: 0007-target-s390x-split-condition-code-helpers.patch
34Patch0008: 0008-target-s390x-split-integer-helpers.patch
35Patch0009: 0009-target-s390x-split-memory-access-helpers.patch
36Patch0010: 0010-target-s390x-rename-op_helper.c-to-misc_helper.c.patch
37Patch0011: 0011-target-s390x-avoid-AREG0-for-FPU-helpers.patch
38Patch0012: 0012-target-s390x-avoid-AREG0-for-integer-helpers.patch
39Patch0013: 0013-target-s390x-avoid-AREG0-for-condition-code-helpers.patch
40Patch0014: 0014-target-s390x-avoid-AREG0-for-misc-helpers.patch
41Patch0015: 0015-target-s390x-switch-to-AREG0-free-mode.patch
42Patch0016: 0016-tcg-s390-fix-ld-st-with-CONFIG_TCG_PASS_AREG0.patch
43Patch0017: 0017-target-arm-Fix-potential-buffer-overflow.patch
44Patch0018: 0018-tcg-optimize-split-expression-simplification.patch
45Patch0019: 0019-tcg-optimize-simplify-or-xor-r-a-0-cases.patch
46Patch0020: 0020-tcg-optimize-simplify-and-r-a-0-cases.patch
47Patch0021: 0021-tcg-optimize-simplify-shift-rot-r-0-a-movi-r-0-cases.patch
48Patch0022: 0022-tcg-optimize-swap-brcond-setcond-arguments-when-poss.patch
49Patch0023: 0023-tcg-optimize-add-constant-folding-for-setcond.patch
50Patch0024: 0024-tcg-optimize-add-constant-folding-for-brcond.patch
51Patch0025: 0025-tcg-optimize-fix-if-else-break-coding-style.patch
52Patch0026: 0026-target-s390x-avoid-cpu_single_env.patch
53Patch0027: 0027-target-lm32-switch-to-AREG0-free-mode.patch
54Patch0028: 0028-target-m68k-switch-to-AREG0-free-mode.patch
55Patch0029: 0029-target-m68k-avoid-using-cpu_single_env.patch
56Patch0030: 0030-target-unicore32-switch-to-AREG0-free-mode.patch
57Patch0031: 0031-target-arm-convert-void-helpers.patch
58Patch0032: 0032-target-arm-convert-remaining-helpers.patch
59Patch0033: 0033-target-arm-final-conversion-to-AREG0-free-mode.patch
60Patch0034: 0034-target-microblaze-switch-to-AREG0-free-mode.patch
61Patch0035: 0035-target-cris-Avoid-AREG0-for-helpers.patch
62Patch0036: 0036-target-cris-Switch-to-AREG0-free-mode.patch
63Patch0037: 0037-target-sh4-switch-to-AREG0-free-mode.patch
64Patch0038: 0038-target-mips-switch-to-AREG0-free-mode.patch
65Patch0039: 0039-Remove-unused-CONFIG_TCG_PASS_AREG0-and-dead-code.patch
66Patch0040: 0040-tcg-i386-allow-constants-in-load-store-ops.patch
67Patch0041: 0041-tcg-mark-set_label-with-TCG_OPF_BB_END-flag.patch
68Patch0042: 0042-revert-TCG-fix-copy-propagation.patch
69Patch0043: 0043-target-mips-Set-opn-in-gen_ldst_multiple.patch
70Patch0044: 0044-target-mips-Fix-MIPS_DEBUG.patch
71Patch0045: 0045-target-mips-Always-evaluate-debugging-macro-argument.patch
72Patch0046: 0046-tcg-optimize-fix-end-of-basic-block-detection.patch
73Patch0047: 0047-target-xtensa-fix-extui-shift-amount.patch
74Patch0048: 0048-target-xtensa-don-t-emit-extra-tcg_gen_goto_tb.patch
75Patch0049: 0049-tcg-Introduce-movcond.patch
76Patch0050: 0050-target-alpha-Use-movcond.patch
77Patch0051: 0051-tcg-i386-Implement-movcond.patch
78Patch0052: 0052-tcg-Optimize-movcond-for-constant-comparisons.patch
79Patch0053: 0053-tcg-Optimize-two-address-commutative-operations.patch
80Patch0054: 0054-gdbstub-sh4-fix-build-with-USE_SOFTFLOAT_STRUCT_TYPE.patch
81Patch0055: 0055-tcg-Fix-USE_DIRECT_JUMP.patch
82Patch0056: 0056-tcg-hppa-Fix-brcond2-and-setcond2.patch
83Patch0057: 0057-tcg-hppa-Fix-broken-load-store-helpers.patch
84Patch0058: 0058-tcg-mips-fix-wrong-usage-of-Z-constraint.patch
85Patch0059: 0059-tcg-mips-kill-warnings-in-user-mode.patch
86Patch0060: 0060-tcg-mips-use-TCGArg-or-TCGReg-instead-of-int.patch
87Patch0061: 0061-tcg-mips-don-t-use-global-pointer.patch
88Patch0062: 0062-tcg-mips-use-stack-for-TCG-temps.patch
89Patch0063: 0063-tcg-mips-optimize-brcond-arg-0.patch
90Patch0064: 0064-tcg-mips-optimize-bswap-16-16s-32-on-MIPS32R2.patch
91Patch0065: 0065-tcg-mips-implement-rotl-rotr-ops-on-MIPS32R2.patch
92Patch0066: 0066-tcg-mips-implement-deposit-op-on-MIPS32R2.patch
93Patch0067: 0067-tcg-mips-implement-movcond-op-on-MIPS32R2.patch
94Patch0068: 0068-tcg-optimize-remove-TCG_TEMP_ANY.patch
95Patch0069: 0069-tcg-optimize-check-types-in-copy-propagation.patch
96Patch0070: 0070-tcg-optimize-rework-copy-progagation.patch
97Patch0071: 0071-tcg-optimize-do-copy-propagation-for-all-operations.patch
98Patch0072: 0072-tcg-optimize-optimize-op-r-a-a-mov-r-a.patch
99Patch0073: 0073-tcg-optimize-optimize-op-r-a-a-movi-r-0.patch
100Patch0074: 0074-tcg-optimize-further-optimize-brcond-movcond-setcond.patch
101Patch0075: 0075-tcg-optimize-prefer-the-op-a-a-b-form-for-commutativ.patch
102Patch0076: 0076-tcg-remove-ifdef-endif-around-TCGOpcode-tests.patch
103Patch0077: 0077-tcg-optimize-add-constant-folding-for-deposit.patch
104Patch0078: 0078-tcg-README-document-tcg_gen_goto_tb-restrictions.patch
105Patch0079: 0079-w64-Fix-TCG-helper-functions-with-5-arguments.patch
106Patch0080: 0080-tcg-ppc32-Implement-movcond32.patch
107Patch0081: 0081-tcg-sparc-Hack-in-qemu_ld-st64-for-32-bit.patch
108Patch0082: 0082-tcg-sparc-Fix-ADDX-opcode.patch
109Patch0083: 0083-tcg-sparc-Don-t-MAP_FIXED-on-top-of-the-program.patch
110Patch0084: 0084-tcg-sparc-Assume-v9-cpu-always-i.e.-force-v8plus-in-.patch
111Patch0085: 0085-tcg-sparc-Fix-qemu_ld-st-to-handle-32-bit-host.patch
112Patch0086: 0086-tcg-sparc-Support-GUEST_BASE.patch
113Patch0087: 0087-tcg-sparc-Change-AREG0-in-generated-code-to-i0.patch
114Patch0088: 0088-tcg-sparc-Clean-up-cruft-stemming-from-attempts-to-u.patch
115Patch0089: 0089-tcg-sparc-Mask-shift-immediates-to-avoid-illegal-ins.patch
116Patch0090: 0090-tcg-sparc-Use-defines-for-temporaries.patch
117Patch0091: 0091-tcg-sparc-Add-g-o-registers-to-alloc_order.patch
118Patch0092: 0092-tcg-sparc-Fix-and-enable-direct-TB-chaining.patch
119Patch0093: 0093-tcg-sparc-Preserve-branch-destinations-during-retran.patch
120Patch0094: 0094-target-alpha-Initialize-env-cpu_model_str.patch
121Patch0095: 0095-tcg-mips-fix-MIPS32-R2-detection.patch
122Patch0096: 0096-tcg-Adjust-descriptions-of-cond-opcodes.patch
123Patch0097: 0097-tcg-i386-fix-build-with-march-i686.patch
124Patch0098: 0098-tcg-Fix-MAX_OPC_PARAM_IARGS.patch
125Patch0099: 0099-tci-Fix-for-AREG0-free-mode.patch
126Patch0100: 0100-spice-abort-on-invalid-streaming-cmdline-params.patch
127Patch0101: 0101-spice-notify-spice-server-on-vm-start-stop.patch
128Patch0102: 0102-spice-notify-on-vm-state-change-only-via-spice_serve.patch
129Patch0103: 0103-spice-migration-add-QEVENT_SPICE_MIGRATE_COMPLETED.patch
130Patch0104: 0104-spice-add-migrated-flag-to-spice-info.patch
131Patch0105: 0105-spice-adding-seamless-migration-option-to-the-comman.patch
132Patch0106: 0106-spice-increase-the-verbosity-of-spice-section-in-qem.patch
133Patch0107: 0107-qxl-update_area_io-guest_bug-on-invalid-parameters.patch
134Patch0108: 0108-qxl-add-QXL_IO_MONITORS_CONFIG_ASYNC.patch
135Patch0109: 0109-configure-print-spice-protocol-and-spice-server-vers.patch
136Patch0110: 0110-fix-doc-of-using-raw-values-with-sendkey.patch
137Patch0111: 0111-qapi-Fix-potential-NULL-pointer-segfault.patch
138Patch0112: 0112-json-parser-Fix-potential-NULL-pointer-segfault.patch
139Patch0113: 0113-pcie-drop-version_id-field-for-live-migration.patch
140Patch0114: 0114-pcie_aer-clear-cmask-for-Advanced-Error-Interrupt-Me.patch
141Patch0115: 0115-fix-entry-pointer-for-ELF-kernels-loaded-with-kernel.patch
142Patch0116: 0116-lan9118-fix-multicast-filtering.patch
143Patch0117: 0117-MIPS-user-Fix-reset-CPU-state-initialization.patch
144Patch0118: 0118-Add-MAINTAINERS-entry-for-leon3.patch
145Patch0119: 0119-musicpal-Fix-flash-mapping.patch
146Patch0120: 0120-qemu-Use-valgrind-annotations-to-mark-kvm-guest-memo.patch
147Patch0121: 0121-hw-wm8750-Fix-potential-buffer-overflow.patch
148Patch0122: 0122-hw-mcf5206-Fix-buffer-overflow-for-MBAR-read-write.patch
149Patch0123: 0123-use-libexecdir-instead-of-ignoring-it-first-and-rein.patch
150Patch0124: 0124-socket-don-t-attempt-to-reconnect-a-TCP-socket-in-se.patch
151Patch0125: 0125-Add-ability-to-force-enable-disable-of-tools-build.patch
152Patch0126: 0126-usb-controllers-do-not-need-to-check-for-babble-them.patch
153Patch0127: 0127-usb-core-Don-t-set-packet-state-to-complete-on-a-nak.patch
154Patch0128: 0128-usb-core-Add-a-usb_ep_find_packet_by_id-helper-funct.patch
155Patch0129: 0129-usb-core-Allow-the-first-packet-of-a-pipelined-ep-to.patch
156Patch0130: 0130-Revert-ehci-don-t-flush-cache-on-doorbell-rings.patch
157Patch0131: 0131-ehci-Validate-qh-is-not-changed-unexpectedly-by-the-.patch
158Patch0132: 0132-ehci-Update-copyright-headers-to-reflect-recent-work.patch
159Patch0133: 0133-ehci-Properly-cleanup-packets-on-cancel.patch
160Patch0134: 0134-ehci-Properly-report-completed-but-not-yet-processed.patch
161Patch0135: 0135-ehci-check-for-EHCI_ASYNC_FINISHED-first-in-ehci_fre.patch
162Patch0136: 0136-ehci-trace-guest-bugs.patch
163Patch0137: 0137-ehci-add-doorbell-trace-events.patch
164Patch0138: 0138-ehci-Add-some-additional-ehci_trace_guest_bug-calls.patch
165Patch0139: 0139-ehci-Fix-memory-leak-in-handling-of-NAK-ed-packets.patch
166Patch0140: 0140-ehci-Handle-USB_RET_PROCERR-in-ehci_fill_queue.patch
167Patch0141: 0141-ehci-Correct-a-comment-in-fetchqtd-packet-processing.patch
168Patch0142: 0142-usb-redir-Never-return-USB_RET_NAK-for-async-handled.patch
169Patch0143: 0143-usb-redir-Don-t-delay-handling-of-open-events-to-a-b.patch
170Patch0144: 0144-usb-redir-Get-rid-of-async-struct-get-member.patch
171Patch0145: 0145-usb-redir-Get-rid-of-local-shadow-copy-of-packet-hea.patch
172Patch0146: 0146-usb-redir-Get-rid-of-unused-async-struct-dev-member.patch
173Patch0147: 0147-usb-redir-Move-to-core-packet-id-and-queue-handling.patch
174Patch0148: 0148-usb-redir-Return-babble-when-getting-more-bulk-data-.patch
175Patch0149: 0149-Better-name-usb-braille-device.patch
176Patch0150: 0150-usb-audio-fix-usb-version.patch
177Patch0151: 0151-xhci-rip-out-background-transfer-code.patch
178Patch0152: 0152-xhci-drop-buffering.patch
179Patch0153: 0153-xhci-fix-runtime-write-tracepoint.patch
180Patch0154: 0154-xhci-allow-bytewise-capability-register-reads.patch
181Patch0155: 0155-qxl-dont-update-invalid-area.patch
182Patch0156: 0156-usb-host-allow-emulated-non-async-control-requests-w.patch
183Patch0157: 0157-qxl-better-cleanup-for-surface-destroy.patch
184Patch0158: 0158-ehci-switch-to-new-style-memory-ops.patch
185Patch0159: 0159-ehci-Fix-interrupts-stopping-when-Interrupt-Threshol.patch
186Patch0160: 0160-ehci-Don-t-process-too-much-frames-in-1-timer-tick-v.patch
187Patch0161: 0161-sheepdog-fix-savevm-and-loadvm.patch
188Patch0162: 0162-ide-Fix-error-messages-from-static-code-analysis-no-.patch
189Patch0163: 0163-block-curl-Fix-wrong-free-statement.patch
190Patch0164: 0164-vdi-Fix-warning-from-clang.patch
191Patch0165: 0165-block-fix-block-tray-status.patch
192Patch0166: 0166-ahci-properly-reset-PxCMD-on-HBA-reset.patch
193Patch0167: 0167-Don-t-require-encryption-password-for-qemu-img-info-.patch
194Patch0168: 0168-block-Don-t-forget-to-delete-temporary-file.patch
195Patch0169: 0169-hw-qxl-tracing-fixes.patch
196Patch0170: 0170-configure-usbredir-fixes.patch
197Patch0171: 0171-ehci-Don-t-set-seen-to-0-when-removing-unseen-queue-.patch
198Patch0172: 0172-ehci-Walk-async-schedule-before-and-after-migration.patch
199Patch0173: 0173-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
200Patch0174: 0174-uhci-Don-t-queue-up-packets-after-one-with-the-SPD-f.patch
201Patch0175: 0175-slirp-Remove-wrong-type-casts-ins-debug-statements.patch
202Patch0176: 0176-slirp-Fix-error-reported-by-static-code-analysis.patch
203Patch0177: 0177-slirp-improve-TFTP-performance.patch
204Patch0178: 0178-slirp-Handle-more-than-65535-blocks-in-TFTP-transfer.patch
205Patch0179: 0179-slirp-Implement-TFTP-Blocksize-option.patch
206Patch0180: 0180-srp-Don-t-use-QEMU_PACKED-for-single-elements-of-a-s.patch
207Patch0181: 0181-Spelling-fixes-in-comments-and-documentation.patch
208Patch0182: 0182-console-Clean-up-bytes-per-pixel-calculation.patch
209Patch0183: 0183-qapi-Fix-enumeration-typo-error.patch
210Patch0184: 0184-kvm-Fix-warning-from-static-code-analysis.patch
211Patch0185: 0185-arch_init.c-add-missing-symbols-before-PRIu64-in-deb.patch
212Patch0186: 0186-net-notify-iothread-after-flushing-queue.patch
213Patch0187: 0187-e1000-flush-queue-whenever-can_receive-can-go-from-f.patch
214Patch0188: 0188-xen-flush-queue-when-getting-an-event.patch
215Patch0189: 0189-eepro100-Fix-network-hang-when-rx-buffers-run-out.patch
216Patch0190: 0190-net-add-receive_disabled-logic-to-iov-delivery-path.patch
217Patch0191: 0191-net-do-not-report-queued-packets-as-sent.patch
218Patch0192: 0192-net-add-netdev-options-to-man-page.patch
219Patch0193: 0193-net-clean-up-usbnet_receive.patch
220Patch0194: 0194-net-fix-usbnet_receive-packet-drops.patch
221Patch0195: 0195-net-broadcast-hub-packets-if-at-least-one-port-can-r.patch
222Patch0196: 0196-net-asynchronous-send-receive-infrastructure-for-net.patch
223Patch0197: 0197-net-EAGAIN-handling-for-net-socket.c-UDP.patch
224Patch0198: 0198-net-EAGAIN-handling-for-net-socket.c-TCP.patch
225Patch0199: 0199-configure-fix-seccomp-check.patch
226Patch0200: 0200-configure-properly-check-if-lrt-and-lm-is-needed.patch
227Patch0201: 0201-Revert-455aa1e08-and-c3767ed0eb.patch
228Patch0202: 0202-qemu-char-BUGFIX-don-t-call-FD_ISSET-with-negative-f.patch
229Patch0203: 0203-cpu_physical_memory_write_rom-needs-to-do-TB-invalid.patch
230Patch0204: 0204-arch_init.c-Improve-soundhw-help-for-non-HAS_AUDIO_C.patch
231Patch0205: 0205-xilinx_timer-Removed-comma-in-device-name.patch
232Patch0206: 0206-xilinx_timer-Send-dbg-msgs-to-stderr-not-stdout.patch
233Patch0207: 0207-xilinx.h-Error-check-when-setting-links.patch
234Patch0208: 0208-xilinx_timer-Fix-a-compile-error-if-debug-enabled.patch
235Patch0209: 0209-pflash_cfi01-fix-vendor-specific-extended-query.patch
236Patch0210: 0210-MAINTAINERS-Add-entry-for-QOM-CPU.patch
237Patch0211: 0211-iSCSI-We-need-to-support-SG_IO-also-from-iscsi_ioctl.patch
238Patch0212: 0212-iSCSI-We-dont-need-to-explicitely-call-qemu_notify_e.patch
239Patch0213: 0213-scsi-disk-introduce-check_lba_range.patch
240Patch0214: 0214-scsi-disk-fix-check-for-out-of-range-LBA.patch
241Patch0215: 0215-SCSI-Standard-INQUIRY-data-should-report-HiSup-flag-.patch
242Patch0216: 0216-audio-Fix-warning-from-static-code-analysis.patch
243Patch0217: 0217-qemu-ga-Remove-unreachable-code-after-g_error.patch
244Patch0218: 0218-qemu-sockets-Fix-potential-memory-leak.patch
245Patch0219: 0219-cadence_uart-Fix-buffer-overflow.patch
246Patch0220: 0220-lm4549-Fix-buffer-overflow.patch
247Patch0221: 0221-ioh3420-Remove-unreachable-code.patch
248Patch0222: 0222-pflash_cfi01-Fix-warning-caused-by-unreachable-code.patch
249Patch0223: 0223-curses-don-t-initialize-curses-when-qemu-is-daemoniz.patch
250Patch0224: 0224-TextConsole-saturate-escape-parameter-in-TTY_STATE_C.patch
251Patch0225: 0225-linux-user-Remove-redundant-null-check-and-replace-f.patch
252Patch0226: 0226-net-socket-Fix-compiler-warning-regression-for-MinGW.patch
253Patch0227: 0227-w32-Always-use-standard-instead-of-native-format-str.patch
254Patch0228: 0228-w32-Add-implementation-of-gmtime_r-localtime_r.patch
255Patch0229: 0229-blockdev-preserve-readonly-and-snapshot-states-acros.patch
256Patch0230: 0230-block-correctly-set-the-keep_read_only-flag.patch
257Patch0231: 0231-configure-Allow-builds-without-any-system-or-user-em.patch
258Patch0232: 0232-Refactor-inet_connect_opts-function.patch
259Patch0233: 0233-Separate-inet_connect-into-inet_connect-blocking-and.patch
260Patch0234: 0234-Fix-address-handling-in-inet_nonblocking_connect.patch
261Patch0235: 0235-Clear-handler-only-for-valid-fd.patch
262Patch0236: 0236-pl190-fix-read-of-VECTADDR.patch
263Patch0237: 0237-hw-armv7m_nvic-Correctly-register-GIC-region-when-se.patch
264Patch0238: 0238-Versatile-Express-Fix-NOR-flash-0-address-and-remove.patch
265Patch0239: 0239-i386-kvm-bit-10-of-CPUID-8000_0001-.EDX-is-reserved.patch
266Patch0240: 0240-fpu-softfloat.c-Return-correctly-signed-values-from-.patch
267Patch0241: 0241-pseries-Don-t-test-for-MSR_PR-for-hypercalls-under-K.patch
268Patch0242: 0242-update-VERSION-for-v1.2.1.patch
269
270# The infamous chardev flow control patches
271Patch0400: 0400-char-Split-out-tcp-socket-close-code-in-a-separate-f.patch
272Patch0401: 0401-char-Add-a-QemuChrHandlers-struct-to-initialise-char.patch
273Patch0402: 0402-iohandlers-Add-enable-disable_write_fd_handler-funct.patch
274Patch0403: 0403-char-Add-framework-for-a-write-unblocked-callback.patch
275Patch0404: 0404-char-Update-send_all-to-handle-nonblocking-chardev-w.patch
276Patch0405: 0405-char-Equip-the-unix-tcp-backend-to-handle-nonblockin.patch
277Patch0406: 0406-char-Throttle-when-host-connection-is-down.patch
278Patch0407: 0407-virtio-console-Enable-port-throttling-when-chardev-i.patch
279Patch0408: 0408-spice-qemu-char.c-add-throttling.patch
280Patch0409: 0409-spice-qemu-char.c-remove-intermediate-buffer.patch
281Patch0410: 0410-usb-redir-Add-flow-control-support.patch
282Patch0411: 0411-virtio-serial-bus-replay-guest_open-on-migration.patch
283Patch0412: 0412-char-Disable-write-callback-if-throttled-chardev-is-.patch
284
285# Spice features from upstream master: seamless migration & dynamic monitors
286Patch0500: 0500-qxl-disallow-unknown-revisions.patch
287Patch0501: 0501-spice-make-number-of-surfaces-runtime-configurable.patch
288Patch0502: 0502-qxl-Add-set_client_capabilities-interface-to-QXLInte.patch
289Patch0503: 0503-Remove-ifdef-QXL_COMMAND_FLAG_COMPAT_16BPP.patch
290Patch0504: 0504-spice-switch-to-queue-for-vga-mode-updates.patch
291Patch0505: 0505-spice-split-qemu_spice_create_update.patch
292Patch0506: 0506-spice-add-screen-mirror.patch
293Patch0507: 0507-spice-send-updates-only-for-changed-screen-content.patch
294Patch0508: 0508-qxl-Ignore-set_client_capabilities-pre-post-migrate.patch
295Patch0509: 0509-qxl-add-trace-event-for-QXL_IO_LOG.patch
296Patch0510: 0510-hw-qxl-support-client-monitor-configuration-via-devi.patch
297Patch0511: 0511-qxl-always-update-displaysurface-on-resize.patch
298Patch0512: 0512-qxl-update_area_io-cleanup-invalid-parameters-handli.patch
299Patch0513: 0513-qxl-fix-range-check-for-rev3-io-commands.patch
300Patch0514: 0514-hw-qxl-exit-on-failure-to-register-qxl-interface.patch
301Patch0515: 0515-hw-qxl-fix-condition-for-exiting-guest_bug.patch
302Patch0516: 0516-hw-qxl-qxl_dirty_surfaces-use-uintptr_t.patch
303Patch0517: 0517-spice-raise-requirement-to-0.12.patch
304Patch0518: 0518-qxl-set-default-revision-to-4.patch
305
306# usb-redir live-migration and misc bits, will be in before 1.3.0
307Patch0600: 0600-usb-redir-Convert-to-new-libusbredirparser-0.5-API.patch
308Patch0601: 0601-usb-redir-Set-ep-max_packet_size-if-available.patch
309Patch0602: 0602-usb-redir-Add-a-usbredir_reject_device-helper-functi.patch
310Patch0603: 0603-usb-redir-Ensure-our-peer-has-the-necessary-caps-whe.patch
311Patch0604: 0604-usb-redir-Enable-pipelining-for-bulk-endpoints.patch
312Patch0605: 0605-xhci-move-device-lookup-into-xhci_setup_packet.patch
313Patch0606: 0606-xhci-implement-mfindex.patch
314Patch0607: 0607-xhci-iso-xfer-support.patch
315Patch0608: 0608-xhci-trace-cc-codes-in-cleartext.patch
316Patch0609: 0609-xhci-add-trace_usb_xhci_ep_set_dequeue.patch
317Patch0610: 0610-xhci-update-register-layout.patch
318Patch0611: 0611-xhci-update-port-handling.patch
319Patch0612: 0612-usb3-superspeed-descriptors.patch
320Patch0613: 0613-usb3-superspeed-endpoint-companion.patch
321Patch0614: 0614-usb3-bos-decriptor.patch
322Patch0615: 0615-usb-storage-usb3-support.patch
323Patch0616: 0616-xhci-fix-cleanup-msi.patch
324Patch0617: 0617-xhci-rework-interrupt-handling.patch
325Patch0618: 0618-xhci-add-msix-support.patch
326Patch0619: 0619-xhci-move-register-update-into-xhci_intr_raise.patch
327Patch0620: 0620-xhci-add-XHCIInterrupter.patch
328Patch0621: 0621-xhci-prepare-xhci_runtime_-read-write-for-multiple-i.patch
329Patch0622: 0622-xhci-pick-target-interrupter.patch
330Patch0623: 0623-xhci-support-multiple-interrupters.patch
331Patch0624: 0624-xhci-kill-xhci_mem_-read-write-dispatcher-functions.patch
332Patch0625: 0625-usb-redir-Change-cancelled-packet-code-into-a-generi.patch
333Patch0626: 0626-usb-redir-Add-an-already_in_flight-packet-id-queue.patch
334Patch0627: 0627-usb-redir-Store-max_packet_size-in-endp_data.patch
335Patch0628: 0628-usb-redir-Add-support-for-migration.patch
336Patch0629: 0629-usb-redir-Add-chardev-open-close-debug-logging.patch
337Patch0630: 0630-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
338Patch0631: 0631-ehci-Fix-interrupt-packet-MULT-handling.patch
339Patch0632: 0632-usb-redir-Adjust-pkg-config-check-for-usbredirparser.patch
340Patch0633: 0633-usb-redir-Change-usbredir_open_chardev-into-usbredir.patch
341Patch0634: 0634-usb-redir-Don-t-make-migration-fail-in-none-seamless.patch
342
343# Non upstream build fix, http://www.spinics.net/lists/kvm/msg80589.html
344Patch0800: 0800-mips-Fix-link-error-with-piix4_pm_init.patch
345# Add ./configure --disable-kvm-options
346# keep: Carrying locally until qemu-kvm is fully merged into qemu.git
347Patch0801: 0801-configure-Add-disable-kvm-options.patch
348# Fix loading arm initrd if kernel is very large (bz 862766)
349Patch802: 0802-arm_boot-Change-initrd-load-address-to-halfway-throu.patch
350# Don't use reserved word 'function' in systemtap files (bz 870972)
351Patch803: 0803-dtrace-backend-add-function-to-reserved-words.patch
352# Drop assertion that was triggering when pausing guests w/ qxl (bz
353# 870972)
354Patch804: 0804-wip-hw-qxl-inject-interrupts-in-any-state.patch
355
356
357BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
358BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel
359BuildRequires: libaio-devel
360BuildRequires: rsync
361BuildRequires: pciutils-devel
362BuildRequires: pulseaudio-libs-devel
363BuildRequires: alsa-lib-devel
364BuildRequires: ncurses-devel
365BuildRequires: libattr-devel
366BuildRequires: usbredir-devel >= 0.4.1
367BuildRequires: texinfo
368%ifarch %{ix86} x86_64
369BuildRequires: spice-protocol >= 0.8.1
370BuildRequires: spice-server-devel >= 0.9.0
371%endif
372# For network block driver
373BuildRequires: curl-devel
374%if %{with rbd}
375# For rbd block driver
376BuildRequires: ceph-devel
377%endif
378# We need both because the 'stap' binary is probed for by configure
379BuildRequires: systemtap
380BuildRequires: systemtap-sdt-devel
381# For smartcard NSS support
382BuildRequires: nss-devel
383# For XFS discard support in raw-posix.c
384BuildRequires: xfsprogs-devel
385# For VNC JPEG support
386BuildRequires: libjpeg-turbo-devel
387# For VNC PNG support
388BuildRequires: libpng-devel
389# For uuid generation
390BuildRequires: libuuid-devel
391# For BlueZ device support
392BuildRequires: bluez-libs-devel
393# For Braille device support
394BuildRequires: brlapi-devel
395%if %{with fdt}
396# For FDT device tree support
397BuildRequires: libfdt-devel
398%endif
399# For test suite
400BuildRequires: check-devel
401# For virtfs
402BuildRequires: libcap-devel
403Requires: %{name}-user = %{version}-%{release}
404
405
406Requires: %{name}-user = %{version}-%{release}
407Requires: %{name}-system-x86 = %{version}-%{release}
408Requires: %{name}-system-sparc = %{version}-%{release}
409Requires: %{name}-system-arm = %{version}-%{release}
410Requires: %{name}-system-cris = %{version}-%{release}
411Requires: %{name}-system-sh4 = %{version}-%{release}
412Requires: %{name}-system-m68k = %{version}-%{release}
413Requires: %{name}-system-mips = %{version}-%{release}
414Requires: %{name}-system-ppc = %{version}-%{release}
415Requires: %{name}-img = %{version}-%{release}
416
417%define qemudocdir %{_docdir}/%{name}
418
419%description
420QEMU is a generic and open source processor emulator which achieves a good
421emulation speed by using dynamic translation. QEMU has two operating modes:
422
423 * Full system emulation. In this mode, QEMU emulates a full system (for
424   example a PC), including a processor and various peripherials. It can be
425   used to launch different Operating Systems without rebooting the PC or
426   to debug system code.
427 * User mode emulation. In this mode, QEMU can launch Linux processes compiled
428   for one CPU on another CPU.
429
430As QEMU requires no host kernel patches to run, it is safe and easy to use.
431
432%description -l ja
433QEMU オープンソースな汎用のプロセッサエミュレータです。ダイナミック・トランス
434レーションを利用することにより、優れたエミュレーション速度を実現しています。
435QEMU には2つのエミュレーション・モードがあります:
436
437 * フルシステム・エミュレーション。このモードでは、QEMU は1つ又は複数のプロセッサ
438   や周辺装置を含めたすべてのシステム(例えば1台のPC)をエミュレートします。これは
439   PC を再起動することなく別の OS を起動したり、システム・コードをデバッグする
440   時に利用できます。
441 * ユーザーモード・エミュレーション。このモードでは、QEMU はある CPU に対してコン
442   パイルされた Linux プログラムを別の CPU 上で実行できます。
443
444QEMU はホスト用のカーネルにパッチを適用すること無しに実行できるので、簡単に使え
445てしかも安全です。
446
447%package kvm
448Summary: QEMU metapackage for KVM support
449Summary(ja): KVM サポートのための QEMU メタ・パッケージ
450Group: Development/Tools
451%ifarch %{ix86} x86_64
452Requires: qemu-system-x86 = %{version}-%{release}
453%endif
454%ifarch ppc ppc64
455Requires: qemu-system-ppc = %{version}-%{release}
456%endif
457
458%description kvm
459This is a meta-package that provides a qemu-system-<arch> package for native
460architectures where kvm can be enabled. For example, in an x86 system, this
461will install qemu-system-x86
462
463%package  img
464Summary: QEMU command line tool for manipulating disk images
465Group: Development/Tools
466%description img
467This package provides a command line tool for manipulating disk images
468
469%package  common
470Summary: QEMU common files needed by all QEMU targets
471Group: Development/Tools
472Requires(post): /usr/bin/getent
473Requires(post): /usr/sbin/groupadd
474Requires(post): /usr/sbin/useradd
475Requires(post): /sbin/chkconfig
476Requires(preun): /sbin/service /sbin/chkconfig
477Requires(postun): /sbin/service
478%description common
479QEMU is a generic and open source processor emulator which achieves a good
480emulation speed by using dynamic translation.
481
482This package provides the common files needed by all QEMU targets
483
484%package guest-agent
485Summary: QEMU guest agent
486Group: System Environment/Daemons
487
488%description guest-agent
489QEMU is a generic and open source processor emulator which achieves a good
490emulation speed by using dynamic translation.
491
492This package provides an agent to run inside guests, which communicates
493with the host over a virtio-serial channel named "org.qemu.guest_agent.0"
494
495This package does not need to be installed on the host OS.
496
497
498%package user
499Summary: QEMU user mode emulation of qemu targets
500Group: Development/Tools
501Requires: %{name}-common = %{version}-%{release}
502Requires(post): /sbin/chkconfig
503Requires(preun): /sbin/service /sbin/chkconfig
504Requires(postun): /sbin/service
505%description user
506QEMU is a generic and open source processor emulator which achieves a good
507emulation speed by using dynamic translation.
508
509This package provides the user mode emulation of qemu targets
510
511%package system-x86
512Summary: QEMU system emulator for x86
513Group: Development/Tools
514Requires: %{name}-common = %{version}-%{release}
515Provides: kvm = 85
516Obsoletes: kvm < 85
517# Requires: vgabios
518# Requires: bochs-bios >= 2.3.8-0.8
519# Requires: /usr/share/gpxe/e1000-0x100e.rom
520# Requires: /usr/share/gpxe/rtl8029.rom
521# Requires: /usr/share/gpxe/pcnet32.rom
522# Requires: /usr/share/gpxe/rtl8139.rom
523# Requires: /usr/share/gpxe/virtio-net.rom
524
525%description system-x86
526QEMU is a generic and open source processor emulator which achieves a good
527emulation speed by using dynamic translation.
528
529This package provides the system emulator for x86. When being run in a x86
530machine that supports it, this package also provides the KVM virtualization
531platform.
532
533%package system-ppc
534Summary: QEMU system emulator for ppc
535Group: Development/Tools
536Requires: %{name}-common = %{version}-%{release}
537# Requires: openbios-ppc
538%description system-ppc
539QEMU is a generic and open source processor emulator which achieves a good
540emulation speed by using dynamic translation.
541
542This package provides the system emulator for ppc
543
544%package system-sparc
545Summary: QEMU system emulator for sparc
546Group: Development/Tools
547Requires: %{name}-common = %{version}-%{release}
548%description system-sparc
549QEMU is a generic and open source processor emulator which achieves a good
550emulation speed by using dynamic translation.
551
552This package provides the system emulator for sparc
553
554%package system-arm
555Summary: QEMU system emulator for arm
556Group: Development/Tools
557Requires: %{name}-common = %{version}-%{release}
558%description system-arm
559QEMU is a generic and open source processor emulator which achieves a good
560emulation speed by using dynamic translation.
561
562This package provides the system emulator for arm
563
564%package system-mips
565Summary: QEMU system emulator for mips
566Group: Development/Tools
567Requires: %{name}-common = %{version}-%{release}
568%description system-mips
569QEMU is a generic and open source processor emulator which achieves a good
570emulation speed by using dynamic translation.
571
572This package provides the system emulator for mips
573
574%package system-cris
575Summary: QEMU system emulator for cris
576Group: Development/Tools
577Requires: %{name}-common = %{version}-%{release}
578%description system-cris
579QEMU is a generic and open source processor emulator which achieves a good
580emulation speed by using dynamic translation.
581
582This package provides the system emulator for cris
583
584%package system-m68k
585Summary: QEMU system emulator for m68k
586Group: Development/Tools
587Requires: %{name}-common = %{version}-%{release}
588%description system-m68k
589QEMU is a generic and open source processor emulator which achieves a good
590emulation speed by using dynamic translation.
591
592This package provides the system emulator for m68k
593
594%package system-sh4
595Summary: QEMU system emulator for sh4
596Group: Development/Tools
597Requires: %{name}-common = %{version}-%{release}
598%description system-sh4
599QEMU is a generic and open source processor emulator which achieves a good
600emulation speed by using dynamic translation.
601
602This package provides the system emulator for sh4
603
604%ifarch %{ix86} x86_64
605%package kvm-tools
606Summary: KVM debugging and diagnostics tools
607Group: Development/Tools
608
609%description kvm-tools
610This package contains some diagnostics and debugging tools for KVM,
611such as kvmtrace and kvm_stat.
612%endif
613
614%prep
615%setup -q -n qemu-kvm-%{version}
616%patch0001 -p1
617%patch0002 -p1
618%patch0003 -p1
619%patch0004 -p1
620%patch0005 -p1
621%patch0006 -p1
622%patch0007 -p1
623%patch0008 -p1
624%patch0009 -p1
625%patch0010 -p1
626%patch0011 -p1
627%patch0012 -p1
628%patch0013 -p1
629%patch0014 -p1
630%patch0015 -p1
631%patch0016 -p1
632%patch0017 -p1
633%patch0018 -p1
634%patch0019 -p1
635%patch0020 -p1
636%patch0021 -p1
637%patch0022 -p1
638%patch0023 -p1
639%patch0024 -p1
640%patch0025 -p1
641%patch0026 -p1
642%patch0027 -p1
643%patch0028 -p1
644%patch0029 -p1
645%patch0030 -p1
646%patch0031 -p1
647%patch0032 -p1
648%patch0033 -p1
649%patch0034 -p1
650%patch0035 -p1
651%patch0036 -p1
652%patch0037 -p1
653%patch0038 -p1
654%patch0039 -p1
655%patch0040 -p1
656%patch0041 -p1
657%patch0042 -p1
658%patch0043 -p1
659%patch0044 -p1
660%patch0045 -p1
661%patch0046 -p1
662%patch0047 -p1
663%patch0048 -p1
664%patch0049 -p1
665%patch0050 -p1
666%patch0051 -p1
667%patch0052 -p1
668%patch0053 -p1
669%patch0054 -p1
670%patch0055 -p1
671%patch0056 -p1
672%patch0057 -p1
673%patch0058 -p1
674%patch0059 -p1
675%patch0060 -p1
676%patch0061 -p1
677%patch0062 -p1
678%patch0063 -p1
679%patch0064 -p1
680%patch0065 -p1
681%patch0066 -p1
682%patch0067 -p1
683%patch0068 -p1
684%patch0069 -p1
685%patch0070 -p1
686%patch0071 -p1
687%patch0072 -p1
688%patch0073 -p1
689%patch0074 -p1
690%patch0075 -p1
691%patch0076 -p1
692%patch0077 -p1
693%patch0078 -p1
694%patch0079 -p1
695%patch0080 -p1
696%patch0081 -p1
697%patch0082 -p1
698%patch0083 -p1
699%patch0084 -p1
700%patch0085 -p1
701%patch0086 -p1
702%patch0087 -p1
703%patch0088 -p1
704%patch0089 -p1
705%patch0090 -p1
706%patch0091 -p1
707%patch0092 -p1
708%patch0093 -p1
709%patch0094 -p1
710%patch0095 -p1
711%patch0096 -p1
712%patch0097 -p1
713%patch0098 -p1
714%patch0099 -p1
715%patch0100 -p1
716%patch0101 -p1
717%patch0102 -p1
718%patch0103 -p1
719%patch0104 -p1
720%patch0105 -p1
721%patch0106 -p1
722%patch0107 -p1
723%patch0108 -p1
724%patch0109 -p1
725%patch0110 -p1
726%patch0111 -p1
727%patch0112 -p1
728%patch0113 -p1
729%patch0114 -p1
730%patch0115 -p1
731%patch0116 -p1
732%patch0117 -p1
733%patch0118 -p1
734%patch0119 -p1
735%patch0120 -p1
736%patch0121 -p1
737%patch0122 -p1
738%patch0123 -p1
739%patch0124 -p1
740%patch0125 -p1
741%patch0126 -p1
742%patch0127 -p1
743%patch0128 -p1
744%patch0129 -p1
745%patch0130 -p1
746%patch0131 -p1
747%patch0132 -p1
748%patch0133 -p1
749%patch0134 -p1
750%patch0135 -p1
751%patch0136 -p1
752%patch0137 -p1
753%patch0138 -p1
754%patch0139 -p1
755%patch0140 -p1
756%patch0141 -p1
757%patch0142 -p1
758%patch0143 -p1
759%patch0144 -p1
760%patch0145 -p1
761%patch0146 -p1
762%patch0147 -p1
763%patch0148 -p1
764%patch0149 -p1
765%patch0150 -p1
766%patch0151 -p1
767%patch0152 -p1
768%patch0153 -p1
769%patch0154 -p1
770%patch0155 -p1
771%patch0156 -p1
772%patch0157 -p1
773%patch0158 -p1
774%patch0159 -p1
775%patch0160 -p1
776%patch0161 -p1
777%patch0162 -p1
778%patch0163 -p1
779%patch0164 -p1
780%patch0165 -p1
781%patch0166 -p1
782%patch0167 -p1
783%patch0168 -p1
784%patch0169 -p1
785%patch0170 -p1
786%patch0171 -p1
787%patch0172 -p1
788%patch0173 -p1
789%patch0174 -p1
790%patch0175 -p1
791%patch0176 -p1
792%patch0177 -p1
793%patch0178 -p1
794%patch0179 -p1
795%patch0180 -p1
796%patch0181 -p1
797%patch0182 -p1
798%patch0183 -p1
799%patch0184 -p1
800%patch0185 -p1
801%patch0186 -p1
802%patch0187 -p1
803%patch0188 -p1
804%patch0189 -p1
805%patch0190 -p1
806%patch0191 -p1
807%patch0192 -p1
808%patch0193 -p1
809%patch0194 -p1
810%patch0195 -p1
811%patch0196 -p1
812%patch0197 -p1
813%patch0198 -p1
814%patch0199 -p1
815%patch0200 -p1
816%patch0201 -p1
817%patch0202 -p1
818%patch0203 -p1
819%patch0204 -p1
820%patch0205 -p1
821%patch0206 -p1
822%patch0207 -p1
823%patch0208 -p1
824%patch0209 -p1
825%patch0210 -p1
826%patch0211 -p1
827%patch0212 -p1
828%patch0213 -p1
829%patch0214 -p1
830%patch0215 -p1
831%patch0216 -p1
832%patch0217 -p1
833%patch0218 -p1
834%patch0219 -p1
835%patch0220 -p1
836%patch0221 -p1
837%patch0222 -p1
838%patch0223 -p1
839%patch0224 -p1
840%patch0225 -p1
841%patch0226 -p1
842%patch0227 -p1
843%patch0228 -p1
844%patch0229 -p1
845%patch0230 -p1
846%patch0231 -p1
847%patch0232 -p1
848%patch0233 -p1
849%patch0234 -p1
850%patch0235 -p1
851%patch0236 -p1
852%patch0237 -p1
853%patch0238 -p1
854%patch0239 -p1
855%patch0240 -p1
856%patch0241 -p1
857%patch0242 -p1
858
859%patch0400 -p1
860%patch0401 -p1
861%patch0402 -p1
862%patch0403 -p1
863%patch0404 -p1
864%patch0405 -p1
865%patch0406 -p1
866%patch0407 -p1
867%patch0408 -p1
868%patch0409 -p1
869%patch0410 -p1
870%patch0411 -p1
871%patch0412 -p1
872
873%patch0500 -p1
874%patch0501 -p1
875%patch0502 -p1
876%patch0503 -p1
877%patch0504 -p1
878%patch0505 -p1
879%patch0506 -p1
880%patch0507 -p1
881%patch0508 -p1
882%patch0509 -p1
883%patch0510 -p1
884%patch0511 -p1
885%patch0512 -p1
886%patch0513 -p1
887%patch0514 -p1
888%patch0515 -p1
889%patch0516 -p1
890%patch0517 -p1
891%patch0518 -p1
892
893%patch0600 -p1
894%patch0601 -p1
895%patch0602 -p1
896%patch0603 -p1
897%patch0604 -p1
898%patch0605 -p1
899%patch0606 -p1
900%patch0607 -p1
901%patch0608 -p1
902%patch0609 -p1
903%patch0610 -p1
904%patch0611 -p1
905%patch0612 -p1
906%patch0613 -p1
907%patch0614 -p1
908%patch0615 -p1
909%patch0616 -p1
910%patch0617 -p1
911%patch0618 -p1
912%patch0619 -p1
913%patch0620 -p1
914%patch0621 -p1
915%patch0622 -p1
916%patch0623 -p1
917%patch0624 -p1
918%patch0625 -p1
919%patch0626 -p1
920%patch0627 -p1
921%patch0628 -p1
922%patch0629 -p1
923%patch0630 -p1
924%patch0631 -p1
925%patch0632 -p1
926%patch0633 -p1
927%patch0634 -p1
928
929%patch0800 -p1
930%patch0801 -p1
931%patch802 -p1
932%patch803 -p1
933%patch804 -p1
934
935
936%build
937# --build-id option is used fedora 8 onwards for giving info to the debug packages.
938extraldflags="-Wl,--build-id";
939buildldflags="VL_LDFLAGS=-Wl,--build-id"
940
941%ifarch %{ix86} x86_64
942# sdl outputs to alsa or pulseaudio depending on system config, but it's broken (#495964)
943# alsa works, but causes huge CPU load due to bugs
944# oss works, but is very problematic because it grabs exclusive control of the device causing other apps to go haywire
945./configure \
946        --target-list=x86_64-softmmu \
947        --prefix=%{_prefix} \
948        --sysconfdir=%{_sysconfdir} \
949        --audio-drv-list=pa,sdl,alsa,oss \
950        --disable-strip \
951        --extra-ldflags=$extraldflags \
952        --extra-cflags="$RPM_OPT_FLAGS" \
953        --disable-xen
954
955echo "config-host.mak contents:"
956echo "==="
957cat config-host.mak
958echo "==="
959
960make V=1 %{?_smp_mflags} $buildldflags
961cp -a x86_64-softmmu/qemu-system-x86_64 qemu-kvm
962make clean
963
964%endif
965
966./configure \
967    --target-list="i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu \
968                mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu \
969                ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu \
970                i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user \
971                armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user \
972                mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user \
973                sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user \
974                sparc32plus-linux-user" \
975    --prefix=%{_prefix} \
976    --sysconfdir=%{_sysconfdir} \
977    --interp-prefix=%{_prefix}/qemu-%%M \
978    --audio-drv-list=pa,sdl,alsa,oss \
979    --disable-kvm \
980    --disable-strip \
981    --extra-ldflags=$extraldflags \
982    --extra-cflags="$RPM_OPT_FLAGS" \
983    --disable-xen
984
985echo "config-host.mak contents:"
986echo "==="
987cat config-host.mak
988echo "==="
989
990make V=1 %{?_smp_mflags} $buildldflags
991
992%install
993rm -rf $RPM_BUILD_ROOT
994
995install -D -p -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_initdir}/ksm
996install -D -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ksm
997
998install -D -p -m 0755 %{SOURCE6} $RPM_BUILD_ROOT%{_initdir}/ksmtuned
999install -D -p -m 0755 %{SOURCE7} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
1000install -D -p -m 0644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
1001
1002%ifarch %{ix86} x86_64
1003mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
1004mkdir -p $RPM_BUILD_ROOT%{_bindir}/
1005mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
1006mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
1007mkdir -p $RPM_BUILD_ROOT%{qemudocdir}
1008
1009install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/kvm.modules
1010install -m 0755 scripts/kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}/
1011install -m 0755 qemu-kvm $RPM_BUILD_ROOT%{_bindir}/
1012install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
1013%endif
1014
1015make DESTDIR=$RPM_BUILD_ROOT install
1016chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man1/*
1017install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_initdir}/qemu
1018install -D -p -m 0644 -t ${RPM_BUILD_ROOT}%{qemudocdir} Changelog README TODO COPYING COPYING.LIB LICENSE
1019
1020install -D -p -m 0644 qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl2/qemu.conf
1021
1022# comment out for Vine Linux, use orignal ROM image
1023# rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe*bin
1024# rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/vgabios*bin
1025# rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bios.bin
1026# rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-ppc
1027# rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc32
1028# rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc64
1029rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe-eepro100.rom
1030rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/petalogix*.dtb
1031rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-zipl.rom
1032rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bamboo.dtb
1033rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/slof.bin
1034rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/spapr-rtas.bin
1035rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/palcode-clipper
1036
1037# the pxe gpxe images will be symlinks to the images on
1038# /usr/share/gpxe, as QEMU doesn't know how to look
1039# for other paths, yet.
1040pxe_link() {
1041  ln -s ../gpxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.bin
1042}
1043
1044# comment out for Vine Linux, use orignal ROM image
1045# pxe_link e1000 e1000-0x100e
1046# pxe_link ne2k_pci rtl8029
1047# pxe_link pcnet pcnet32
1048# pxe_link rtl8139 rtl8139
1049# pxe_link virtio virtio-net
1050# ln -s ../vgabios/VGABIOS-lgpl-latest.bin  %{buildroot}/%{_datadir}/%{name}/vgabios.bin
1051# ln -s ../vgabios/VGABIOS-lgpl-latest.cirrus.bin %{buildroot}/%{_datadir}/%{name}/vgabios-cirrus.bin
1052# ln -s ../bochs/BIOS-bochs-kvm %{buildroot}/%{_datadir}/%{name}/bios.bin
1053# ln -s ../openbios/openbios-ppc %{buildroot}/%{_datadir}/%{name}/openbios-ppc
1054# ln -s ../openbios/openbios-sparc32 %{buildroot}/%{_datadir}/%{name}/openbios-sparc32
1055# ln -s ../openbios/openbios-sparc64 %{buildroot}/%{_datadir}/%{name}/openbios-sparc64
1056
1057%clean
1058rm -rf $RPM_BUILD_ROOT
1059
1060%post system-x86
1061%ifarch %{ix86} x86_64
1062# load kvm modules now, so we can make sure no reboot is needed.
1063# If there's already a kvm module installed, we don't mess with it
1064sh %{_sysconfdir}/sysconfig/modules/kvm.modules
1065%endif
1066
1067%post common
1068getent group kvm >/dev/null || groupadd -g 36 -r kvm
1069getent group qemu >/dev/null || groupadd -g 107 -r qemu
1070getent passwd qemu >/dev/null || \
1071  useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
1072    -c "qemu user" qemu
1073
1074/sbin/chkconfig --add ksm
1075/sbin/chkconfig --add ksmtuned
1076
1077%preun common
1078if [ $1 -eq 0 ]; then
1079    /sbin/service ksmtuned stop &>/dev/null || :
1080    /sbin/chkconfig --del ksmtuned
1081    /sbin/service ksm stop &>/dev/null || :
1082    /sbin/chkconfig --del ksm
1083fi
1084
1085%postun common
1086if [ $1 -ge 1 ]; then
1087    /sbin/service ksm condrestart &>/dev/null || :
1088    /sbin/service ksmtuned condrestart &>/dev/null || :
1089fi
1090
1091%post user
1092/sbin/chkconfig --add qemu
1093
1094%preun user
1095if [ $1 -eq 0 ]; then
1096    /sbin/service qemu stop &>/dev/null || :
1097    /sbin/chkconfig --del qemu
1098fi
1099
1100%postun user
1101if [ $1 -ge 1 ]; then
1102    /sbin/service qemu condrestart &>/dev/null || :
1103fi
1104
1105%files
1106%defattr(-,root,root)
1107
1108%files kvm
1109%defattr(-,root,root)
1110
1111%files common
1112%defattr(-,root,root)
1113%doc %{qemudocdir}/Changelog
1114%doc %{qemudocdir}/README
1115%doc %{qemudocdir}/TODO
1116%doc %{qemudocdir}/qemu-doc.html
1117%doc %{qemudocdir}/qemu-tech.html
1118%doc %{qemudocdir}/qmp-commands.txt
1119%doc %{qemudocdir}/COPYING
1120%doc %{qemudocdir}/COPYING.LIB
1121%doc %{qemudocdir}/LICENSE
1122%dir %{_datadir}/%{name}/
1123%{_datadir}/%{name}/keymaps/
1124%{_mandir}/man1/qemu.1*
1125%{_mandir}/man1/virtfs-proxy-helper.1*
1126%{_mandir}/man8/qemu-nbd.8*
1127%{_bindir}/qemu-nbd
1128%{_bindir}/virtfs-proxy-helper
1129%{_libexecdir}/qemu-bridge-helper
1130%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
1131%{_initdir}/ksm
1132%config(noreplace) %{_sysconfdir}/sysconfig/ksm
1133%{_initdir}/ksmtuned
1134%{_sbindir}/ksmtuned
1135%config(noreplace) %{_sysconfdir}/ksmtuned.conf
1136
1137%files guest-agent
1138%defattr(-,root,root,-)
1139%doc COPYING README
1140%{_bindir}/qemu-ga
1141
1142%files user
1143%defattr(-,root,root)
1144%{_initdir}/qemu
1145%{_bindir}/qemu-alpha
1146%{_bindir}/qemu-arm
1147%{_bindir}/qemu-armeb
1148%{_bindir}/qemu-cris
1149%{_bindir}/qemu-i386
1150%{_bindir}/qemu-x86_64
1151%{_bindir}/qemu-m68k
1152%{_bindir}/qemu-mips
1153%{_bindir}/qemu-mipsel
1154%{_bindir}/qemu-ppc
1155%{_bindir}/qemu-ppc64
1156%{_bindir}/qemu-ppc64abi32
1157%{_bindir}/qemu-sh4
1158%{_bindir}/qemu-sh4eb
1159%{_bindir}/qemu-sparc
1160%{_bindir}/qemu-sparc64
1161%{_bindir}/qemu-sparc32plus
1162
1163%files system-x86
1164%defattr(-,root,root)
1165%{_bindir}/qemu-system-i386
1166%{_bindir}/qemu-system-x86_64
1167%{_datadir}/%{name}/bios.bin
1168%{_datadir}/%{name}/sgabios.bin
1169%{_datadir}/%{name}/linuxboot.bin
1170%{_datadir}/%{name}/multiboot.bin
1171%{_datadir}/%{name}/kvmvapic.bin
1172%{_datadir}/%{name}/vgabios.bin
1173%{_datadir}/%{name}/vgabios-cirrus.bin
1174%{_datadir}/%{name}/vgabios-qxl.bin
1175%{_datadir}/%{name}/vgabios-stdvga.bin
1176%{_datadir}/%{name}/vgabios-vmware.bin
1177%{_datadir}/%{name}/pxe-e1000.rom
1178%{_datadir}/%{name}/pxe-virtio.rom
1179%{_datadir}/%{name}/pxe-pcnet.rom
1180%{_datadir}/%{name}/pxe-rtl8139.rom
1181%{_datadir}/%{name}/pxe-ne2k_pci.rom
1182%{_datadir}/%{name}/cpus-x86_64.conf
1183%{_datadir}/%{name}/qemu-icon.bmp
1184%config(noreplace) %{_sysconfdir}/qemu/target-x86_64.conf
1185%ifarch %{ix86} x86_64
1186%{_bindir}/qemu-kvm
1187%{_sysconfdir}/sysconfig/modules/kvm.modules
1188%{_sysconfdir}/udev/rules.d/80-kvm.rules
1189%files kvm-tools
1190%defattr(-,root,root,-)
1191%{_bindir}/kvm_stat
1192%endif
1193
1194%files system-sparc
1195%defattr(-,root,root)
1196%{_bindir}/qemu-system-sparc
1197%{_datadir}/%{name}/openbios-sparc32
1198%{_datadir}/%{name}/openbios-sparc64
1199
1200%files system-arm
1201%defattr(-,root,root)
1202%{_bindir}/qemu-system-arm
1203
1204%files system-mips
1205%defattr(-,root,root)
1206%{_bindir}/qemu-system-mips
1207%{_bindir}/qemu-system-mipsel
1208%{_bindir}/qemu-system-mips64
1209%{_bindir}/qemu-system-mips64el
1210
1211%files system-ppc
1212%defattr(-,root,root)
1213%{_bindir}/qemu-system-ppc
1214%{_bindir}/qemu-system-ppc64
1215%{_bindir}/qemu-system-ppcemb
1216%{_datadir}/%{name}/openbios-ppc
1217# %{_datadir}/%{name}/video.x
1218# %{_datadir}/%{name}/bamboo.dtb
1219%{_datadir}/%{name}/ppc_rom.bin
1220
1221%files system-cris
1222%defattr(-,root,root)
1223%{_bindir}/qemu-system-cris
1224
1225%files system-m68k
1226%defattr(-,root,root)
1227%{_bindir}/qemu-system-m68k
1228
1229%files system-sh4
1230%defattr(-,root,root)
1231%{_bindir}/qemu-system-sh4
1232%{_bindir}/qemu-system-sh4eb
1233
1234%files img
1235%defattr(-,root,root)
1236%{_bindir}/qemu-img
1237%{_bindir}/qemu-io
1238%{_bindir}/vscclient
1239%{_mandir}/man1/qemu-img.1*
1240
1241%changelog
1242* Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
1243- updated to qemu-kvm-1.2.0, based on Fedora 19 Package
1244
1245* Mon Nov 23 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 0.11.0-12
1246- updated to qemu-kvm-0.11.0, based on Fedora 12 Package
1247- Use %%{_initdir} macro instead of %%{_initddir}
1248- previous Vine changelogs as follows:
1249
1250  - Sun Nov 08 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.10.6-1
1251  - added BuildRequires: alsa-lib-devel and gnutls-devel
1252  - updated Patch0, imported qemu-fix-debuginfo.patch from Fedora as Patch10
1253  - updated Source1: qemu.init
1254  - dropped Obsolete Patch1, 4, 5 and 6
1255
1256  - Sun Feb 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.1-3
1257  - rebuild with gnutls-2.6.3
1258  - add patch6 from fedora development package
1259
1260  - Sun Aug 24 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.1-2
1261  - spec in UTF-8
1262  - import several patches and treats from Fedora 0.9.1-10
1263
1264  - Tue Apr 22 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.1-1
1265  - apply new versioning policy.
1266  - don't discard messages in %%post & %%preun.
1267
1268  - Wed Jan 09 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.1-0vl1
1269  - new upstream release.
1270  - use ./configure script and specify options.
1271    (some options given by %%configure macro causes errors...)
1272  - add BuildRequires: texi2html.
1273  - add html documents and man pages in %%files.
1274
1275  - Wed Mar 07 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.0-0vl1
1276  - new upstream release.
1277  - drop Patch2.
1278
1279  - Mon Nov 13 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-0vl2
1280  - set max-user-freq of rtc in qemu.init.
1281
1282  - Thu Aug 03 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-0vl1
1283  - new upstream release.
1284  - drop *.html and man qemu*.
1285    texi2html and pod2man is required to create these documents because
1286    document creation is now optional. But texi2html and pod2man are not
1287    exist in current vine repository.
1288
1289  - Sat Jun 17 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1
1290  - new upstream release.
1291  - update description.
1292  - add japanese description.
1293  - update Patch1(qemu-0.7.0-build.patch) to Patch3(qemu-0.8.1-build.patch)
1294  - add %%{_datadir}/qemu/video.x in %%files section.
1295  - add man files installation script in %%install section.
1296  - change Group to Applications/Other.
1297
1298  - Tue Sep  6 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-0vl1
1299  - new upstream release
1300
1301  - Wed May 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0vl2
1302  - fix kanjicode in specfile.
1303
1304  - Fri May 06 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0vl1
1305  - initial build for Vine Linux
1306
1307* Wed Nov  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-11
1308- Temporarily disable preadv/pwritev support to fix data corruption (#526549)
1309
1310* Tue Nov  3 2009 Justin M. Forbes <jforbes@redhat.com> - 2:0.11.0-10
1311- Default ksm and ksmtuned services on.
1312
1313* Thu Oct 29 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-9
1314- Fix dropped packets with non-virtio NICs (#531419)
1315
1316* Wed Oct 21 2009 Glauber Costa <gcosta@redhat.com> - 2:0.11.0-8
1317- Properly save kvm time registers (#524229)
1318
1319* Mon Oct 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-7
1320- Fix potential segfault from too small MSR_COUNT (#528901)
1321
1322* Fri Oct  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-6
1323- Fix fs errors with virtio and qcow2 backing file (#524734)
1324- Fix ksm initscript errors on kernel missing ksm (#527653)
1325- Add missing Requires(post): getent, useradd, groupadd (#527087)
1326
1327* Tue Oct  6 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-5
1328- Add 'retune' verb to ksmtuned init script
1329
1330* Mon Oct  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-4
1331- Use rtl8029 PXE rom for ne2k_pci, not ne (#526777)
1332- Also, replace the gpxe-roms-qemu pkg requires with file-based requires
1333
1334* Thu Oct  1 2009 Justin M. Forbes <jmforbes@redhat.com> - 2:0.11.0-3
1335- Improve error reporting on file access (#524695)
1336
1337* Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-2
1338- Fix pci hotplug to not exit if supplied an invalid NIC model (#524022)
1339
1340* Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-1
1341- Update to 0.11.0 release
1342- Drop a couple of upstreamed patches
1343
1344* Wed Sep 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-5
1345- Fix issue causing NIC hotplug confusion when no model is specified (#524022)
1346
1347* Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-4
1348- Fix for KSM patch from Justin Forbes
1349
1350* Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-3
1351- Add ksmtuned, also from Dan Kenigsberg
1352- Use %_initddir macro
1353
1354* Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-2
1355- Add ksm control script from Dan Kenigsberg
1356
1357* Mon Sep  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-1
1358- Update to qemu-kvm-0.11.0-rc2
1359- Drop upstreamed patches
1360- extboot install now fixed upstream
1361- Re-place TCG init fix (#516543) with the one gone upstream
1362
1363* Mon Sep  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.10.rc1
1364- Fix MSI-X error handling on older kernels (#519787)
1365
1366* Fri Sep  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.9.rc1
1367- Make pulseaudio the default audio backend (#519540, #495964, #496627)
1368
1369* Thu Aug 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2:0.10.91-0.8.rc1
1370- Fix segfault when qemu-kvm is invoked inside a VM (#516543)
1371
1372* Tue Aug 18 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.7.rc1
1373- Fix permissions on udev rules (#517571)
1374
1375* Mon Aug 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 2:0.10.91-0.6.rc1
1376- Allow blacklisting of kvm modules (#517866)
1377
1378* Fri Aug  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.5.rc1
1379- Fix virtio_net with -net user (#516022)
1380
1381* Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.4.rc1
1382- Update to qemu-kvm-0.11-rc1; no changes from rc1-rc0
1383
1384* Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.3.rc1.rc0
1385- Fix extboot checksum (bug #514899)
1386
1387* Fri Jul 31 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.2.rc1.rc0
1388- Add KSM support
1389- Require bochs-bios >= 2.3.8-0.8 for latest kvm bios updates
1390
1391* Thu Jul 30 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.1.rc1.rc0
1392- Update to qemu-kvm-0.11.0-rc1-rc0
1393- This is a pre-release of the official -rc1
1394- A vista installer regression is blocking the official -rc1 release
1395- Drop qemu-prefer-sysfs-for-usb-host-devices.patch
1396- Drop qemu-fix-build-for-esd-audio.patch
1397- Drop qemu-slirp-Fix-guestfwd-for-incoming-data.patch
1398- Add patch to ensure extboot.bin is installed
1399
1400* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.10.50-14.kvm88
1401- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1402
1403* Thu Jul 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-13.kvm88
1404- Fix bug 513249, -net channel option is broken
1405
1406* Thu Jul 16 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.10.50-12.kvm88
1407- Add 'qemu' user and group accounts
1408- Force disable xen until it can be made to build
1409
1410* Thu Jul 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-11.kvm88
1411- Update to kvm-88, see http://www.linux-kvm.org/page/ChangeLog
1412- Package mutiboot.bin
1413- Update for how extboot is built
1414- Fix sf.net source URL
1415- Drop qemu-fix-ppc-softmmu-kvm-disabled-build.patch
1416- Drop qemu-fix-pcspk-build-with-kvm-disabled.patch
1417- Cherry-pick fix for esound support build failure
1418
1419* Wed Jul 15 2009 Daniel Berrange <berrange@lettuce.camlab.fab.redhat.com> - 2:0.10.50-10.kvm87
1420- Add udev rules to make /dev/kvm world accessible & group=kvm (rhbz #497341)
1421- Create a kvm group if it doesn't exist (rhbz #346151)
1422
1423* Tue Jul 07 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-9.kvm87
1424- use pxe roms from gpxe, instead of etherboot package.
1425
1426* Fri Jul  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-8.kvm87
1427- Prefer sysfs over usbfs for usb passthrough (#508326)
1428
1429* Sat Jun 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-7.kvm87
1430- Update to kvm-87
1431- Drop upstreamed patches
1432- Cherry-pick new ppc build fix from upstream
1433- Work around broken linux-user build on ppc
1434- Fix hw/pcspk.c build with --disable-kvm
1435- Re-enable preadv()/pwritev() since #497429 is long since fixed
1436- Kill petalogix-s3adsp1800.dtb, since we don't ship the microblaze target
1437
1438* Fri Jun  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-6.kvm86
1439- Fix 'kernel requires an x86-64 CPU' error
1440- BuildRequires ncurses-devel to enable '-curses' option (#504226)
1441
1442* Wed Jun  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-5.kvm86
1443- Prevent locked cdrom eject - fixes hang at end of anaconda installs (#501412)
1444- Avoid harmless 'unhandled wrmsr' warnings (#499712)
1445
1446* Thu May 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-4.kvm86
1447- Update to kvm-86 release
1448- ChangeLog here: http://marc.info/?l=kvm&m=124282885729710
1449
1450* Fri May  1 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-3.kvm85
1451- Really provide qemu-kvm as a metapackage for comps
1452
1453* Tue Apr 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-2.kvm85
1454- Provide qemu-kvm as a metapackage for comps
1455
1456* Mon Apr 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-1.kvm85
1457- Update to qemu-kvm-devel-85
1458- kvm-85 is based on qemu development branch, currently version 0.10.50
1459- Include new qemu-io utility in qemu-img package
1460- Re-instate -help string for boot=on to fix virtio booting with libvirt
1461- Drop upstreamed patches
1462- Fix missing kernel/include/asm symlink in upstream tarball
1463- Fix target-arm build
1464- Fix build on ppc
1465- Disable preadv()/pwritev() until bug #497429 is fixed
1466- Kill more .kernelrelease uselessness
1467- Make non-kvm qemu build verbose
1468
1469* Fri Apr 24 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-15
1470- Fix source numbering typos caused by make-release addition
1471
1472* Thu Apr 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-14
1473- Improve instructions for generating the tarball
1474
1475* Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-13
1476- Enable pulseaudio driver to fix qemu lockup at shutdown (#495964)
1477
1478* Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-12
1479- Another qcow2 image corruption fix (#496642)
1480
1481* Mon Apr 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-11
1482- Fix qcow2 image corruption (#496642)
1483
1484* Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-10
1485- Run sysconfig.modules from %post on x86_64 too (#494739)
1486
1487* Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-9
1488- Align VGA ROM to 4k boundary - fixes 'qemu-kvm -std vga' (#494376)
1489
1490* Tue Apr  14 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-8
1491- Provide qemu-kvm conditional on the architecture.
1492
1493* Thu Apr  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-7
1494- Add a much cleaner fix for vga segfault (#494002)
1495
1496* Sun Apr  5 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-6
1497- Fixed qcow2 segfault creating disks over 2TB. #491943
1498
1499* Fri Apr  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-5
1500- Fix vga segfault under kvm-autotest (#494002)
1501- Kill kernelrelease hack; it's not needed
1502- Build with "make V=1" for more verbose logs
1503
1504* Thu Apr 02 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-4
1505- Support botting gpxe roms.
1506
1507* Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-2
1508- added missing patch. love for CVS.
1509
1510* Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-1
1511- Include debuginfo for qemu-img
1512- Do not require qemu-common for qemu-img
1513- Explicitly own each of the firmware files
1514- remove firmwares for ppc and sparc. They should be provided by an external package.
1515  Not that the packages exists for sparc in the secondary arch repo as noarch, but they
1516  don't automatically get into main repos. Unfortunately it's the best we can do right
1517  now.
1518- rollback a bit in time. Snapshot from avi's maint/2.6.30
1519  - this requires the sasl patches to come back.
1520  - with-patched-kernel comes back.
1521
1522* Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-0.12.kvm20090323git
1523- BuildRequires pciutils-devel for device assignment (#492076)
1524
1525* Mon Mar 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.11.kvm20090323git
1526- Update to snapshot kvm20090323.
1527- Removed patch2 (upstream).
1528- use upstream's new split package.
1529- --with-patched-kernel flag not needed anymore
1530- Tell how to get the sources.
1531
1532* Wed Mar 18 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.10.kvm20090310git
1533- Added extboot to files list.
1534
1535* Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.9.kvm20090310git
1536- Fix wrong reference to bochs bios.
1537
1538* Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.8.kvm20090310git
1539- fix Obsolete/Provides pair
1540- Use kvm bios from bochs-bios package.
1541- Using RPM_OPT_FLAGS in configure
1542- Picked back audio-drv-list from kvm package
1543
1544* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.7.kvm20090310git
1545- modify ppc patch
1546
1547* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.6.kvm20090310git
1548- updated to kvm20090310git
1549- removed sasl patches (already in this release)
1550
1551* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.5.kvm20090303git
1552- kvm.modules were being wrongly mentioned at %%install.
1553- update description for the x86 system package to include kvm support
1554- build kvm's own bios. It is still necessary while kvm uses a slightly different
1555  irq routing mechanism
1556
1557* Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.4.kvm20090303git
1558- seems Epoch does not go into the tags. So start back here.
1559
1560* Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.1.kvm20090303git
1561- Use bochs-bios instead of bochs-bios-data
1562- It's official: upstream set on 0.10
1563
1564* Thu Mar  5 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.9.2-0.2.kvm20090303git
1565- Added BSD to license list, since many files are covered by BSD
1566
1567* Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.9.2-0.1.kvm20090303git
1568- missing a dot. shame on me
1569
1570* Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.92-0.1.kvm20090303git
1571- Set Epoch to 2
1572- Set version to 0.92. It seems upstream keep changing minds here, so pick the lowest
1573- Provides KVM, Obsoletes KVM
1574- Only install qemu-kvm in ix86 and x86_64
1575- Remove pkgdesc macros, as they were generating bogus output for rpm -qi.
1576- fix ppc and ppc64 builds
1577
1578* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.3.kvm20090303git
1579- only execute post scripts for user package.
1580- added kvm tools.
1581
1582* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.2.kvm20090303git
1583- put kvm.modules into cvs
1584
1585* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.1.kvm20090303git
1586- Set Epoch to 1
1587- Build KVM (basic build, no tools yet)
1588- Set ppc in ExcludeArch. This is temporary, just to fix one issue at a time.
1589  ppc users (IBM ? ;-)) please wait a little bit.
1590
1591* Tue Mar  3 2009 Daniel P. Berrange <berrange@redhat.com> - 1.0-0.5.svn6666
1592- Support VNC SASL authentication protocol
1593- Fix dep on bochs-bios-data
1594
1595* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.4.svn6666
1596- use bios from bochs-bios package.
1597
1598* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.3.svn6666
1599- use vgabios from vgabios package.
1600
1601* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.2.svn6666
1602- use pxe roms from etherboot package.
1603
1604* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.1.svn6666
1605- Updated to tip svn (release 6666). Featuring split packages for qemu.
1606  Unfortunately, still using binary blobs for the bioses.
1607
1608* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13
1609- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1610
1611* Sun Jan 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.9.1-12
1612- Updated build patch. Closes Red Hat Bugzilla bug #465041.
1613
1614* Wed Dec 31 2008 Dennis Gilmore <dennis@ausil.us> - 0.9.1-11
1615- add sparcv9 and sparc64 support
1616
1617* Fri Jul 25 2008 Bill Nottingham <notting@redhat.com>
1618- Fix qemu-img summary (#456344)
1619
1620* Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-10.fc10
1621- Rebuild for GNU TLS ABI change
1622
1623* Wed Jun 11 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-9.fc10
1624- Remove bogus wildcard from files list (rhbz #450701)
1625
1626* Sat May 17 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-8
1627- Register binary handlers also for shared libraries
1628
1629* Mon May  5 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-7.fc10
1630- Fix text console PTYs to be in rawmode
1631
1632* Sun Apr 27 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.9.1-6
1633- Register binary handler for SuperH-4 CPU
1634
1635* Wed Mar 19 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-5.fc9
1636- Split qemu-img tool into sub-package for smaller footprint installs
1637
1638* Wed Feb 27 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-4.fc9
1639- Fix block device checks for extendable disk formats (rhbz #435139)
1640
1641* Sat Feb 23 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-3.fc9
1642- Fix block device extents check (rhbz #433560)
1643
1644* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-2
1645- Autorebuild for GCC 4.3
1646
1647* Tue Jan  8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-1.fc9
1648- Updated to 0.9.1 release
1649- Fix license tag syntax
1650- Don't mark init script as a config file
1651
1652* Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-5.fc8
1653- Fix rtl8139 checksum calculation for Vista (rhbz #308201)
1654
1655* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-4.fc8
1656- Fix debuginfo by passing -Wl,--build-id to linker
1657
1658* Tue Aug 28 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-4
1659- Update licence
1660- Fix CDROM emulation (#253542)
1661
1662* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-3.fc8
1663- Added backport of VNC password auth, and TLS+x509 cert auth
1664- Switch to rtl8139 NIC by default for linkstate reporting
1665- Fix rtl8139 mmio region mappings with multiple NICs
1666
1667* Sun Apr  1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.0-2
1668- Fix direct loading of a linux kernel with -kernel & -initrd (bz 234681)
1669- Remove spurious execute bits from manpages (bz 222573)
1670
1671* Tue Feb  6 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-1
1672- Update to 0.9.0
1673
1674* Wed Jan 31 2007 David Woodhouse <dwmw2@infradead.org> 0.8.2-5
1675- Include licences
1676
1677* Mon Nov 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.2-4
1678- Backport patch to make FC6 guests work by Kevin Kofler
1679  <Kevin@tigcc.ticalc.org> (bz 207843).
1680
1681* Mon Sep 11 2006 David Woodhouse <dwmw2@infradead.org> 0.8.2-3
1682- Rebuild
1683
1684* Thu Aug 24 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-2
1685- Remove the target-list iteration for x86_64 since they all build again.
1686- Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for
1687  FC5 and FC6.
1688
1689* Wed Aug 23 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-1
1690- Update to 0.8.2 (#200065).
1691- Drop upstreamed syscall-macros patch2.
1692- Put correct scriplet dependencies.
1693- Force install mode for the init script to avoid umask problems.
1694- Add %%postun condrestart for changes to the init script to be applied if any.
1695- Update description with the latest "about" from the web page (more current).
1696- Update URL to qemu.org one like the Source.
1697- Add which build requirement.
1698- Don't include texi files in %%doc since we ship them in html.
1699- Switch to using gcc34 on devel, FC5 still has gcc32.
1700- Add kernheaders patch to fix linux/compiler.h inclusion.
1701- Add target-sparc patch to fix compiling on ppc (some int32 to float).
1702
1703* Thu Jun  8 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-3
1704- More header abuse in modify_ldt(), change BuildRoot:
1705
1706* Wed Jun  7 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-2
1707- Fix up kernel header abuse
1708
1709* Tue May 30 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-1
1710- Update to 0.8.1
1711
1712* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-6
1713- Update linker script for PPC
1714
1715* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-5
1716- Just drop $RPM_OPT_FLAGS. They're too much of a PITA
1717
1718* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-4
1719- Disable stack-protector options which gcc 3.2 doesn't like
1720
1721* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-3
1722- Use -mcpu= instead of -mtune= on x86_64 too
1723- Disable SPARC targets on x86_64, because dyngen doesn't like fnegs
1724
1725* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-2
1726- Don't use -mtune=pentium4 on i386. GCC 3.2 doesn't like it
1727
1728* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-1
1729- Update to 0.8.0
1730- Resort to using compat-gcc-32
1731- Enable ALSA
1732
1733* Mon May 16 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-2
1734- Proper fix for GCC 4 putting 'blr' or 'ret' in the middle of the function,
1735  for i386, x86_64 and PPC.
1736
1737* Sat Apr 30 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-1
1738- Update to 0.7.0
1739- Fix dyngen for PPC functions which end in unconditional branch
1740
1741* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
1742- rebuilt
1743
1744* Sun Feb 13 2005 David Woodhouse <dwmw2@infradead.org> 0.6.1-2
1745- Package cleanup
1746
1747* Sun Nov 21 2004 David Woodhouse <dwmw2@redhat.com> 0.6.1-1
1748- Update to 0.6.1
1749
1750* Tue Jul 20 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-2
1751- Compile fix from qemu CVS, add x86_64 host support
1752
1753* Mon May 12 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-1
1754- Update to 0.6.0.
1755
1756* Sat May 8 2004 David Woodhouse <dwmw2@redhat.com> 0.5.5-1
1757- Update to 0.5.5.
1758
1759* Thu May 2 2004 David Woodhouse <dwmw2@redhat.com> 0.5.4-1
1760- Update to 0.5.4.
1761
1762* Thu Apr 22 2004 David Woodhouse <dwmw2@redhat.com> 0.5.3-1
1763- Update to 0.5.3. Add init script.
1764
1765* Thu Jul 17 2003 Jeff Johnson <jbj@redhat.com> 0.4.3-1
1766- Create.
Note: See TracBrowser for help on using the repository browser.