[qemu/f18] Fix boot hang if console is not connected (bz #894451) Fix segfault with zero length virtio-scsi dis

Cole Robinson crobinso at fedoraproject.org
Sat Feb 2 20:47:43 UTC 2013


commit 9290838132369d5fa45896ed07d42fbba1d605bb
Author: Cole Robinson <crobinso at redhat.com>
Date:   Sat Feb 2 15:47:37 2013 -0500

    Fix boot hang if console is not connected (bz #894451)
    Fix segfault with zero length virtio-scsi disk (bz #847549)

 ...xtensa-convert-host-errno-values-to-guest.patch |    3 -
 0002-target-cris-Fix-buffer-overflow.patch         |    3 -
 ...tensa-fix-missing-errno-codes-for-mingw32.patch |    3 -
 ...c-fix-fcmp-s-d-q-instructions-wrt-excepti.patch |    3 -
 0005-target-s390x-fix-style.patch                  |    3 -
 0006-target-s390x-split-FPU-ops.patch              |    3 -
 ...target-s390x-split-condition-code-helpers.patch |    3 -
 0008-target-s390x-split-integer-helpers.patch      |    3 -
 ...-target-s390x-split-memory-access-helpers.patch |    3 -
 ...s390x-rename-op_helper.c-to-misc_helper.c.patch |    3 -
 ...-target-s390x-avoid-AREG0-for-FPU-helpers.patch |    3 -
 ...get-s390x-avoid-AREG0-for-integer-helpers.patch |    3 -
 ...0x-avoid-AREG0-for-condition-code-helpers.patch |    3 -
 ...target-s390x-avoid-AREG0-for-misc-helpers.patch |    3 -
 0015-target-s390x-switch-to-AREG0-free-mode.patch  |    3 -
 ...s390-fix-ld-st-with-CONFIG_TCG_PASS_AREG0.patch |    3 -
 ...-target-arm-Fix-potential-buffer-overflow.patch |    3 -
 ...-optimize-split-expression-simplification.patch |    3 -
 ...-tcg-optimize-simplify-or-xor-r-a-0-cases.patch |    3 -
 0020-tcg-optimize-simplify-and-r-a-0-cases.patch   |    3 -
 ...e-simplify-shift-rot-r-0-a-movi-r-0-cases.patch |    3 -
 ...e-swap-brcond-setcond-arguments-when-poss.patch |    3 -
 ...optimize-add-constant-folding-for-setcond.patch |    3 -
 ...-optimize-add-constant-folding-for-brcond.patch |    3 -
 ...g-optimize-fix-if-else-break-coding-style.patch |    3 -
 0026-target-s390x-avoid-cpu_single_env.patch       |    3 -
 0027-target-lm32-switch-to-AREG0-free-mode.patch   |    3 -
 0028-target-m68k-switch-to-AREG0-free-mode.patch   |    3 -
 0029-target-m68k-avoid-using-cpu_single_env.patch  |    3 -
 ...arget-unicore32-switch-to-AREG0-free-mode.patch |    3 -
 0031-target-arm-convert-void-helpers.patch         |    3 -
 0032-target-arm-convert-remaining-helpers.patch    |    3 -
 ...t-arm-final-conversion-to-AREG0-free-mode.patch |    3 -
 ...rget-microblaze-switch-to-AREG0-free-mode.patch |    3 -
 0035-target-cris-Avoid-AREG0-for-helpers.patch     |    3 -
 0036-target-cris-Switch-to-AREG0-free-mode.patch   |    3 -
 0037-target-sh4-switch-to-AREG0-free-mode.patch    |    3 -
 0038-target-mips-switch-to-AREG0-free-mode.patch   |    3 -
 ...nused-CONFIG_TCG_PASS_AREG0-and-dead-code.patch |    3 -
 ...cg-i386-allow-constants-in-load-store-ops.patch |    3 -
 ...g-mark-set_label-with-TCG_OPF_BB_END-flag.patch |    3 -
 0042-revert-TCG-fix-copy-propagation.patch         |    3 -
 ...-target-mips-Set-opn-in-gen_ldst_multiple.patch |    3 -
 0044-target-mips-Fix-MIPS_DEBUG.patch              |    3 -
 ...-Always-evaluate-debugging-macro-argument.patch |    3 -
 ...optimize-fix-end-of-basic-block-detection.patch |    3 -
 0047-target-xtensa-fix-extui-shift-amount.patch    |    3 -
 ...t-xtensa-don-t-emit-extra-tcg_gen_goto_tb.patch |    3 -
 0049-tcg-Introduce-movcond.patch                   |    3 -
 0050-target-alpha-Use-movcond.patch                |    3 -
 0051-tcg-i386-Implement-movcond.patch              |    3 -
 ...Optimize-movcond-for-constant-comparisons.patch |    3 -
 ...timize-two-address-commutative-operations.patch |    3 -
 ...-fix-build-with-USE_SOFTFLOAT_STRUCT_TYPE.patch |    3 -
 0055-tcg-Fix-USE_DIRECT_JUMP.patch                 |    3 -
 0056-tcg-hppa-Fix-brcond2-and-setcond2.patch       |    3 -
 0057-tcg-hppa-Fix-broken-load-store-helpers.patch  |    3 -
 ...-tcg-mips-fix-wrong-usage-of-Z-constraint.patch |    3 -
 0059-tcg-mips-kill-warnings-in-user-mode.patch     |    3 -
 ...-mips-use-TCGArg-or-TCGReg-instead-of-int.patch |    3 -
 0061-tcg-mips-don-t-use-global-pointer.patch       |    3 -
 0062-tcg-mips-use-stack-for-TCG-temps.patch        |    3 -
 0063-tcg-mips-optimize-brcond-arg-0.patch          |    3 -
 ...mips-optimize-bswap-16-16s-32-on-MIPS32R2.patch |    3 -
 ...-mips-implement-rotl-rotr-ops-on-MIPS32R2.patch |    3 -
 ...tcg-mips-implement-deposit-op-on-MIPS32R2.patch |    3 -
 ...tcg-mips-implement-movcond-op-on-MIPS32R2.patch |    3 -
 0068-tcg-optimize-remove-TCG_TEMP_ANY.patch        |    3 -
 ...-optimize-check-types-in-copy-propagation.patch |    3 -
 0070-tcg-optimize-rework-copy-progagation.patch    |    3 -
 ...ze-do-copy-propagation-for-all-operations.patch |    3 -
 0072-tcg-optimize-optimize-op-r-a-a-mov-r-a.patch  |    3 -
 0073-tcg-optimize-optimize-op-r-a-a-movi-r-0.patch |    3 -
 ...e-further-optimize-brcond-movcond-setcond.patch |    3 -
 ...e-prefer-the-op-a-a-b-form-for-commutativ.patch |    3 -
 ...remove-ifdef-endif-around-TCGOpcode-tests.patch |    3 -
 ...optimize-add-constant-folding-for-deposit.patch |    3 -
 ...DME-document-tcg_gen_goto_tb-restrictions.patch |    3 -
 ...Fix-TCG-helper-functions-with-5-arguments.patch |    3 -
 0080-tcg-ppc32-Implement-movcond32.patch           |    3 -
 ...tcg-sparc-Hack-in-qemu_ld-st64-for-32-bit.patch |    3 -
 0082-tcg-sparc-Fix-ADDX-opcode.patch               |    3 -
 ...arc-Don-t-MAP_FIXED-on-top-of-the-program.patch |    3 -
 ...ssume-v9-cpu-always-i.e.-force-v8plus-in-.patch |    3 -
 ...parc-Fix-qemu_ld-st-to-handle-32-bit-host.patch |    3 -
 0086-tcg-sparc-Support-GUEST_BASE.patch            |    3 -
 ...parc-Change-AREG0-in-generated-code-to-i0.patch |    3 -
 ...lean-up-cruft-stemming-from-attempts-to-u.patch |    3 -
 ...ask-shift-immediates-to-avoid-illegal-ins.patch |    3 -
 0090-tcg-sparc-Use-defines-for-temporaries.patch   |    3 -
 ...cg-sparc-Add-g-o-registers-to-alloc_order.patch |    3 -
 ...g-sparc-Fix-and-enable-direct-TB-chaining.patch |    3 -
 ...reserve-branch-destinations-during-retran.patch |    3 -
 ...target-alpha-Initialize-env-cpu_model_str.patch |    3 -
 0095-tcg-mips-fix-MIPS32-R2-detection.patch        |    3 -
 0096-tcg-Adjust-descriptions-of-cond-opcodes.patch |    3 -
 0097-tcg-i386-fix-build-with-march-i686.patch      |    3 -
 0098-tcg-Fix-MAX_OPC_PARAM_IARGS.patch             |    3 -
 0099-tci-Fix-for-AREG0-free-mode.patch             |    3 -
 ...abort-on-invalid-streaming-cmdline-params.patch |    3 -
 ...pice-notify-spice-server-on-vm-start-stop.patch |    3 -
 ...y-on-vm-state-change-only-via-spice_serve.patch |    3 -
 ...ration-add-QEVENT_SPICE_MIGRATE_COMPLETED.patch |    3 -
 0104-spice-add-migrated-flag-to-spice-info.patch   |    3 -
 ...g-seamless-migration-option-to-the-comman.patch |    3 -
 ...ase-the-verbosity-of-spice-section-in-qem.patch |    3 -
 ...e_area_io-guest_bug-on-invalid-parameters.patch |    3 -
 0108-qxl-add-QXL_IO_MONITORS_CONFIG_ASYNC.patch    |    3 -
 ...rint-spice-protocol-and-spice-server-vers.patch |    3 -
 ...-fix-doc-of-using-raw-values-with-sendkey.patch |    3 -
 ...-qapi-Fix-potential-NULL-pointer-segfault.patch |    3 -
 ...arser-Fix-potential-NULL-pointer-segfault.patch |    3 -
 ...-drop-version_id-field-for-live-migration.patch |    3 -
 ...ear-cmask-for-Advanced-Error-Interrupt-Me.patch |    3 -
 ...ointer-for-ELF-kernels-loaded-with-kernel.patch |    3 -
 0116-lan9118-fix-multicast-filtering.patch         |    3 -
 ...S-user-Fix-reset-CPU-state-initialization.patch |    3 -
 0118-Add-MAINTAINERS-entry-for-leon3.patch         |    3 -
 0119-musicpal-Fix-flash-mapping.patch              |    3 -
 ...lgrind-annotations-to-mark-kvm-guest-memo.patch |    3 -
 0121-hw-wm8750-Fix-potential-buffer-overflow.patch |    3 -
 ...6-Fix-buffer-overflow-for-MBAR-read-write.patch |    3 -
 ...dir-instead-of-ignoring-it-first-and-rein.patch |    3 -
 ...t-attempt-to-reconnect-a-TCP-socket-in-se.patch |    3 -
 ...ty-to-force-enable-disable-of-tools-build.patch |    3 -
 ...lers-do-not-need-to-check-for-babble-them.patch |    3 -
 ...n-t-set-packet-state-to-complete-on-a-nak.patch |    3 -
 ...d-a-usb_ep_find_packet_by_id-helper-funct.patch |    3 -
 ...low-the-first-packet-of-a-pipelined-ep-to.patch |    3 -
 ...-ehci-don-t-flush-cache-on-doorbell-rings.patch |    3 -
 ...te-qh-is-not-changed-unexpectedly-by-the-.patch |    3 -
 ...-copyright-headers-to-reflect-recent-work.patch |    3 -
 0133-ehci-Properly-cleanup-packets-on-cancel.patch |    3 -
 ...ly-report-completed-but-not-yet-processed.patch |    3 -
 ...for-EHCI_ASYNC_FINISHED-first-in-ehci_fre.patch |    3 -
 0136-ehci-trace-guest-bugs.patch                   |    3 -
 0137-ehci-add-doorbell-trace-events.patch          |    3 -
 ...ome-additional-ehci_trace_guest_bug-calls.patch |    3 -
 ...memory-leak-in-handling-of-NAK-ed-packets.patch |    3 -
 ...Handle-USB_RET_PROCERR-in-ehci_fill_queue.patch |    3 -
 ...t-a-comment-in-fetchqtd-packet-processing.patch |    3 -
 ...ever-return-USB_RET_NAK-for-async-handled.patch |    3 -
 ...on-t-delay-handling-of-open-events-to-a-b.patch |    3 -
 ...-redir-Get-rid-of-async-struct-get-member.patch |    3 -
 ...et-rid-of-local-shadow-copy-of-packet-hea.patch |    3 -
 ...Get-rid-of-unused-async-struct-dev-member.patch |    3 -
 ...Move-to-core-packet-id-and-queue-handling.patch |    3 -
 ...eturn-babble-when-getting-more-bulk-data-.patch |    3 -
 0149-Better-name-usb-braille-device.patch          |    3 -
 0150-usb-audio-fix-usb-version.patch               |    3 -
 0151-xhci-rip-out-background-transfer-code.patch   |    3 -
 0152-xhci-drop-buffering.patch                     |    3 -
 0153-xhci-fix-runtime-write-tracepoint.patch       |    3 -
 ...-allow-bytewise-capability-register-reads.patch |    3 -
 0155-qxl-dont-update-invalid-area.patch            |    3 -
 ...low-emulated-non-async-control-requests-w.patch |    3 -
 0157-qxl-better-cleanup-for-surface-destroy.patch  |    3 -
 0158-ehci-switch-to-new-style-memory-ops.patch     |    3 -
 ...terrupts-stopping-when-Interrupt-Threshol.patch |    3 -
 ...process-too-much-frames-in-1-timer-tick-v.patch |    3 -
 0161-sheepdog-fix-savevm-and-loadvm.patch          |    3 -
 ...or-messages-from-static-code-analysis-no-.patch |    3 -
 0163-block-curl-Fix-wrong-free-statement.patch     |    3 -
 0164-vdi-Fix-warning-from-clang.patch              |    3 -
 0165-block-fix-block-tray-status.patch             |    3 -
 0166-ahci-properly-reset-PxCMD-on-HBA-reset.patch  |    3 -
 ...re-encryption-password-for-qemu-img-info-.patch |    3 -
 ...ock-Don-t-forget-to-delete-temporary-file.patch |    3 -
 0169-hw-qxl-tracing-fixes.patch                    |    3 -
 0170-configure-usbredir-fixes.patch                |    3 -
 ...set-seen-to-0-when-removing-unseen-queue-.patch |    3 -
 ...async-schedule-before-and-after-migration.patch |    3 -
 ...-Revert-usb-redir-part-of-commit-93bfef4c.patch |    3 -
 ...queue-up-packets-after-one-with-the-SPD-f.patch |    3 -
 ...ove-wrong-type-casts-ins-debug-statements.patch |    3 -
 ...ix-error-reported-by-static-code-analysis.patch |    3 -
 0177-slirp-improve-TFTP-performance.patch          |    3 -
 ...e-more-than-65535-blocks-in-TFTP-transfer.patch |    3 -
 0179-slirp-Implement-TFTP-Blocksize-option.patch   |    3 -
 ...se-QEMU_PACKED-for-single-elements-of-a-s.patch |    3 -
 ...lling-fixes-in-comments-and-documentation.patch |    3 -
 ...sole-Clean-up-bytes-per-pixel-calculation.patch |    3 -
 0183-qapi-Fix-enumeration-typo-error.patch         |    3 -
 ...kvm-Fix-warning-from-static-code-analysis.patch |    3 -
 ...-add-missing-symbols-before-PRIu64-in-deb.patch |    3 -
 ...-net-notify-iothread-after-flushing-queue.patch |    3 -
 ...-queue-whenever-can_receive-can-go-from-f.patch |    3 -
 0188-xen-flush-queue-when-getting-an-event.patch   |    3 -
 ...-Fix-network-hang-when-rx-buffers-run-out.patch |    3 -
 ...ceive_disabled-logic-to-iov-delivery-path.patch |    3 -
 ...-net-do-not-report-queued-packets-as-sent.patch |    3 -
 0192-net-add-netdev-options-to-man-page.patch      |    3 -
 0193-net-clean-up-usbnet_receive.patch             |    3 -
 0194-net-fix-usbnet_receive-packet-drops.patch     |    3 -
 ...st-hub-packets-if-at-least-one-port-can-r.patch |    3 -
 ...onous-send-receive-infrastructure-for-net.patch |    3 -
 ...-net-EAGAIN-handling-for-net-socket.c-UDP.patch |    3 -
 ...-net-EAGAIN-handling-for-net-socket.c-TCP.patch |    3 -
 0199-configure-fix-seccomp-check.patch             |    3 -
 ...re-properly-check-if-lrt-and-lm-is-needed.patch |    3 -
 0201-Revert-455aa1e08-and-c3767ed0eb.patch         |    3 -
 ...UGFIX-don-t-call-FD_ISSET-with-negative-f.patch |    3 -
 ...l_memory_write_rom-needs-to-do-TB-invalid.patch |    3 -
 ...-Improve-soundhw-help-for-non-HAS_AUDIO_C.patch |    3 -
 ...xilinx_timer-Removed-comma-in-device-name.patch |    3 -
 ..._timer-Send-dbg-msgs-to-stderr-not-stdout.patch |    3 -
 0207-xilinx.h-Error-check-when-setting-links.patch |    3 -
 ...imer-Fix-a-compile-error-if-debug-enabled.patch |    3 -
 ..._cfi01-fix-vendor-specific-extended-query.patch |    3 -
 0210-MAINTAINERS-Add-entry-for-QOM-CPU.patch       |    3 -
 ...ed-to-support-SG_IO-also-from-iscsi_ioctl.patch |    3 -
 ...nt-need-to-explicitely-call-qemu_notify_e.patch |    3 -
 0213-scsi-disk-introduce-check_lba_range.patch     |    3 -
 ...-scsi-disk-fix-check-for-out-of-range-LBA.patch |    3 -
 ...rd-INQUIRY-data-should-report-HiSup-flag-.patch |    3 -
 ...dio-Fix-warning-from-static-code-analysis.patch |    3 -
 ...-ga-Remove-unreachable-code-after-g_error.patch |    3 -
 0218-qemu-sockets-Fix-potential-memory-leak.patch  |    3 -
 0219-cadence_uart-Fix-buffer-overflow.patch        |    3 -
 0220-lm4549-Fix-buffer-overflow.patch              |    3 -
 0221-ioh3420-Remove-unreachable-code.patch         |    3 -
 ...01-Fix-warning-caused-by-unreachable-code.patch |    3 -
 ...t-initialize-curses-when-qemu-is-daemoniz.patch |    3 -
 ...-saturate-escape-parameter-in-TTY_STATE_C.patch |    3 -
 ...Remove-redundant-null-check-and-replace-f.patch |    3 -
 ...Fix-compiler-warning-regression-for-MinGW.patch |    3 -
 ...use-standard-instead-of-native-format-str.patch |    3 -
 ...dd-implementation-of-gmtime_r-localtime_r.patch |    3 -
 ...eserve-readonly-and-snapshot-states-acros.patch |    3 -
 ...ock-correctly-set-the-keep_read_only-flag.patch |    3 -
 ...llow-builds-without-any-system-or-user-em.patch |    3 -
 0232-Refactor-inet_connect_opts-function.patch     |    3 -
 ...et_connect-into-inet_connect-blocking-and.patch |    3 -
 ...ress-handling-in-inet_nonblocking_connect.patch |    3 -
 0235-Clear-handler-only-for-valid-fd.patch         |    3 -
 0236-pl190-fix-read-of-VECTADDR.patch              |    3 -
 ...vic-Correctly-register-GIC-region-when-se.patch |    3 -
 ...xpress-Fix-NOR-flash-0-address-and-remove.patch |    3 -
 ...it-10-of-CPUID-8000_0001-.EDX-is-reserved.patch |    3 -
 ...at.c-Return-correctly-signed-values-from-.patch |    3 -
 ...-t-test-for-MSR_PR-for-hypercalls-under-K.patch |    3 -
 0242-update-VERSION-for-v1.2.1.patch               |    3 -
 ...gure-Fix-CONFIG_QEMU_HELPERDIR-generation.patch |    3 -
 ...ix-CONFIG_QEMU_HELPERDIR-generation-again.patch |    3 -
 ...-report-use-TIGHT_PNG-encoding-if-enabled.patch |    3 -
 0304-vnc-fix-info-vnc-with-vnc-.-reverse-on.patch  |    3 -
 ...interrupt-when-requested-even-for-non-act.patch |    3 -
 0306-hw-qxl-qxl_dirty_surfaces-use-uintptr_t.patch |    3 -
 ...xl-always-update-displaysurface-on-resize.patch |    3 -
 0308-rtc-fix-overflow-in-mktimegm.patch            |    3 -
 ...turn-value-check-for-bdrv_read-bdrv_write.patch |    3 -
 ...-Allow-tsc-frequency-to-be-larger-then-2..patch |    3 -
 ...check_rxov-always-treat-RX-ring-with-RDH-.patch |    3 -
 ...rendering-of-a-region-obscured-by-another.patch |    3 -
 0313-s390x-fix-initrd-in-virtio-machine.patch      |    3 -
 0314-PPC-Bamboo-Fix-memory-size-DT-property.patch  |    3 -
 0315-target-sparc64-disable-VGA-cirrus.patch       |    3 -
 0316-xhci-fix-usb-name-in-caps.patch               |    3 -
 ...s-initialize-main-loop-before-block-layer.patch |    3 -
 ...Return-semihosting-errno-values-correctly.patch |    3 -
 0319-nbd-fixes-to-read-only-handling.patch         |    3 -
 0320-mips-malta-fix-CBUS-UART-interrupt-pin.patch  |    3 -
 ...-mips-fix-wrong-microMIPS-opcode-encoding.patch |    3 -
 ...-tcg-arm-fix-TLB-access-in-qemu-ld-st-ops.patch |    3 -
 0323-tcg-arm-fix-cross-endian-qemu_st16.patch      |    3 -
 ...risc-remove-conflicting-definitions-from-.patch |    3 -
 ...avoid-compiler-warning-in-pipe2-detection.patch |    3 -
 ...qcow2-Fix-refcount-table-size-calculation.patch |    3 -
 0327-tci-Fix-type-of-tci_read_label.patch          |    3 -
 ...egression-for-MinGW-assertion-caused-by-s.patch |    3 -
 0329-qom-dynamic_cast-of-NULL-is-always-NULL.patch |    3 -
 ...-hmp-do-not-crash-on-invalid-SCSI-hotplug.patch |    3 -
 0331-PPC-Fix-missing-TRACE-exception.patch         |    3 -
 ...ix-refcount-of-non-heap-allocated-objects.patch |    3 -
 ...e-visitor-type_size-in-QapiDeallocVisitor.patch |    3 -
 ...fix-qapi_dealloc_type_size-parameter-type.patch |    3 -
 0335-iscsi-fix-segfault-in-url-parsing.patch       |    3 -
 0336-iscsi-fix-deadlock-during-login.patch         |    3 -
 ...-do-not-assume-device-is-zero-initialized.patch |    3 -
 ...csi-Fix-some-endian-bugs-with-virtio-scsi.patch |    3 -
 0339-virtio-scsi-Fix-subtle-guest-endian-bug.patch |    3 -
 ...memslots-after-migration-when-qxl-is-in-U.patch |    3 -
 ...usbdevice_create-when-there-is-no-USB-bus.patch |    3 -
 0342-stream-fix-ratelimit_set_speed.patch          |    3 -
 ...rd-packets-that-are-too-long-if-SBP-and-L.patch |    3 -
 0401-update-VERSION-for-v1.2.2.patch               |    3 -
 ...out-tcp-socket-close-code-in-a-separate-f.patch |    3 -
 ...QemuChrHandlers-struct-to-initialise-char.patch |    3 -
 ...Add-enable-disable_write_fd_handler-funct.patch |    3 -
 ...-framework-for-a-write-unblocked-callback.patch |    3 -
 ...-send_all-to-handle-nonblocking-chardev-w.patch |    3 -
 ...the-unix-tcp-backend-to-handle-nonblockin.patch |    3 -
 ...har-Throttle-when-host-connection-is-down.patch |    3 -
 ...ole-Enable-port-throttling-when-chardev-i.patch |    3 -
 0410-spice-qemu-char.c-add-throttling.patch        |    3 -
 ...ce-qemu-char.c-remove-intermediate-buffer.patch |    3 -
 0412-usb-redir-Add-flow-control-support.patch      |    3 -
 ...serial-bus-replay-guest_open-on-migration.patch |    3 -
 ...e-write-callback-if-throttled-chardev-is-.patch |    3 -
 0501-qxl-disallow-unknown-revisions.patch          |    3 -
 ...e-number-of-surfaces-runtime-configurable.patch |    3 -
 ..._client_capabilities-interface-to-QXLInte.patch |    3 -
 ...emove-ifdef-QXL_COMMAND_FLAG_COMPAT_16BPP.patch |    3 -
 ...pice-switch-to-queue-for-vga-mode-updates.patch |    3 -
 0506-spice-split-qemu_spice_create_update.patch    |    3 -
 0507-spice-add-screen-mirror.patch                 |    3 -
 ...d-updates-only-for-changed-screen-content.patch |    3 -
 ...-set_client_capabilities-pre-post-migrate.patch |    3 -
 0510-qxl-add-trace-event-for-QXL_IO_LOG.patch      |    3 -
 ...ort-client-monitor-configuration-via-devi.patch |    3 -
 ...area_io-cleanup-invalid-parameters-handli.patch |    3 -
 ...-qxl-fix-range-check-for-rev3-io-commands.patch |    3 -
 ...ister-a-vm-state-change-handler-for-dummy.patch |   14 +++--
 ...exit-on-failure-to-register-qxl-interface.patch |    7 +--
 ...w-qxl-fix-condition-for-exiting-guest_bug.patch |    7 +--
 0517-hw-qxl-qxl_send_events-nop-if-stopped.patch   |   11 +--
 ...all-dpy_gfx_resize-when-entering-vga-mode.patch |    9 +--
 0519-spice-fix-initialization-order.patch          |    9 +--
 ...ew-spice-server-callbacks-to-ui-spice-dis.patch |    8 +--
 ...ve-qemu_create_displaysurface_from-result.patch |    7 +--
 ...-Convert-to-new-libusbredirparser-0.5-API.patch |    5 +-
 ...redir-Set-ep-max_packet_size-if-available.patch |    5 +-
 ...dd-a-usbredir_reject_device-helper-functi.patch |    5 +-
 ...nsure-our-peer-has-the-necessary-caps-whe.patch |    5 +-
 ...edir-Enable-pipelining-for-bulk-endpoints.patch |    5 +-
 ...move-device-lookup-into-xhci_setup_packet.patch |    5 +-
 0607-xhci-implement-mfindex.patch                  |    5 +-
 0608-xhci-iso-xfer-support.patch                   |    5 +-
 0609-xhci-trace-cc-codes-in-cleartext.patch        |    7 +--
 0610-xhci-add-trace_usb_xhci_ep_set_dequeue.patch  |    7 +--
 0611-xhci-update-register-layout.patch             |    5 +-
 0612-xhci-update-port-handling.patch               |    5 +-
 0613-usb3-superspeed-descriptors.patch             |    5 +-
 0614-usb3-superspeed-endpoint-companion.patch      |    5 +-
 0615-usb3-bos-decriptor.patch                      |    7 +--
 0616-usb-storage-usb3-support.patch                |    5 +-
 0617-xhci-fix-cleanup-msi.patch                    |    5 +-
 0618-xhci-rework-interrupt-handling.patch          |    5 +-
 0619-xhci-add-msix-support.patch                   |    7 +--
 ...move-register-update-into-xhci_intr_raise.patch |    5 +-
 0621-xhci-add-XHCIInterrupter.patch                |    7 +--
 ...e-xhci_runtime_-read-write-for-multiple-i.patch |    5 +-
 0623-xhci-pick-target-interrupter.patch            |    5 +-
 0624-xhci-support-multiple-interrupters.patch      |    5 +-
 ...xhci_mem_-read-write-dispatcher-functions.patch |    5 +-
 ...hange-cancelled-packet-code-into-a-generi.patch |    5 +-
 ...-Add-an-already_in_flight-packet-id-queue.patch |    5 +-
 ...-redir-Store-max_packet_size-in-endp_data.patch |    5 +-
 0629-usb-redir-Add-support-for-migration.patch     |    5 +-
 ...edir-Add-chardev-open-close-debug-logging.patch |    5 +-
 ...-Revert-usb-redir-part-of-commit-93bfef4c.patch |    5 +-
 0632-ehci-Fix-interrupt-packet-MULT-handling.patch |    5 +-
 ...djust-pkg-config-check-for-usbredirparser.patch |    5 +-
 ...hange-usbredir_open_chardev-into-usbredir.patch |    5 +-
 ...on-t-make-migration-fail-in-none-seamless.patch |    5 +-
 0701-mips-Fix-link-error-with-piix4_pm_init.patch  |    5 +-
 0702-configure-Add-disable-kvm-options.patch       |    5 +-
 ...ange-initrd-load-address-to-halfway-throu.patch |    5 +-
 ...ce-backend-add-function-to-reserved-words.patch |    5 +-
 ...acard-fix-missing-symbols-in-libcacard.so.patch |    5 +-
 ...ure-move-vscclient-binary-under-libcacard.patch |    5 +-
 ...cacard-fix-missing-symbol-in-libcacard.so.patch |    5 +-
 ...ccomp-adding-new-syscalls-bugzilla-855162.patch |    5 +-
 ...iscard-oversized-packets-based-on-SBP-LPE.patch |    5 +-
 0710-Revert-serial-fix-retry-logic.patch           |   67 ++++++++++++++++++++
 0711-scsi-fix-segfault-with-0-byte-disk.patch      |   37 +++++++++++
 qemu.spec                                          |   49 +++++++++-----
 367 files changed, 211 insertions(+), 1180 deletions(-)
---
diff --git a/0001-target-xtensa-convert-host-errno-values-to-guest.patch b/0001-target-xtensa-convert-host-errno-values-to-guest.patch
index a8eb0a1..93d4708 100644
--- a/0001-target-xtensa-convert-host-errno-values-to-guest.patch
+++ b/0001-target-xtensa-convert-host-errno-values-to-guest.patch
@@ -178,6 +178,3 @@ index 6d001c2..e745bef 100644
          break;
      }
  }
--- 
-1.8.0.2
-
diff --git a/0002-target-cris-Fix-buffer-overflow.patch b/0002-target-cris-Fix-buffer-overflow.patch
index 6e370cd..6614697 100644
--- a/0002-target-cris-Fix-buffer-overflow.patch
+++ b/0002-target-cris-Fix-buffer-overflow.patch
@@ -30,6 +30,3 @@ index 1ad9ec7..ad31877 100644
  		for (i = 0; i < 16; i++) {
  			cpu_fprintf(f, "s%2.2d=%8.8x ",
  				    i, env->sregs[srs][i]);
--- 
-1.8.0.2
-
diff --git a/0003-target-xtensa-fix-missing-errno-codes-for-mingw32.patch b/0003-target-xtensa-fix-missing-errno-codes-for-mingw32.patch
index 2ef4163..70cfd9a 100644
--- a/0003-target-xtensa-fix-missing-errno-codes-for-mingw32.patch
+++ b/0003-target-xtensa-fix-missing-errno-codes-for-mingw32.patch
@@ -59,6 +59,3 @@ index e745bef..52be07a 100644
      };
  
      if (host_errno == 0) {
--- 
-1.8.0.2
-
diff --git a/0004-target-sparc-fix-fcmp-s-d-q-instructions-wrt-excepti.patch b/0004-target-sparc-fix-fcmp-s-d-q-instructions-wrt-excepti.patch
index c72fca4..439dcfa 100644
--- a/0004-target-sparc-fix-fcmp-s-d-q-instructions-wrt-excepti.patch
+++ b/0004-target-sparc-fix-fcmp-s-d-q-instructions-wrt-excepti.patch
@@ -128,6 +128,3 @@ index 9c64ef8..f4b62a5 100644
              env->fsr |= FSR_FCC1 << FS;                                 \
              break;                                                      \
          default:                                                        \
--- 
-1.8.0.2
-
diff --git a/0005-target-s390x-fix-style.patch b/0005-target-s390x-fix-style.patch
index 21b777d..f4c8187 100644
--- a/0005-target-s390x-fix-style.patch
+++ b/0005-target-s390x-fix-style.patch
@@ -1598,6 +1598,3 @@ index abc35dd..195e93e 100644
      } else {
          env->regs[r1] = ret;
      }
--- 
-1.8.0.2
-
diff --git a/0006-target-s390x-split-FPU-ops.patch b/0006-target-s390x-split-FPU-ops.patch
index b5d1cfa..5b8ee02 100644
--- a/0006-target-s390x-split-FPU-ops.patch
+++ b/0006-target-s390x-split-FPU-ops.patch
@@ -1751,6 +1751,3 @@ index 1c1baf5..c370df3 100644
          tcg_temp_free_i32(tmp32);
          break;
      case 0xd: /* DEB    R1,D2(X2,B2)       [RXE] */
--- 
-1.8.0.2
-
diff --git a/0007-target-s390x-split-condition-code-helpers.patch b/0007-target-s390x-split-condition-code-helpers.patch
index ab12a6c..1d1bb40 100644
--- a/0007-target-s390x-split-condition-code-helpers.patch
+++ b/0007-target-s390x-split-condition-code-helpers.patch
@@ -1153,6 +1153,3 @@ index 270bf14..eced890 100644
  /* invalidate pte */
  void HELPER(ipte)(uint64_t pte_addr, uint64_t vaddr)
  {
--- 
-1.8.0.2
-
diff --git a/0008-target-s390x-split-integer-helpers.patch b/0008-target-s390x-split-integer-helpers.patch
index 998b49f..4e51bd7 100644
--- a/0008-target-s390x-split-integer-helpers.patch
+++ b/0008-target-s390x-split-integer-helpers.patch
@@ -439,6 +439,3 @@ index eced890..3b8b997 100644
  void HELPER(unpk)(uint32_t len, uint64_t dest, uint64_t src)
  {
      int len_dest = len >> 4;
--- 
-1.8.0.2
-
diff --git a/0009-target-s390x-split-memory-access-helpers.patch b/0009-target-s390x-split-memory-access-helpers.patch
index 43e46a5..0c5ddb8 100644
--- a/0009-target-s390x-split-memory-access-helpers.patch
+++ b/0009-target-s390x-split-memory-access-helpers.patch
@@ -2419,6 +2419,3 @@ index 3b8b997..bb8dbf5 100644
 -}
 -
  #endif
--- 
-1.8.0.2
-
diff --git a/0010-target-s390x-rename-op_helper.c-to-misc_helper.c.patch b/0010-target-s390x-rename-op_helper.c-to-misc_helper.c.patch
index b9182c5..fe5c597 100644
--- a/0010-target-s390x-rename-op_helper.c-to-misc_helper.c.patch
+++ b/0010-target-s390x-rename-op_helper.c-to-misc_helper.c.patch
@@ -919,6 +919,3 @@ index bb8dbf5..0000000
 -    return cc;
 -}
 -#endif
--- 
-1.8.0.2
-
diff --git a/0011-target-s390x-avoid-AREG0-for-FPU-helpers.patch b/0011-target-s390x-avoid-AREG0-for-FPU-helpers.patch
index 254d47f..4c29852 100644
--- a/0011-target-s390x-avoid-AREG0-for-FPU-helpers.patch
+++ b/0011-target-s390x-avoid-AREG0-for-FPU-helpers.patch
@@ -1213,6 +1213,3 @@ index c370df3..b1f2071 100644
          set_cc_static(s);
          tcg_temp_free_i32(tmp32_1);
          tcg_temp_free_i32(tmp32_2);
--- 
-1.8.0.2
-
diff --git a/0012-target-s390x-avoid-AREG0-for-integer-helpers.patch b/0012-target-s390x-avoid-AREG0-for-integer-helpers.patch
index 9e2b2ef..e44752a 100644
--- a/0012-target-s390x-avoid-AREG0-for-integer-helpers.patch
+++ b/0012-target-s390x-avoid-AREG0-for-integer-helpers.patch
@@ -197,6 +197,3 @@ index b1f2071..2a61e92 100644
          set_cc_static(s);
          tcg_temp_free_i32(tmp32_1);
          tcg_temp_free_i32(tmp32_2);
--- 
-1.8.0.2
-
diff --git a/0013-target-s390x-avoid-AREG0-for-condition-code-helpers.patch b/0013-target-s390x-avoid-AREG0-for-condition-code-helpers.patch
index fbda591..eee6b96 100644
--- a/0013-target-s390x-avoid-AREG0-for-condition-code-helpers.patch
+++ b/0013-target-s390x-avoid-AREG0-for-condition-code-helpers.patch
@@ -185,6 +185,3 @@ index 2a61e92..1d87272 100644
          tcg_temp_free_i64(tmp);
          tcg_temp_free_i64(tmp2);
          tcg_temp_free_i64(tmp3);
--- 
-1.8.0.2
-
diff --git a/0014-target-s390x-avoid-AREG0-for-misc-helpers.patch b/0014-target-s390x-avoid-AREG0-for-misc-helpers.patch
index b804afb..84dc387 100644
--- a/0014-target-s390x-avoid-AREG0-for-misc-helpers.patch
+++ b/0014-target-s390x-avoid-AREG0-for-misc-helpers.patch
@@ -406,6 +406,3 @@ index 1d87272..0c61e63 100644
          set_cc_static(s);
          tcg_temp_free_i64(tmp);
          tcg_temp_free_i64(tmp2);
--- 
-1.8.0.2
-
diff --git a/0015-target-s390x-switch-to-AREG0-free-mode.patch b/0015-target-s390x-switch-to-AREG0-free-mode.patch
index a4b1a3e..c01f6d1 100644
--- a/0015-target-s390x-switch-to-AREG0-free-mode.patch
+++ b/0015-target-s390x-switch-to-AREG0-free-mode.patch
@@ -1579,6 +1579,3 @@ index 0c61e63..66119cd 100644
          }
          set_cc_static(s);
          tcg_temp_free_i64(tmp);
--- 
-1.8.0.2
-
diff --git a/0016-tcg-s390-fix-ld-st-with-CONFIG_TCG_PASS_AREG0.patch b/0016-tcg-s390-fix-ld-st-with-CONFIG_TCG_PASS_AREG0.patch
index ddfa091..3330efb 100644
--- a/0016-tcg-s390-fix-ld-st-with-CONFIG_TCG_PASS_AREG0.patch
+++ b/0016-tcg-s390-fix-ld-st-with-CONFIG_TCG_PASS_AREG0.patch
@@ -59,6 +59,3 @@ index 04662c1..99b5339 100644
                      TCG_AREG0);
  #endif
          tgen_calli(s, (tcg_target_ulong)qemu_ld_helpers[s_bits]);
--- 
-1.8.0.2
-
diff --git a/0017-target-arm-Fix-potential-buffer-overflow.patch b/0017-target-arm-Fix-potential-buffer-overflow.patch
index 918e22d..2f008b5 100644
--- a/0017-target-arm-Fix-potential-buffer-overflow.patch
+++ b/0017-target-arm-Fix-potential-buffer-overflow.patch
@@ -42,6 +42,3 @@ index dceaa95..e27df96 100644
          return EXCP_UDEF;
      }
      env->cp15.c6_region[ri->crm] = value;
--- 
-1.8.0.2
-
diff --git a/0018-tcg-optimize-split-expression-simplification.patch b/0018-tcg-optimize-split-expression-simplification.patch
index 7d5d7cd..d45fc9b 100644
--- a/0018-tcg-optimize-split-expression-simplification.patch
+++ b/0018-tcg-optimize-split-expression-simplification.patch
@@ -52,6 +52,3 @@ index 9c65474..63f970d 100644
          CASE_OP_32_64(or):
          CASE_OP_32_64(and):
              if (args[1] == args[2]) {
--- 
-1.8.0.2
-
diff --git a/0019-tcg-optimize-simplify-or-xor-r-a-0-cases.patch b/0019-tcg-optimize-simplify-or-xor-r-a-0-cases.patch
index 3bb71ae..a11a168 100644
--- a/0019-tcg-optimize-simplify-or-xor-r-a-0-cases.patch
+++ b/0019-tcg-optimize-simplify-or-xor-r-a-0-cases.patch
@@ -25,6 +25,3 @@ index 63f970d..0db849e 100644
              if (temps[args[1]].state == TCG_TEMP_CONST) {
                  /* Proceed with possible constant folding. */
                  break;
--- 
-1.8.0.2
-
diff --git a/0020-tcg-optimize-simplify-and-r-a-0-cases.patch b/0020-tcg-optimize-simplify-and-r-a-0-cases.patch
index 26ba03d..1c829c9 100644
--- a/0020-tcg-optimize-simplify-and-r-a-0-cases.patch
+++ b/0020-tcg-optimize-simplify-and-r-a-0-cases.patch
@@ -24,6 +24,3 @@ index 0db849e..c12cb2b 100644
          CASE_OP_32_64(mul):
              if ((temps[args[2]].state == TCG_TEMP_CONST
                  && temps[args[2]].val == 0)) {
--- 
-1.8.0.2
-
diff --git a/0021-tcg-optimize-simplify-shift-rot-r-0-a-movi-r-0-cases.patch b/0021-tcg-optimize-simplify-shift-rot-r-0-a-movi-r-0-cases.patch
index 9af5fe4..02d8ee2 100644
--- a/0021-tcg-optimize-simplify-shift-rot-r-0-a-movi-r-0-cases.patch
+++ b/0021-tcg-optimize-simplify-shift-rot-r-0-a-movi-r-0-cases.patch
@@ -43,6 +43,3 @@ index c12cb2b..1698ba3 100644
          /* Simplify expression for "op r, a, 0 => mov r, a" cases */
          switch (op) {
          CASE_OP_32_64(add):
--- 
-1.8.0.2
-
diff --git a/0022-tcg-optimize-swap-brcond-setcond-arguments-when-poss.patch b/0022-tcg-optimize-swap-brcond-setcond-arguments-when-poss.patch
index f003828..d4d17d6 100644
--- a/0022-tcg-optimize-swap-brcond-setcond-arguments-when-poss.patch
+++ b/0022-tcg-optimize-swap-brcond-setcond-arguments-when-poss.patch
@@ -44,6 +44,3 @@ index 1698ba3..7debc8a 100644
          default:
              break;
          }
--- 
-1.8.0.2
-
diff --git a/0023-tcg-optimize-add-constant-folding-for-setcond.patch b/0023-tcg-optimize-add-constant-folding-for-setcond.patch
index be84590..cfe240a 100644
--- a/0023-tcg-optimize-add-constant-folding-for-setcond.patch
+++ b/0023-tcg-optimize-add-constant-folding-for-setcond.patch
@@ -109,6 +109,3 @@ index 7debc8a..1cb1f36 100644
          case INDEX_op_call:
              nb_call_args = (args[0] >> 16) + (args[0] & 0xffff);
              if (!(args[nb_call_args + 1] & (TCG_CALL_CONST | TCG_CALL_PURE))) {
--- 
-1.8.0.2
-
diff --git a/0024-tcg-optimize-add-constant-folding-for-brcond.patch b/0024-tcg-optimize-add-constant-folding-for-brcond.patch
index 172d65e..876f86f 100644
--- a/0024-tcg-optimize-add-constant-folding-for-brcond.patch
+++ b/0024-tcg-optimize-add-constant-folding-for-brcond.patch
@@ -55,6 +55,3 @@ index 1cb1f36..156e8d9 100644
              memset(temps, 0, nb_temps * sizeof(struct tcg_temp_info));
              for (i = 0; i < def->nb_args; i++) {
                  *gen_args = *args;
--- 
-1.8.0.2
-
diff --git a/0025-tcg-optimize-fix-if-else-break-coding-style.patch b/0025-tcg-optimize-fix-if-else-break-coding-style.patch
index d922bed..ab070ff 100644
--- a/0025-tcg-optimize-fix-if-else-break-coding-style.patch
+++ b/0025-tcg-optimize-fix-if-else-break-coding-style.patch
@@ -139,6 +139,3 @@ index 156e8d9..fba0ed9 100644
          case INDEX_op_call:
              nb_call_args = (args[0] >> 16) + (args[0] & 0xffff);
              if (!(args[nb_call_args + 1] & (TCG_CALL_CONST | TCG_CALL_PURE))) {
--- 
-1.8.0.2
-
diff --git a/0026-target-s390x-avoid-cpu_single_env.patch b/0026-target-s390x-avoid-cpu_single_env.patch
index dbfe5b9..9914968 100644
--- a/0026-target-s390x-avoid-cpu_single_env.patch
+++ b/0026-target-s390x-avoid-cpu_single_env.patch
@@ -1332,6 +1332,3 @@ index 66119cd..3214783 100644
  
          num_insns++;
          if (env->singlestep_enabled) {
--- 
-1.8.0.2
-
diff --git a/0027-target-lm32-switch-to-AREG0-free-mode.patch b/0027-target-lm32-switch-to-AREG0-free-mode.patch
index 72668c5..43582fd 100644
--- a/0027-target-lm32-switch-to-AREG0-free-mode.patch
+++ b/0027-target-lm32-switch-to-AREG0-free-mode.patch
@@ -277,6 +277,3 @@ index 872a2ba..5f6dcba 100644
          dc->pc += 4;
          num_insns++;
  
--- 
-1.8.0.2
-
diff --git a/0028-target-m68k-switch-to-AREG0-free-mode.patch b/0028-target-m68k-switch-to-AREG0-free-mode.patch
index 4e2b518..48eba15 100644
--- a/0028-target-m68k-switch-to-AREG0-free-mode.patch
+++ b/0028-target-m68k-switch-to-AREG0-free-mode.patch
@@ -497,6 +497,3 @@ index 9fc1e31..10bb303 100644
      } else {
          switch(dc->is_jmp) {
          case DISAS_NEXT:
--- 
-1.8.0.2
-
diff --git a/0029-target-m68k-avoid-using-cpu_single_env.patch b/0029-target-m68k-avoid-using-cpu_single_env.patch
index 0cb01b5..5a8538b 100644
--- a/0029-target-m68k-avoid-using-cpu_single_env.patch
+++ b/0029-target-m68k-avoid-using-cpu_single_env.patch
@@ -896,6 +896,3 @@ index 10bb303..fb707f2 100644
  }
  
  /* generate intermediate code for basic block 'tb'.  */
--- 
-1.8.0.2
-
diff --git a/0030-target-unicore32-switch-to-AREG0-free-mode.patch b/0030-target-unicore32-switch-to-AREG0-free-mode.patch
index c1fce32..ff07552 100644
--- a/0030-target-unicore32-switch-to-AREG0-free-mode.patch
+++ b/0030-target-unicore32-switch-to-AREG0-free-mode.patch
@@ -432,6 +432,3 @@ index 188bf8c..b786a6b 100644
      s->pc += 4;
  
      /* UniCore instructions class:
--- 
-1.8.0.2
-
diff --git a/0031-target-arm-convert-void-helpers.patch b/0031-target-arm-convert-void-helpers.patch
index 8e50813..30e06c8 100644
--- a/0031-target-arm-convert-void-helpers.patch
+++ b/0031-target-arm-convert-void-helpers.patch
@@ -176,6 +176,3 @@ index edef79a..6f651d9 100644
              break;
          case DISAS_SWI:
              gen_exception(EXCP_SWI);
--- 
-1.8.0.2
-
diff --git a/0032-target-arm-convert-remaining-helpers.patch b/0032-target-arm-convert-remaining-helpers.patch
index e5a39f4..0246b94 100644
--- a/0032-target-arm-convert-remaining-helpers.patch
+++ b/0032-target-arm-convert-remaining-helpers.patch
@@ -816,6 +816,3 @@ index 6f651d9..9ae3b26 100644
              rd = 16;
              break;
          case 0xc: /* orr */
--- 
-1.8.0.2
-
diff --git a/0033-target-arm-final-conversion-to-AREG0-free-mode.patch b/0033-target-arm-final-conversion-to-AREG0-free-mode.patch
index 0a3790a..8883ff4 100644
--- a/0033-target-arm-final-conversion-to-AREG0-free-mode.patch
+++ b/0033-target-arm-final-conversion-to-AREG0-free-mode.patch
@@ -174,6 +174,3 @@ index 9ae3b26..f4b447a 100644
      s->pc += 2;
  
      switch (insn >> 12) {
--- 
-1.8.0.2
-
diff --git a/0034-target-microblaze-switch-to-AREG0-free-mode.patch b/0034-target-microblaze-switch-to-AREG0-free-mode.patch
index 923f524..f7dd13f 100644
--- a/0034-target-microblaze-switch-to-AREG0-free-mode.patch
+++ b/0034-target-microblaze-switch-to-AREG0-free-mode.patch
@@ -710,6 +710,3 @@ index 7470149..9c7d77f 100644
          tcg_temp_free_i32(tmp);
      } else {
          switch(dc->is_jmp) {
--- 
-1.8.0.2
-
diff --git a/0035-target-cris-Avoid-AREG0-for-helpers.patch b/0035-target-cris-Avoid-AREG0-for-helpers.patch
index ce3a4fd..e217da2 100644
--- a/0035-target-cris-Avoid-AREG0-for-helpers.patch
+++ b/0035-target-cris-Avoid-AREG0-for-helpers.patch
@@ -518,6 +518,3 @@ index 3629629..9a39c6a 100644
                             cpu_R[dc->src], cpu_PR[PR_CCS]);
                  break;
              case CRISV10_REG_DSTEP:
--- 
-1.8.0.2
-
diff --git a/0036-target-cris-Switch-to-AREG0-free-mode.patch b/0036-target-cris-Switch-to-AREG0-free-mode.patch
index 113ed4b..bd2f054 100644
--- a/0036-target-cris-Switch-to-AREG0-free-mode.patch
+++ b/0036-target-cris-Switch-to-AREG0-free-mode.patch
@@ -1533,6 +1533,3 @@ index 9a39c6a..d2cca89 100644
              break;
      }
  
--- 
-1.8.0.2
-
diff --git a/0037-target-sh4-switch-to-AREG0-free-mode.patch b/0037-target-sh4-switch-to-AREG0-free-mode.patch
index 31c3ce3..cb9d0a7 100644
--- a/0037-target-sh4-switch-to-AREG0-free-mode.patch
+++ b/0037-target-sh4-switch-to-AREG0-free-mode.patch
@@ -1055,6 +1055,3 @@ index 6532ad2..d05c74c 100644
      } else {
  	switch (ctx.bstate) {
          case BS_STOP:
--- 
-1.8.0.2
-
diff --git a/0038-target-mips-switch-to-AREG0-free-mode.patch b/0038-target-mips-switch-to-AREG0-free-mode.patch
index 95e6466..51616fb 100644
--- a/0038-target-mips-switch-to-AREG0-free-mode.patch
+++ b/0038-target-mips-switch-to-AREG0-free-mode.patch
@@ -6331,6 +6331,3 @@ index b293419..7ab769f 100644
      } else {
          switch (ctx.bstate) {
          case BS_STOP:
--- 
-1.8.0.2
-
diff --git a/0039-Remove-unused-CONFIG_TCG_PASS_AREG0-and-dead-code.patch b/0039-Remove-unused-CONFIG_TCG_PASS_AREG0-and-dead-code.patch
index cfa93c5..cbd9b59 100644
--- a/0039-Remove-unused-CONFIG_TCG_PASS_AREG0-and-dead-code.patch
+++ b/0039-Remove-unused-CONFIG_TCG_PASS_AREG0-and-dead-code.patch
@@ -1678,6 +1678,3 @@ index b9ea9dd..ef9b172 100644
  #if defined(DEBUG_SIGNAL)
      qemu_printf("qemu: SIGSEGV pc=0x%08lx address=%08lx w=%d oldset=0x%08lx\n",
                  pc, address, is_write, *(unsigned long *)old_set);
--- 
-1.8.0.2
-
diff --git a/0040-tcg-i386-allow-constants-in-load-store-ops.patch b/0040-tcg-i386-allow-constants-in-load-store-ops.patch
index e675050..2fae1d5 100644
--- a/0040-tcg-i386-allow-constants-in-load-store-ops.patch
+++ b/0040-tcg-i386-allow-constants-in-load-store-ops.patch
@@ -109,6 +109,3 @@ index 34c2df8..3017858 100644
  
      { INDEX_op_add_i64, { "r", "0", "re" } },
      { INDEX_op_mul_i64, { "r", "0", "re" } },
--- 
-1.8.0.2
-
diff --git a/0041-tcg-mark-set_label-with-TCG_OPF_BB_END-flag.patch b/0041-tcg-mark-set_label-with-TCG_OPF_BB_END-flag.patch
index 516e728..35e9a15 100644
--- a/0041-tcg-mark-set_label-with-TCG_OPF_BB_END-flag.patch
+++ b/0041-tcg-mark-set_label-with-TCG_OPF_BB_END-flag.patch
@@ -48,6 +48,3 @@ index 8386b70..c002a88 100644
          case INDEX_op_debug_insn_start:
              args -= def->nb_args;
              break;
--- 
-1.8.0.2
-
diff --git a/0042-revert-TCG-fix-copy-propagation.patch b/0042-revert-TCG-fix-copy-propagation.patch
index 809aeef..bcd9076 100644
--- a/0042-revert-TCG-fix-copy-propagation.patch
+++ b/0042-revert-TCG-fix-copy-propagation.patch
@@ -80,6 +80,3 @@ index d710694..8fbbc81 100644
  #if defined(CONFIG_DEBUG_TCG)
  /* If you call tcg_clear_temp_count() at the start of a section of
   * code which is not supposed to leak any TCG temporaries, then
--- 
-1.8.0.2
-
diff --git a/0043-target-mips-Set-opn-in-gen_ldst_multiple.patch b/0043-target-mips-Set-opn-in-gen_ldst_multiple.patch
index e1b3f22..feb145d 100644
--- a/0043-target-mips-Set-opn-in-gen_ldst_multiple.patch
+++ b/0043-target-mips-Set-opn-in-gen_ldst_multiple.patch
@@ -50,6 +50,3 @@ index 7ab769f..c31f91c 100644
      MIPS_DEBUG("%s, %x, %d(%s)", opn, reglist, offset, regnames[base]);
      tcg_temp_free(t0);
      tcg_temp_free(t1);
--- 
-1.8.0.2
-
diff --git a/0044-target-mips-Fix-MIPS_DEBUG.patch b/0044-target-mips-Fix-MIPS_DEBUG.patch
index 72c05de..f361872 100644
--- a/0044-target-mips-Fix-MIPS_DEBUG.patch
+++ b/0044-target-mips-Fix-MIPS_DEBUG.patch
@@ -283,6 +283,3 @@ index c31f91c..4937f6b 100644
           break;
      case OPC_J ... OPC_JAL: /* Jump */
           offset = (int32_t)(ctx->opcode & 0x3FFFFFF) << 2;
--- 
-1.8.0.2
-
diff --git a/0045-target-mips-Always-evaluate-debugging-macro-argument.patch b/0045-target-mips-Always-evaluate-debugging-macro-argument.patch
index d32bed4..ee41de3 100644
--- a/0045-target-mips-Always-evaluate-debugging-macro-argument.patch
+++ b/0045-target-mips-Always-evaluate-debugging-macro-argument.patch
@@ -65,6 +65,3 @@ index 4937f6b..aba7935 100644
  
  /* General purpose registers moves. */
  static inline void gen_load_gpr (TCGv t, int reg)
--- 
-1.8.0.2
-
diff --git a/0046-tcg-optimize-fix-end-of-basic-block-detection.patch b/0046-tcg-optimize-fix-end-of-basic-block-detection.patch
index 345bcab..1bf628a 100644
--- a/0046-tcg-optimize-fix-end-of-basic-block-detection.patch
+++ b/0046-tcg-optimize-fix-end-of-basic-block-detection.patch
@@ -57,6 +57,3 @@ index 10d9773..9da333c 100644
              }
              for (i = 0; i < def->nb_args; i++) {
                  gen_args[i] = args[i];
--- 
-1.8.0.2
-
diff --git a/0047-target-xtensa-fix-extui-shift-amount.patch b/0047-target-xtensa-fix-extui-shift-amount.patch
index f2e209d..15506f6 100644
--- a/0047-target-xtensa-fix-extui-shift-amount.patch
+++ b/0047-target-xtensa-fix-extui-shift-amount.patch
@@ -52,6 +52,3 @@ index 1900bd5..7a1c528 100644
                  tcg_temp_free(tmp);
              }
              break;
--- 
-1.8.0.2
-
diff --git a/0048-target-xtensa-don-t-emit-extra-tcg_gen_goto_tb.patch b/0048-target-xtensa-don-t-emit-extra-tcg_gen_goto_tb.patch
index f7636fd..6136b50 100644
--- a/0048-target-xtensa-don-t-emit-extra-tcg_gen_goto_tb.patch
+++ b/0048-target-xtensa-don-t-emit-extra-tcg_gen_goto_tb.patch
@@ -30,6 +30,3 @@ index 7a1c528..b6643eb 100644
      dc->pc = dc->next_pc;
  
      return;
--- 
-1.8.0.2
-
diff --git a/0049-tcg-Introduce-movcond.patch b/0049-tcg-Introduce-movcond.patch
index 2f17299..f2321b5 100644
--- a/0049-tcg-Introduce-movcond.patch
+++ b/0049-tcg-Introduce-movcond.patch
@@ -328,6 +328,3 @@ index 30a0f21..6d89495 100644
  #endif /* TCG_TARGET_REG_BITS == 64 */
  
  /* Offset to user memory in user mode. */
--- 
-1.8.0.2
-
diff --git a/0050-target-alpha-Use-movcond.patch b/0050-target-alpha-Use-movcond.patch
index ebbddcc..5091803 100644
--- a/0050-target-alpha-Use-movcond.patch
+++ b/0050-target-alpha-Use-movcond.patch
@@ -155,6 +155,3 @@ index 12de6a3..4a9011a 100644
  }
  
  #define QUAL_RM_N       0x080   /* Round mode nearest even */
--- 
-1.8.0.2
-
diff --git a/0051-tcg-i386-Implement-movcond.patch b/0051-tcg-i386-Implement-movcond.patch
index b979337..0c9e0d7 100644
--- a/0051-tcg-i386-Implement-movcond.patch
+++ b/0051-tcg-i386-Implement-movcond.patch
@@ -113,6 +113,3 @@ index 504f953..b356d76 100644
  #endif
  
  #define TCG_TARGET_deposit_i32_valid(ofs, len) \
--- 
-1.8.0.2
-
diff --git a/0052-tcg-Optimize-movcond-for-constant-comparisons.patch b/0052-tcg-Optimize-movcond-for-constant-comparisons.patch
index b5d36e2..2a61fda 100644
--- a/0052-tcg-Optimize-movcond-for-constant-comparisons.patch
+++ b/0052-tcg-Optimize-movcond-for-constant-comparisons.patch
@@ -68,6 +68,3 @@ index 9da333c..26038a6 100644
          case INDEX_op_call:
              nb_call_args = (args[0] >> 16) + (args[0] & 0xffff);
              if (!(args[nb_call_args + 1] & (TCG_CALL_CONST | TCG_CALL_PURE))) {
--- 
-1.8.0.2
-
diff --git a/0053-tcg-Optimize-two-address-commutative-operations.patch b/0053-tcg-Optimize-two-address-commutative-operations.patch
index b142681..1e034c6 100644
--- a/0053-tcg-Optimize-two-address-commutative-operations.patch
+++ b/0053-tcg-Optimize-two-address-commutative-operations.patch
@@ -52,6 +52,3 @@ index 26038a6..1be7631 100644
          default:
              break;
          }
--- 
-1.8.0.2
-
diff --git a/0054-gdbstub-sh4-fix-build-with-USE_SOFTFLOAT_STRUCT_TYPE.patch b/0054-gdbstub-sh4-fix-build-with-USE_SOFTFLOAT_STRUCT_TYPE.patch
index 3c3c71e..4ce049a 100644
--- a/0054-gdbstub-sh4-fix-build-with-USE_SOFTFLOAT_STRUCT_TYPE.patch
+++ b/0054-gdbstub-sh4-fix-build-with-USE_SOFTFLOAT_STRUCT_TYPE.patch
@@ -187,6 +187,3 @@ index 5d37dd9..a91709f 100644
      default: return 0;
      }
  
--- 
-1.8.0.2
-
diff --git a/0055-tcg-Fix-USE_DIRECT_JUMP.patch b/0055-tcg-Fix-USE_DIRECT_JUMP.patch
index 6a1bb50..3dfb656 100644
--- a/0055-tcg-Fix-USE_DIRECT_JUMP.patch
+++ b/0055-tcg-Fix-USE_DIRECT_JUMP.patch
@@ -30,6 +30,3 @@ index f454107..609ed86 100644
      uint16_t *tb_next_offset;
      uint16_t *tb_jmp_offset; /* != NULL if USE_DIRECT_JUMP */
  
--- 
-1.8.0.2
-
diff --git a/0056-tcg-hppa-Fix-brcond2-and-setcond2.patch b/0056-tcg-hppa-Fix-brcond2-and-setcond2.patch
index 26a807a..8244946 100644
--- a/0056-tcg-hppa-Fix-brcond2-and-setcond2.patch
+++ b/0056-tcg-hppa-Fix-brcond2-and-setcond2.patch
@@ -103,6 +103,3 @@ index 8b81b70..a76569d 100644
      }
  
      tcg_out_mov(s, TCG_TYPE_I32, ret, scratch);
--- 
-1.8.0.2
-
diff --git a/0057-tcg-hppa-Fix-broken-load-store-helpers.patch b/0057-tcg-hppa-Fix-broken-load-store-helpers.patch
index b23c10d..36d41a6 100644
--- a/0057-tcg-hppa-Fix-broken-load-store-helpers.patch
+++ b/0057-tcg-hppa-Fix-broken-load-store-helpers.patch
@@ -244,6 +244,3 @@ index a76569d..5385d45 100644
          addrlo_reg = TCG_REG_R31;
      }
      tcg_out_qemu_st_direct(s, datalo_reg, datahi_reg, addrlo_reg, opc);
--- 
-1.8.0.2
-
diff --git a/0058-tcg-mips-fix-wrong-usage-of-Z-constraint.patch b/0058-tcg-mips-fix-wrong-usage-of-Z-constraint.patch
index 52839e3..628251b 100644
--- a/0058-tcg-mips-fix-wrong-usage-of-Z-constraint.patch
+++ b/0058-tcg-mips-fix-wrong-usage-of-Z-constraint.patch
@@ -60,6 +60,3 @@ index 74db83d..9293745 100644
      { INDEX_op_brcond2_i32, { "rZ", "rZ", "rZ", "rZ" } },
  
  #if TARGET_LONG_BITS == 32
--- 
-1.8.0.2
-
diff --git a/0059-tcg-mips-kill-warnings-in-user-mode.patch b/0059-tcg-mips-kill-warnings-in-user-mode.patch
index 3179bcb..1b32a2a 100644
--- a/0059-tcg-mips-kill-warnings-in-user-mode.patch
+++ b/0059-tcg-mips-kill-warnings-in-user-mode.patch
@@ -161,6 +161,3 @@ index 9293745..a09c0d6 100644
  
  #if defined(CONFIG_SOFTMMU)
      tcg_out_opc_sa(s, OPC_SRL, TCG_REG_A0, addr_regl, TARGET_PAGE_BITS - CPU_TLB_ENTRY_BITS);
--- 
-1.8.0.2
-
diff --git a/0060-tcg-mips-use-TCGArg-or-TCGReg-instead-of-int.patch b/0060-tcg-mips-use-TCGArg-or-TCGReg-instead-of-int.patch
index 7bd5d17..ffe9c4c 100644
--- a/0060-tcg-mips-use-TCGArg-or-TCGReg-instead-of-int.patch
+++ b/0060-tcg-mips-use-TCGArg-or-TCGReg-instead-of-int.patch
@@ -241,6 +241,3 @@ index a09c0d6..8b38f98 100644
  # endif
  #endif
      data_regl = *args++;
--- 
-1.8.0.2
-
diff --git a/0061-tcg-mips-don-t-use-global-pointer.patch b/0061-tcg-mips-don-t-use-global-pointer.patch
index 27884f8..c29193c 100644
--- a/0061-tcg-mips-don-t-use-global-pointer.patch
+++ b/0061-tcg-mips-don-t-use-global-pointer.patch
@@ -32,6 +32,3 @@ index 8b38f98..0ea6a76 100644
  
      tcg_add_target_add_op_defs(mips_op_defs);
      tcg_set_frame(s, TCG_AREG0, offsetof(CPUArchState, temp_buf),
--- 
-1.8.0.2
-
diff --git a/0062-tcg-mips-use-stack-for-TCG-temps.patch b/0062-tcg-mips-use-stack-for-TCG-temps.patch
index 6be77f1..38c7b50 100644
--- a/0062-tcg-mips-use-stack-for-TCG-temps.patch
+++ b/0062-tcg-mips-use-stack-for-TCG-temps.patch
@@ -42,6 +42,3 @@ index 0ea6a76..c05169f 100644
 -    tcg_set_frame(s, TCG_AREG0, offsetof(CPUArchState, temp_buf),
 -                  CPU_TEMP_BUF_NLONGS * sizeof(long));
  }
--- 
-1.8.0.2
-
diff --git a/0063-tcg-mips-optimize-brcond-arg-0.patch b/0063-tcg-mips-optimize-brcond-arg-0.patch
index 9f5f839..12a8e21 100644
--- a/0063-tcg-mips-optimize-brcond-arg-0.patch
+++ b/0063-tcg-mips-optimize-brcond-arg-0.patch
@@ -94,6 +94,3 @@ index c05169f..6aa4527 100644
          break;
      case TCG_COND_GTU:
          tcg_out_opc_reg(s, OPC_SLTU, TCG_REG_AT, arg2, arg1);
--- 
-1.8.0.2
-
diff --git a/0064-tcg-mips-optimize-bswap-16-16s-32-on-MIPS32R2.patch b/0064-tcg-mips-optimize-bswap-16-16s-32-on-MIPS32R2.patch
index b3ca1c3..fdb6cbf 100644
--- a/0064-tcg-mips-optimize-bswap-16-16s-32-on-MIPS32R2.patch
+++ b/0064-tcg-mips-optimize-bswap-16-16s-32-on-MIPS32R2.patch
@@ -156,6 +156,3 @@ index 9c68a32..c5c13f7 100644
  /* optional instructions automatically implemented */
  #define TCG_TARGET_HAS_neg_i32          0 /* sub  rd, zero, rt   */
  #define TCG_TARGET_HAS_ext8u_i32        0 /* andi rt, rs, 0xff   */
--- 
-1.8.0.2
-
diff --git a/0065-tcg-mips-implement-rotl-rotr-ops-on-MIPS32R2.patch b/0065-tcg-mips-implement-rotl-rotr-ops-on-MIPS32R2.patch
index 78f918c..b1da826 100644
--- a/0065-tcg-mips-implement-rotl-rotr-ops-on-MIPS32R2.patch
+++ b/0065-tcg-mips-implement-rotl-rotr-ops-on-MIPS32R2.patch
@@ -87,6 +87,3 @@ index c5c13f7..470314c 100644
  #endif
  
  /* optional instructions automatically implemented */
--- 
-1.8.0.2
-
diff --git a/0066-tcg-mips-implement-deposit-op-on-MIPS32R2.patch b/0066-tcg-mips-implement-deposit-op-on-MIPS32R2.patch
index eb38a58..13a2688 100644
--- a/0066-tcg-mips-implement-deposit-op-on-MIPS32R2.patch
+++ b/0066-tcg-mips-implement-deposit-op-on-MIPS32R2.patch
@@ -72,6 +72,3 @@ index 470314c..897a737 100644
  #endif
  
  /* optional instructions automatically implemented */
--- 
-1.8.0.2
-
diff --git a/0067-tcg-mips-implement-movcond-op-on-MIPS32R2.patch b/0067-tcg-mips-implement-movcond-op-on-MIPS32R2.patch
index 4ecf038..a27ad5d 100644
--- a/0067-tcg-mips-implement-movcond-op-on-MIPS32R2.patch
+++ b/0067-tcg-mips-implement-movcond-op-on-MIPS32R2.patch
@@ -135,6 +135,3 @@ index 897a737..d147e70 100644
  
  /* optional instructions only implemented on MIPS32R2 */
  #ifdef _MIPS_ARCH_MIPS32R2
--- 
-1.8.0.2
-
diff --git a/0068-tcg-optimize-remove-TCG_TEMP_ANY.patch b/0068-tcg-optimize-remove-TCG_TEMP_ANY.patch
index 2002c81..1187432 100644
--- a/0068-tcg-optimize-remove-TCG_TEMP_ANY.patch
+++ b/0068-tcg-optimize-remove-TCG_TEMP_ANY.patch
@@ -57,6 +57,3 @@ index 1be7631..308b7f9 100644
      }
  }
  
--- 
-1.8.0.2
-
diff --git a/0069-tcg-optimize-check-types-in-copy-propagation.patch b/0069-tcg-optimize-check-types-in-copy-propagation.patch
index e269b63..12b231f 100644
--- a/0069-tcg-optimize-check-types-in-copy-propagation.patch
+++ b/0069-tcg-optimize-check-types-in-copy-propagation.patch
@@ -73,6 +73,3 @@ index 308b7f9..da8dffe 100644
                  gen_args += 2;
                  args += 2;
                  break;
--- 
-1.8.0.2
-
diff --git a/0070-tcg-optimize-rework-copy-progagation.patch b/0070-tcg-optimize-rework-copy-progagation.patch
index 1ddca44..c797cce 100644
--- a/0070-tcg-optimize-rework-copy-progagation.patch
+++ b/0070-tcg-optimize-rework-copy-progagation.patch
@@ -372,6 +372,3 @@ index da8dffe..1904b39 100644
                  }
              }
              for (i = 0; i < def->nb_args; i++) {
--- 
-1.8.0.2
-
diff --git a/0071-tcg-optimize-do-copy-propagation-for-all-operations.patch b/0071-tcg-optimize-do-copy-propagation-for-all-operations.patch
index e0cd01c..d502253 100644
--- a/0071-tcg-optimize-do-copy-propagation-for-all-operations.patch
+++ b/0071-tcg-optimize-do-copy-propagation-for-all-operations.patch
@@ -37,6 +37,3 @@ index 1904b39..aeb2225 100644
              for (i = def->nb_oargs; i < def->nb_oargs + def->nb_iargs; i++) {
                  if (temps[args[i]].state == TCG_TEMP_COPY) {
                      args[i] = find_better_copy(s, args[i]);
--- 
-1.8.0.2
-
diff --git a/0072-tcg-optimize-optimize-op-r-a-a-mov-r-a.patch b/0072-tcg-optimize-optimize-op-r-a-a-mov-r-a.patch
index bc92f45..5c0a3c2 100644
--- a/0072-tcg-optimize-optimize-op-r-a-a-mov-r-a.patch
+++ b/0072-tcg-optimize-optimize-op-r-a-a-mov-r-a.patch
@@ -26,6 +26,3 @@ index aeb2225..b9a7da9 100644
                  if (temps_are_copies(args[0], args[1])) {
                      gen_opc_buf[op_index] = INDEX_op_nop;
                  } else {
--- 
-1.8.0.2
-
diff --git a/0073-tcg-optimize-optimize-op-r-a-a-movi-r-0.patch b/0073-tcg-optimize-optimize-op-r-a-a-movi-r-0.patch
index 32c5222..f5ebe44 100644
--- a/0073-tcg-optimize-optimize-op-r-a-a-movi-r-0.patch
+++ b/0073-tcg-optimize-optimize-op-r-a-a-movi-r-0.patch
@@ -41,6 +41,3 @@ index b9a7da9..ceea644 100644
          /* Propagate constants through copy operations and do constant
             folding.  Constants will be substituted to arguments by register
             allocator where needed and possible.  Also detect copies. */
--- 
-1.8.0.2
-
diff --git a/0074-tcg-optimize-further-optimize-brcond-movcond-setcond.patch b/0074-tcg-optimize-further-optimize-brcond-movcond-setcond.patch
index 50401e3..1277768 100644
--- a/0074-tcg-optimize-further-optimize-brcond-movcond-setcond.patch
+++ b/0074-tcg-optimize-further-optimize-brcond-movcond-setcond.patch
@@ -187,6 +187,3 @@ index ceea644..abe016a 100644
                  if (temps_are_copies(args[0], args[4-tmp])) {
                      gen_opc_buf[op_index] = INDEX_op_nop;
                  } else if (temps[args[4-tmp]].state == TCG_TEMP_CONST) {
--- 
-1.8.0.2
-
diff --git a/0075-tcg-optimize-prefer-the-op-a-a-b-form-for-commutativ.patch b/0075-tcg-optimize-prefer-the-op-a-a-b-form-for-commutativ.patch
index 14fcf13..8d30fc5 100644
--- a/0075-tcg-optimize-prefer-the-op-a-a-b-form-for-commutativ.patch
+++ b/0075-tcg-optimize-prefer-the-op-a-a-b-form-for-commutativ.patch
@@ -33,6 +33,3 @@ index abe016a..c8ae50b 100644
                  tmp = args[1];
                  args[1] = args[2];
                  args[2] = tmp;
--- 
-1.8.0.2
-
diff --git a/0076-tcg-remove-ifdef-endif-around-TCGOpcode-tests.patch b/0076-tcg-remove-ifdef-endif-around-TCGOpcode-tests.patch
index c335383..5eaf355 100644
--- a/0076-tcg-remove-ifdef-endif-around-TCGOpcode-tests.patch
+++ b/0076-tcg-remove-ifdef-endif-around-TCGOpcode-tests.patch
@@ -63,6 +63,3 @@ index 24ce830..93421cd 100644
              tcg_reg_alloc_movi(s, args);
              break;
          case INDEX_op_debug_insn_start:
--- 
-1.8.0.2
-
diff --git a/0077-tcg-optimize-add-constant-folding-for-deposit.patch b/0077-tcg-optimize-add-constant-folding-for-deposit.patch
index 14d9783..85331af 100644
--- a/0077-tcg-optimize-add-constant-folding-for-deposit.patch
+++ b/0077-tcg-optimize-add-constant-folding-for-deposit.patch
@@ -41,6 +41,3 @@ index c8ae50b..35532a1 100644
          CASE_OP_32_64(setcond):
              tmp = do_constant_folding_cond(op, args[1], args[2], args[3]);
              if (tmp != 2) {
--- 
-1.8.0.2
-
diff --git a/0078-tcg-README-document-tcg_gen_goto_tb-restrictions.patch b/0078-tcg-README-document-tcg_gen_goto_tb-restrictions.patch
index 3adb4c8..f411689 100644
--- a/0078-tcg-README-document-tcg_gen_goto_tb-restrictions.patch
+++ b/0078-tcg-README-document-tcg_gen_goto_tb-restrictions.patch
@@ -28,6 +28,3 @@ index d03ae05..33783ee 100644
  
  * qemu_ld8u t0, t1, flags
  qemu_ld8s t0, t1, flags
--- 
-1.8.0.2
-
diff --git a/0079-w64-Fix-TCG-helper-functions-with-5-arguments.patch b/0079-w64-Fix-TCG-helper-functions-with-5-arguments.patch
index 686f492..33feaaf 100644
--- a/0079-w64-Fix-TCG-helper-functions-with-5-arguments.patch
+++ b/0079-w64-Fix-TCG-helper-functions-with-5-arguments.patch
@@ -52,6 +52,3 @@ index b356d76..ace63ba 100644
  
  /* optional instructions */
  #define TCG_TARGET_HAS_div2_i32         1
--- 
-1.8.0.2
-
diff --git a/0080-tcg-ppc32-Implement-movcond32.patch b/0080-tcg-ppc32-Implement-movcond32.patch
index d992f78..dc55aa3 100644
--- a/0080-tcg-ppc32-Implement-movcond32.patch
+++ b/0080-tcg-ppc32-Implement-movcond32.patch
@@ -132,6 +132,3 @@ index 177eea1..3259d89 100644
  
  #define TCG_AREG0 TCG_REG_R27
  
--- 
-1.8.0.2
-
diff --git a/0081-tcg-sparc-Hack-in-qemu_ld-st64-for-32-bit.patch b/0081-tcg-sparc-Hack-in-qemu_ld-st64-for-32-bit.patch
index 8d2ac6a..56e5f0a 100644
--- a/0081-tcg-sparc-Hack-in-qemu_ld-st64-for-32-bit.patch
+++ b/0081-tcg-sparc-Hack-in-qemu_ld-st64-for-32-bit.patch
@@ -25,6 +25,3 @@ index baed3b4..608fc46 100644
  #endif
      { -1 },
  };
--- 
-1.8.0.2
-
diff --git a/0082-tcg-sparc-Fix-ADDX-opcode.patch b/0082-tcg-sparc-Fix-ADDX-opcode.patch
index 87fbdbc..7c46b9f 100644
--- a/0082-tcg-sparc-Fix-ADDX-opcode.patch
+++ b/0082-tcg-sparc-Fix-ADDX-opcode.patch
@@ -22,6 +22,3 @@ index 608fc46..0a19313 100644
  #define ARITH_SUBX (INSN_OP(2) | INSN_OP3(0x0c))
  #define ARITH_UMUL (INSN_OP(2) | INSN_OP3(0x0a))
  #define ARITH_UDIV (INSN_OP(2) | INSN_OP3(0x0e))
--- 
-1.8.0.2
-
diff --git a/0083-tcg-sparc-Don-t-MAP_FIXED-on-top-of-the-program.patch b/0083-tcg-sparc-Don-t-MAP_FIXED-on-top-of-the-program.patch
index 3ed5c98..6f1d3ad 100644
--- a/0083-tcg-sparc-Don-t-MAP_FIXED-on-top-of-the-program.patch
+++ b/0083-tcg-sparc-Don-t-MAP_FIXED-on-top-of-the-program.patch
@@ -40,6 +40,3 @@ index 5834766..871a68a 100644
          if (code_gen_buffer_size > (512 * 1024 * 1024)) {
              code_gen_buffer_size = (512 * 1024 * 1024);
          }
--- 
-1.8.0.2
-
diff --git a/0084-tcg-sparc-Assume-v9-cpu-always-i.e.-force-v8plus-in-.patch b/0084-tcg-sparc-Assume-v9-cpu-always-i.e.-force-v8plus-in-.patch
index 901d583..bc773ca 100644
--- a/0084-tcg-sparc-Assume-v9-cpu-always-i.e.-force-v8plus-in-.patch
+++ b/0084-tcg-sparc-Assume-v9-cpu-always-i.e.-force-v8plus-in-.patch
@@ -281,6 +281,3 @@ index 93421cd..16c4e1d 100644
      s->current_frame_offset = (s->current_frame_offset +
                                 (tcg_target_long)sizeof(tcg_target_long) - 1) &
          ~(sizeof(tcg_target_long) - 1);
--- 
-1.8.0.2
-
diff --git a/0085-tcg-sparc-Fix-qemu_ld-st-to-handle-32-bit-host.patch b/0085-tcg-sparc-Fix-qemu_ld-st-to-handle-32-bit-host.patch
index 1e6b5e4..1df9038 100644
--- a/0085-tcg-sparc-Fix-qemu_ld-st-to-handle-32-bit-host.patch
+++ b/0085-tcg-sparc-Fix-qemu_ld-st-to-handle-32-bit-host.patch
@@ -962,6 +962,3 @@ index 23c2fda..d89c19b 100644
      { -1 },
  };
  
--- 
-1.8.0.2
-
diff --git a/0086-tcg-sparc-Support-GUEST_BASE.patch b/0086-tcg-sparc-Support-GUEST_BASE.patch
index e1996aa..1a18244 100644
--- a/0086-tcg-sparc-Support-GUEST_BASE.patch
+++ b/0086-tcg-sparc-Support-GUEST_BASE.patch
@@ -108,6 +108,3 @@ index adca1d2..99e9f57 100644
  #ifdef CONFIG_SOLARIS
  #define TCG_AREG0 TCG_REG_G2
  #elif HOST_LONG_BITS == 64
--- 
-1.8.0.2
-
diff --git a/0087-tcg-sparc-Change-AREG0-in-generated-code-to-i0.patch b/0087-tcg-sparc-Change-AREG0-in-generated-code-to-i0.patch
index ed711b2..cf5f3b0 100644
--- a/0087-tcg-sparc-Change-AREG0-in-generated-code-to-i0.patch
+++ b/0087-tcg-sparc-Change-AREG0-in-generated-code-to-i0.patch
@@ -46,6 +46,3 @@ index 99e9f57..ee154d0 100644
  
  static inline void flush_icache_range(tcg_target_ulong start,
                                        tcg_target_ulong stop)
--- 
-1.8.0.2
-
diff --git a/0088-tcg-sparc-Clean-up-cruft-stemming-from-attempts-to-u.patch b/0088-tcg-sparc-Clean-up-cruft-stemming-from-attempts-to-u.patch
index edef4da..c69be8a 100644
--- a/0088-tcg-sparc-Clean-up-cruft-stemming-from-attempts-to-u.patch
+++ b/0088-tcg-sparc-Clean-up-cruft-stemming-from-attempts-to-u.patch
@@ -198,6 +198,3 @@ index ee154d0..6314ffb 100644
  #endif
  
  #if TCG_TARGET_REG_BITS == 64
--- 
-1.8.0.2
-
diff --git a/0089-tcg-sparc-Mask-shift-immediates-to-avoid-illegal-ins.patch b/0089-tcg-sparc-Mask-shift-immediates-to-avoid-illegal-ins.patch
index fdd8142..7ced9e0 100644
--- a/0089-tcg-sparc-Mask-shift-immediates-to-avoid-illegal-ins.patch
+++ b/0089-tcg-sparc-Mask-shift-immediates-to-avoid-illegal-ins.patch
@@ -57,6 +57,3 @@ index e625aa3..be5c170 100644
      case INDEX_op_mul_i64:
          c = ARITH_MULX;
          goto gen_arith;
--- 
-1.8.0.2
-
diff --git a/0090-tcg-sparc-Use-defines-for-temporaries.patch b/0090-tcg-sparc-Use-defines-for-temporaries.patch
index 2dbc636..56e0c17 100644
--- a/0090-tcg-sparc-Use-defines-for-temporaries.patch
+++ b/0090-tcg-sparc-Use-defines-for-temporaries.patch
@@ -270,6 +270,3 @@ index be5c170..d401f8e 100644
      tcg_add_target_add_op_defs(sparc_op_defs);
  }
  
--- 
-1.8.0.2
-
diff --git a/0091-tcg-sparc-Add-g-o-registers-to-alloc_order.patch b/0091-tcg-sparc-Add-g-o-registers-to-alloc_order.patch
index 03d8469..20af5bb 100644
--- a/0091-tcg-sparc-Add-g-o-registers-to-alloc_order.patch
+++ b/0091-tcg-sparc-Add-g-o-registers-to-alloc_order.patch
@@ -39,6 +39,3 @@ index d401f8e..03c385a 100644
  };
  
  static const int tcg_target_call_iarg_regs[6] = {
--- 
-1.8.0.2
-
diff --git a/0092-tcg-sparc-Fix-and-enable-direct-TB-chaining.patch b/0092-tcg-sparc-Fix-and-enable-direct-TB-chaining.patch
index 6eea805..bcbecbf 100644
--- a/0092-tcg-sparc-Fix-and-enable-direct-TB-chaining.patch
+++ b/0092-tcg-sparc-Fix-and-enable-direct-TB-chaining.patch
@@ -74,6 +74,3 @@ index 03c385a..1db0c9d 100644
 +    *ptr = CALL | (disp & 0x3fffffff);
 +    flush_icache_range(jmp_addr, jmp_addr + 4);
 +}
--- 
-1.8.0.2
-
diff --git a/0093-tcg-sparc-Preserve-branch-destinations-during-retran.patch b/0093-tcg-sparc-Preserve-branch-destinations-during-retran.patch
index e002185..187ffec 100644
--- a/0093-tcg-sparc-Preserve-branch-destinations-during-retran.patch
+++ b/0093-tcg-sparc-Preserve-branch-destinations-during-retran.patch
@@ -55,6 +55,3 @@ index 1db0c9d..876da4f 100644
  }
  #endif
  
--- 
-1.8.0.2
-
diff --git a/0094-target-alpha-Initialize-env-cpu_model_str.patch b/0094-target-alpha-Initialize-env-cpu_model_str.patch
index 2b0155f..cf7272b 100644
--- a/0094-target-alpha-Initialize-env-cpu_model_str.patch
+++ b/0094-target-alpha-Initialize-env-cpu_model_str.patch
@@ -28,6 +28,3 @@ index 4a9011a..3f9aee1 100644
  
      qemu_init_vcpu(env);
      return env;
--- 
-1.8.0.2
-
diff --git a/0095-tcg-mips-fix-MIPS32-R2-detection.patch b/0095-tcg-mips-fix-MIPS32-R2-detection.patch
index a31cfdd..5aa90c8 100644
--- a/0095-tcg-mips-fix-MIPS32-R2-detection.patch
+++ b/0095-tcg-mips-fix-MIPS32-R2-detection.patch
@@ -88,6 +88,3 @@ index d147e70..7020d65 100644
  #define TCG_TARGET_HAS_bswap16_i32      1
  #define TCG_TARGET_HAS_bswap32_i32      1
  #define TCG_TARGET_HAS_rot_i32          1
--- 
-1.8.0.2
-
diff --git a/0096-tcg-Adjust-descriptions-of-cond-opcodes.patch b/0096-tcg-Adjust-descriptions-of-cond-opcodes.patch
index cfe0d8b..bcef0e8 100644
--- a/0096-tcg-Adjust-descriptions-of-cond-opcodes.patch
+++ b/0096-tcg-Adjust-descriptions-of-cond-opcodes.patch
@@ -62,6 +62,3 @@ index 33783ee..27846f1 100644
  
  Similar to setcond, except that the 64-bit values T1 and T2 are
  formed from two 32-bit arguments.  The result is a 32-bit value.
--- 
-1.8.0.2
-
diff --git a/0097-tcg-i386-fix-build-with-march-i686.patch b/0097-tcg-i386-fix-build-with-march-i686.patch
index f8bfc32..d36642b 100644
--- a/0097-tcg-i386-fix-build-with-march-i686.patch
+++ b/0097-tcg-i386-fix-build-with-march-i686.patch
@@ -29,6 +29,3 @@ index 85c6b81..616ef23 100644
  
  #if TCG_TARGET_REG_BITS == 32
      { INDEX_op_mulu2_i32, { "a", "d", "a", "r" } },
--- 
-1.8.0.2
-
diff --git a/0098-tcg-Fix-MAX_OPC_PARAM_IARGS.patch b/0098-tcg-Fix-MAX_OPC_PARAM_IARGS.patch
index 2fca6d4..a6898b8 100644
--- a/0098-tcg-Fix-MAX_OPC_PARAM_IARGS.patch
+++ b/0098-tcg-Fix-MAX_OPC_PARAM_IARGS.patch
@@ -47,6 +47,3 @@ index 1f81da7..6516da0 100644
  #define MAX_OPC_PARAM_OARGS 1
  #define MAX_OPC_PARAM_ARGS (MAX_OPC_PARAM_IARGS + MAX_OPC_PARAM_OARGS)
  
--- 
-1.8.0.2
-
diff --git a/0099-tci-Fix-for-AREG0-free-mode.patch b/0099-tci-Fix-for-AREG0-free-mode.patch
index 31b4673..dbe45ae 100644
--- a/0099-tci-Fix-for-AREG0-free-mode.patch
+++ b/0099-tci-Fix-for-AREG0-free-mode.patch
@@ -114,6 +114,3 @@ index ce8a988..a4f7b78 100644
              tci_write_reg(TCG_REG_R0, tmp64);
  #endif
              break;
--- 
-1.8.0.2
-
diff --git a/0100-spice-abort-on-invalid-streaming-cmdline-params.patch b/0100-spice-abort-on-invalid-streaming-cmdline-params.patch
index 67d3d35..1ee5c3a 100644
--- a/0100-spice-abort-on-invalid-streaming-cmdline-params.patch
+++ b/0100-spice-abort-on-invalid-streaming-cmdline-params.patch
@@ -36,6 +36,3 @@ index 4fc48f8..bb4f585 100644
  
  static const char *compression_names[] = {
      [ SPICE_IMAGE_COMPRESS_OFF ]      = "off",
--- 
-1.8.0.2
-
diff --git a/0101-spice-notify-spice-server-on-vm-start-stop.patch b/0101-spice-notify-spice-server-on-vm-start-stop.patch
index 6e08d98..1527c4a 100644
--- a/0101-spice-notify-spice-server-on-vm-start-stop.patch
+++ b/0101-spice-notify-spice-server-on-vm-start-stop.patch
@@ -50,6 +50,3 @@ index bb4f585..a515c94 100644
      g_free(x509_key_file);
      g_free(x509_cert_file);
      g_free(x509_cacert_file);
--- 
-1.8.0.2
-
diff --git a/0102-spice-notify-on-vm-state-change-only-via-spice_serve.patch b/0102-spice-notify-on-vm-state-change-only-via-spice_serve.patch
index 6c96f49..b0ccd8a 100644
--- a/0102-spice-notify-on-vm-state-change-only-via-spice_serve.patch
+++ b/0102-spice-notify-on-vm-state-change-only-via-spice_serve.patch
@@ -168,6 +168,3 @@ index 12e50b6..672d65e 100644
 +void qemu_spice_display_stop(void);
 +#endif
 +int qemu_spice_display_is_running(SimpleSpiceDisplay *ssd);
--- 
-1.8.0.2
-
diff --git a/0103-spice-migration-add-QEVENT_SPICE_MIGRATE_COMPLETED.patch b/0103-spice-migration-add-QEVENT_SPICE_MIGRATE_COMPLETED.patch
index fbfabaa..ad2da2f 100644
--- a/0103-spice-migration-add-QEVENT_SPICE_MIGRATE_COMPLETED.patch
+++ b/0103-spice-migration-add-QEVENT_SPICE_MIGRATE_COMPLETED.patch
@@ -88,6 +88,3 @@ index 1a7a773..851e869 100644
  #else
          spice_server_migrate_end(spice_server, true);
      } else if (migration_has_failed(s)) {
--- 
-1.8.0.2
-
diff --git a/0104-spice-add-migrated-flag-to-spice-info.patch b/0104-spice-add-migrated-flag-to-spice-info.patch
index 458d912..eb7a997 100644
--- a/0104-spice-add-migrated-flag-to-spice-info.patch
+++ b/0104-spice-add-migrated-flag-to-spice-info.patch
@@ -92,6 +92,3 @@ index 851e869..ab069c5 100644
  #else
          spice_server_migrate_end(spice_server, true);
      } else if (migration_has_failed(s)) {
--- 
-1.8.0.2
-
diff --git a/0105-spice-adding-seamless-migration-option-to-the-comman.patch b/0105-spice-adding-seamless-migration-option-to-the-comman.patch
index c43d3fb..9fdcb4d 100644
--- a/0105-spice-adding-seamless-migration-option-to-the-comman.patch
+++ b/0105-spice-adding-seamless-migration-option-to-the-comman.patch
@@ -74,6 +74,3 @@ index ab069c5..ba0d0bd 100644
      if (0 != spice_server_init(spice_server, &core_interface)) {
          error_report("failed to initialize spice server");
          exit(1);
--- 
-1.8.0.2
-
diff --git a/0106-spice-increase-the-verbosity-of-spice-section-in-qem.patch b/0106-spice-increase-the-verbosity-of-spice-section-in-qem.patch
index 77c0890..a84a446 100644
--- a/0106-spice-increase-the-verbosity-of-spice-section-in-qem.patch
+++ b/0106-spice-increase-the-verbosity-of-spice-section-in-qem.patch
@@ -45,6 +45,3 @@ index dd7aa63..1af4fec 100644
  STEXI
  @item -spice @var{option}[, at var{option}[,...]]
  @findex -spice
--- 
-1.8.0.2
-
diff --git a/0107-qxl-update_area_io-guest_bug-on-invalid-parameters.patch b/0107-qxl-update_area_io-guest_bug-on-invalid-parameters.patch
index 341717c..f34e533 100644
--- a/0107-qxl-update_area_io-guest_bug-on-invalid-parameters.patch
+++ b/0107-qxl-update_area_io-guest_bug-on-invalid-parameters.patch
@@ -35,6 +35,3 @@ index 95bbc03..baf9bb4 100644
          if (async == QXL_ASYNC) {
              cookie = qxl_cookie_new(QXL_COOKIE_TYPE_IO,
                                      QXL_IO_UPDATE_AREA_ASYNC);
--- 
-1.8.0.2
-
diff --git a/0108-qxl-add-QXL_IO_MONITORS_CONFIG_ASYNC.patch b/0108-qxl-add-QXL_IO_MONITORS_CONFIG_ASYNC.patch
index bdfcbe8..ba49852 100644
--- a/0108-qxl-add-QXL_IO_MONITORS_CONFIG_ASYNC.patch
+++ b/0108-qxl-add-QXL_IO_MONITORS_CONFIG_ASYNC.patch
@@ -322,6 +322,3 @@ index 672d65e..bcff114 100644
  };
  
  typedef struct QXLCookie {
--- 
-1.8.0.2
-
diff --git a/0109-configure-print-spice-protocol-and-spice-server-vers.patch b/0109-configure-print-spice-protocol-and-spice-server-vers.patch
index 2990c3f..841c630 100644
--- a/0109-configure-print-spice-protocol-and-spice-server-vers.patch
+++ b/0109-configure-print-spice-protocol-and-spice-server-vers.patch
@@ -34,6 +34,3 @@ index b5cea26..d7a948f 100755
  echo "rbd support       $rbd"
  echo "xfsctl support    $xfs"
  echo "nss used          $smartcard_nss"
--- 
-1.8.0.2
-
diff --git a/0110-fix-doc-of-using-raw-values-with-sendkey.patch b/0110-fix-doc-of-using-raw-values-with-sendkey.patch
index 855f817..efde3ff 100644
--- a/0110-fix-doc-of-using-raw-values-with-sendkey.patch
+++ b/0110-fix-doc-of-using-raw-values-with-sendkey.patch
@@ -37,6 +37,3 @@ index 13f28cf..a72614d 100644
  @example
  sendkey ctrl-alt-f1
  @end example
--- 
-1.8.0.2
-
diff --git a/0111-qapi-Fix-potential-NULL-pointer-segfault.patch b/0111-qapi-Fix-potential-NULL-pointer-segfault.patch
index ff6d326..a7de589 100644
--- a/0111-qapi-Fix-potential-NULL-pointer-segfault.patch
+++ b/0111-qapi-Fix-potential-NULL-pointer-segfault.patch
@@ -33,6 +33,3 @@ index 04ef7c4..5b15ee3 100644
                  visit_type_%(name)sKind(m, &(*obj)->kind, "type", &err);
                  if (!err) {
                      switch ((*obj)->kind) {
--- 
-1.8.0.2
-
diff --git a/0112-json-parser-Fix-potential-NULL-pointer-segfault.patch b/0112-json-parser-Fix-potential-NULL-pointer-segfault.patch
index c7737da..2c2d4a3 100644
--- a/0112-json-parser-Fix-potential-NULL-pointer-segfault.patch
+++ b/0112-json-parser-Fix-potential-NULL-pointer-segfault.patch
@@ -35,6 +35,3 @@ index d42386d..9124649 100644
  
  /* Initialize an object to default values */
  #define QOBJECT_INIT(obj, qtype_type)   \
--- 
-1.8.0.2
-
diff --git a/0113-pcie-drop-version_id-field-for-live-migration.patch b/0113-pcie-drop-version_id-field-for-live-migration.patch
index 3f8f0dc..9c5aa3f 100644
--- a/0113-pcie-drop-version_id-field-for-live-migration.patch
+++ b/0113-pcie-drop-version_id-field-for-live-migration.patch
@@ -74,6 +74,3 @@ index b8ab0c7..4889194 100644
      .size       = sizeof(PCIDevice),                                 \
      .vmsd       = &vmstate_pcie_device,                              \
      .flags      = VMS_STRUCT,                                        \
--- 
-1.8.0.2
-
diff --git a/0114-pcie_aer-clear-cmask-for-Advanced-Error-Interrupt-Me.patch b/0114-pcie_aer-clear-cmask-for-Advanced-Error-Interrupt-Me.patch
index e1f0739..d4bd386 100644
--- a/0114-pcie_aer-clear-cmask-for-Advanced-Error-Interrupt-Me.patch
+++ b/0114-pcie_aer-clear-cmask-for-Advanced-Error-Interrupt-Me.patch
@@ -35,6 +35,3 @@ index 3b6981c..b04c164 100644
  }
  
  void pcie_aer_root_reset(PCIDevice *dev)
--- 
-1.8.0.2
-
diff --git a/0115-fix-entry-pointer-for-ELF-kernels-loaded-with-kernel.patch b/0115-fix-entry-pointer-for-ELF-kernels-loaded-with-kernel.patch
index 02f9105..8c7098f 100644
--- a/0115-fix-entry-pointer-for-ELF-kernels-loaded-with-kernel.patch
+++ b/0115-fix-entry-pointer-for-ELF-kernels-loaded-with-kernel.patch
@@ -37,6 +37,3 @@ index fa65ce2..731a983 100644
              snprintf(label, sizeof(label), "phdr #%d: %s", i, name);
              rom_add_blob_fixed(label, data, mem_size, addr);
  
--- 
-1.8.0.2
-
diff --git a/0116-lan9118-fix-multicast-filtering.patch b/0116-lan9118-fix-multicast-filtering.patch
index 877e6a4..d9b8664 100644
--- a/0116-lan9118-fix-multicast-filtering.patch
+++ b/0116-lan9118-fix-multicast-filtering.patch
@@ -32,6 +32,3 @@ index ff0a50b..ceaf96f 100644
          if (hash & 0x20) {
              return (s->mac_hashh >> (hash & 0x1f)) & 1;
          } else {
--- 
-1.8.0.2
-
diff --git a/0117-MIPS-user-Fix-reset-CPU-state-initialization.patch b/0117-MIPS-user-Fix-reset-CPU-state-initialization.patch
index 427408f..21d7371 100644
--- a/0117-MIPS-user-Fix-reset-CPU-state-initialization.patch
+++ b/0117-MIPS-user-Fix-reset-CPU-state-initialization.patch
@@ -191,6 +191,3 @@ index aba7935..4e04e97 100644
      env->exception_index = EXCP_NONE;
  }
  
--- 
-1.8.0.2
-
diff --git a/0118-Add-MAINTAINERS-entry-for-leon3.patch b/0118-Add-MAINTAINERS-entry-for-leon3.patch
index 3b14753..a69eeb4 100644
--- a/0118-Add-MAINTAINERS-entry-for-leon3.patch
+++ b/0118-Add-MAINTAINERS-entry-for-leon3.patch
@@ -29,6 +29,3 @@ index 6d864c1..61f8b45 100644
  S390 Machines
  -------------
  S390 Virtio
--- 
-1.8.0.2
-
diff --git a/0119-musicpal-Fix-flash-mapping.patch b/0119-musicpal-Fix-flash-mapping.patch
index 1ec2830..881801c 100644
--- a/0119-musicpal-Fix-flash-mapping.patch
+++ b/0119-musicpal-Fix-flash-mapping.patch
@@ -37,6 +37,3 @@ index ad725b5..f305e21 100644
                                "musicpal.flash", flash_size,
                                dinfo->bdrv, 0x10000,
                                (flash_size + 0xffff) >> 16,
--- 
-1.8.0.2
-
diff --git a/0120-qemu-Use-valgrind-annotations-to-mark-kvm-guest-memo.patch b/0120-qemu-Use-valgrind-annotations-to-mark-kvm-guest-memo.patch
index f2b0456..42ee2c5 100644
--- a/0120-qemu-Use-valgrind-annotations-to-mark-kvm-guest-memo.patch
+++ b/0120-qemu-Use-valgrind-annotations-to-mark-kvm-guest-memo.patch
@@ -79,6 +79,3 @@ index badf1d8..90c71f9 100644
      if (!kvm_has_sync_mmu()) {
          int ret = qemu_madvise(start, size, QEMU_MADV_DONTFORK);
  
--- 
-1.8.0.2
-
diff --git a/0121-hw-wm8750-Fix-potential-buffer-overflow.patch b/0121-hw-wm8750-Fix-potential-buffer-overflow.patch
index 36802b7..db8b2be 100644
--- a/0121-hw-wm8750-Fix-potential-buffer-overflow.patch
+++ b/0121-hw-wm8750-Fix-potential-buffer-overflow.patch
@@ -38,6 +38,3 @@ index 11bcec3..44f138f 100644
      }
      s->i2c_data[s->i2c_len ++] = data;
      if (s->i2c_len != 2)
--- 
-1.8.0.2
-
diff --git a/0122-hw-mcf5206-Fix-buffer-overflow-for-MBAR-read-write.patch b/0122-hw-mcf5206-Fix-buffer-overflow-for-MBAR-read-write.patch
index 7f385bd..ec1c7c0 100644
--- a/0122-hw-mcf5206-Fix-buffer-overflow-for-MBAR-read-write.patch
+++ b/0122-hw-mcf5206-Fix-buffer-overflow-for-MBAR-read-write.patch
@@ -82,6 +82,3 @@ index 539b391..27753e2 100644
          hw_error("Bad MBAR write offset 0x%x", (int)offset);
      }
      width = m5206_mbar_width[offset >> 2];
--- 
-1.8.0.2
-
diff --git a/0123-use-libexecdir-instead-of-ignoring-it-first-and-rein.patch b/0123-use-libexecdir-instead-of-ignoring-it-first-and-rein.patch
index 5020cb2..144f951 100644
--- a/0123-use-libexecdir-instead-of-ignoring-it-first-and-rein.patch
+++ b/0123-use-libexecdir-instead-of-ignoring-it-first-and-rein.patch
@@ -89,6 +89,3 @@ index 8874eff..d01f9dc 100755
  
  echo "ARCH=$ARCH" >> $config_host_mak
  if test "$debug_tcg" = "yes" ; then
--- 
-1.8.0.2
-
diff --git a/0124-socket-don-t-attempt-to-reconnect-a-TCP-socket-in-se.patch b/0124-socket-don-t-attempt-to-reconnect-a-TCP-socket-in-se.patch
index babe9ee..333a77a 100644
--- a/0124-socket-don-t-attempt-to-reconnect-a-TCP-socket-in-se.patch
+++ b/0124-socket-don-t-attempt-to-reconnect-a-TCP-socket-in-se.patch
@@ -38,6 +38,3 @@ index 398baf1..767da93 100644
      }
  }
  
--- 
-1.8.0.2
-
diff --git a/0125-Add-ability-to-force-enable-disable-of-tools-build.patch b/0125-Add-ability-to-force-enable-disable-of-tools-build.patch
index c76157c..b98e9a0 100644
--- a/0125-Add-ability-to-force-enable-disable-of-tools-build.patch
+++ b/0125-Add-ability-to-force-enable-disable-of-tools-build.patch
@@ -78,6 +78,3 @@ index d01f9dc..a8061c1 100755
  fi
  
  # Mac OS X ships with a broken assembler
--- 
-1.8.0.2
-
diff --git a/0126-usb-controllers-do-not-need-to-check-for-babble-them.patch b/0126-usb-controllers-do-not-need-to-check-for-babble-them.patch
index 3ad2a65..69d43d1 100644
--- a/0126-usb-controllers-do-not-need-to-check-for-babble-them.patch
+++ b/0126-usb-controllers-do-not-need-to-check-for-babble-them.patch
@@ -53,6 +53,3 @@ index b0db921..c7c8786 100644
          if ((td->ctrl & TD_CTRL_SPD) && len < max_len) {
              *int_mask |= 0x02;
              /* short packet: do not update QH */
--- 
-1.8.0.2
-
diff --git a/0127-usb-core-Don-t-set-packet-state-to-complete-on-a-nak.patch b/0127-usb-core-Don-t-set-packet-state-to-complete-on-a-nak.patch
index 348947d..34a1a3c 100644
--- a/0127-usb-core-Don-t-set-packet-state-to-complete-on-a-nak.patch
+++ b/0127-usb-core-Don-t-set-packet-state-to-complete-on-a-nak.patch
@@ -32,6 +32,3 @@ index 2da38e7..be6d936 100644
          }
      } else {
          ret = USB_RET_ASYNC;
--- 
-1.8.0.2
-
diff --git a/0128-usb-core-Add-a-usb_ep_find_packet_by_id-helper-funct.patch b/0128-usb-core-Add-a-usb_ep_find_packet_by_id-helper-funct.patch
index c975292..020f67f 100644
--- a/0128-usb-core-Add-a-usb_ep_find_packet_by_id-helper-funct.patch
+++ b/0128-usb-core-Add-a-usb_ep_find_packet_by_id-helper-funct.patch
@@ -49,6 +49,3 @@ index be6d936..fe431d0 100644
 +
 +    return NULL;
 +}
--- 
-1.8.0.2
-
diff --git a/0129-usb-core-Allow-the-first-packet-of-a-pipelined-ep-to.patch b/0129-usb-core-Allow-the-first-packet-of-a-pipelined-ep-to.patch
index 7186113..8826075 100644
--- a/0129-usb-core-Allow-the-first-packet-of-a-pipelined-ep-to.patch
+++ b/0129-usb-core-Allow-the-first-packet-of-a-pipelined-ep-to.patch
@@ -30,6 +30,3 @@ index fe431d0..b9f1f7a 100644
              if (ret != USB_RET_NAK) {
                  p->result = ret;
                  usb_packet_set_state(p, USB_PACKET_COMPLETE);
--- 
-1.8.0.2
-
diff --git a/0130-Revert-ehci-don-t-flush-cache-on-doorbell-rings.patch b/0130-Revert-ehci-don-t-flush-cache-on-doorbell-rings.patch
index 7600ddb..1749750 100644
--- a/0130-Revert-ehci-don-t-flush-cache-on-doorbell-rings.patch
+++ b/0130-Revert-ehci-don-t-flush-cache-on-doorbell-rings.patch
@@ -119,6 +119,3 @@ index 9523247..e7c36f4 100644
          break;
  
      default:
--- 
-1.8.0.2
-
diff --git a/0131-ehci-Validate-qh-is-not-changed-unexpectedly-by-the-.patch b/0131-ehci-Validate-qh-is-not-changed-unexpectedly-by-the-.patch
index 27a76c8..a1faa09 100644
--- a/0131-ehci-Validate-qh-is-not-changed-unexpectedly-by-the-.patch
+++ b/0131-ehci-Validate-qh-is-not-changed-unexpectedly-by-the-.patch
@@ -81,6 +81,3 @@ index e7c36f4..35eb441 100644
      if (q->dev == NULL) {
          q->dev = ehci_find_device(q->ehci, devaddr);
      }
--- 
-1.8.0.2
-
diff --git a/0132-ehci-Update-copyright-headers-to-reflect-recent-work.patch b/0132-ehci-Update-copyright-headers-to-reflect-recent-work.patch
index e557925..104037c 100644
--- a/0132-ehci-Update-copyright-headers-to-reflect-recent-work.patch
+++ b/0132-ehci-Update-copyright-headers-to-reflect-recent-work.patch
@@ -30,6 +30,3 @@ index 35eb441..78a248f 100644
   *
   * EHCI project was started by Mark Burkley, with contributions by
   * Niels de Vos.  David S. Ahern continued working on it.  Kevin Wolf,
--- 
-1.8.0.2
-
diff --git a/0133-ehci-Properly-cleanup-packets-on-cancel.patch b/0133-ehci-Properly-cleanup-packets-on-cancel.patch
index 3cdc6a4..a1bf6e6 100644
--- a/0133-ehci-Properly-cleanup-packets-on-cancel.patch
+++ b/0133-ehci-Properly-cleanup-packets-on-cancel.patch
@@ -24,6 +24,3 @@ index 78a248f..4fe85c8 100644
      }
      QTAILQ_REMOVE(&p->queue->packets, p, next);
      usb_packet_cleanup(&p->packet);
--- 
-1.8.0.2
-
diff --git a/0134-ehci-Properly-report-completed-but-not-yet-processed.patch b/0134-ehci-Properly-report-completed-but-not-yet-processed.patch
index 430ea91..5a7d08f 100644
--- a/0134-ehci-Properly-report-completed-but-not-yet-processed.patch
+++ b/0134-ehci-Properly-report-completed-but-not-yet-processed.patch
@@ -47,6 +47,3 @@ index 4fe85c8..0a6c9ef 100644
      QTAILQ_REMOVE(&p->queue->packets, p, next);
      usb_packet_cleanup(&p->packet);
      g_free(p);
--- 
-1.8.0.2
-
diff --git a/0135-ehci-check-for-EHCI_ASYNC_FINISHED-first-in-ehci_fre.patch b/0135-ehci-check-for-EHCI_ASYNC_FINISHED-first-in-ehci_fre.patch
index 56269e4..784c480 100644
--- a/0135-ehci-check-for-EHCI_ASYNC_FINISHED-first-in-ehci_fre.patch
+++ b/0135-ehci-check-for-EHCI_ASYNC_FINISHED-first-in-ehci_fre.patch
@@ -44,6 +44,3 @@ index 0a6c9ef..23221d0 100644
      QTAILQ_REMOVE(&p->queue->packets, p, next);
      usb_packet_cleanup(&p->packet);
      g_free(p);
--- 
-1.8.0.2
-
diff --git a/0136-ehci-trace-guest-bugs.patch b/0136-ehci-trace-guest-bugs.patch
index f93ccca..295696d 100644
--- a/0136-ehci-trace-guest-bugs.patch
+++ b/0136-ehci-trace-guest-bugs.patch
@@ -104,6 +104,3 @@ index 8fcbc50..5112a47 100644
  
  # hw/usb/hcd-uhci.c
  usb_uhci_reset(void) "=== RESET ==="
--- 
-1.8.0.2
-
diff --git a/0137-ehci-add-doorbell-trace-events.patch b/0137-ehci-add-doorbell-trace-events.patch
index 4b5e7a1..aac729c 100644
--- a/0137-ehci-add-doorbell-trace-events.patch
+++ b/0137-ehci-add-doorbell-trace-events.patch
@@ -46,6 +46,3 @@ index 5112a47..10bc04e 100644
  
  # hw/usb/hcd-uhci.c
  usb_uhci_reset(void) "=== RESET ==="
--- 
-1.8.0.2
-
diff --git a/0138-ehci-Add-some-additional-ehci_trace_guest_bug-calls.patch b/0138-ehci-Add-some-additional-ehci_trace_guest_bug-calls.patch
index 73b4755..a580d28 100644
--- a/0138-ehci-Add-some-additional-ehci_trace_guest_bug-calls.patch
+++ b/0138-ehci-Add-some-additional-ehci_trace_guest_bug-calls.patch
@@ -83,6 +83,3 @@ index 398f5e0..5a88268 100644
          return USB_RET_PROCERR;
      }
  
--- 
-1.8.0.2
-
diff --git a/0139-ehci-Fix-memory-leak-in-handling-of-NAK-ed-packets.patch b/0139-ehci-Fix-memory-leak-in-handling-of-NAK-ed-packets.patch
index d80e373..d0ba725 100644
--- a/0139-ehci-Fix-memory-leak-in-handling-of-NAK-ed-packets.patch
+++ b/0139-ehci-Fix-memory-leak-in-handling-of-NAK-ed-packets.patch
@@ -115,6 +115,3 @@ index 5a88268..d87aca8 100644
              ehci_set_state(q->ehci, q->async, EST_HORIZONTALQH);
              break;
          case EHCI_ASYNC_FINISHED:
--- 
-1.8.0.2
-
diff --git a/0140-ehci-Handle-USB_RET_PROCERR-in-ehci_fill_queue.patch b/0140-ehci-Handle-USB_RET_PROCERR-in-ehci_fill_queue.patch
index b934bd6..e94e747 100644
--- a/0140-ehci-Handle-USB_RET_PROCERR-in-ehci_fill_queue.patch
+++ b/0140-ehci-Handle-USB_RET_PROCERR-in-ehci_fill_queue.patch
@@ -52,6 +52,3 @@ index d87aca8..2534394 100644
          goto out;
      }
  
--- 
-1.8.0.2
-
diff --git a/0141-ehci-Correct-a-comment-in-fetchqtd-packet-processing.patch b/0141-ehci-Correct-a-comment-in-fetchqtd-packet-processing.patch
index 99a1f6e..287cee2 100644
--- a/0141-ehci-Correct-a-comment-in-fetchqtd-packet-processing.patch
+++ b/0141-ehci-Correct-a-comment-in-fetchqtd-packet-processing.patch
@@ -32,6 +32,3 @@ index 2534394..2f3e9c0 100644
              ehci_set_state(q->ehci, q->async, EST_EXECUTING);
              break;
          }
--- 
-1.8.0.2
-
diff --git a/0142-usb-redir-Never-return-USB_RET_NAK-for-async-handled.patch b/0142-usb-redir-Never-return-USB_RET_NAK-for-async-handled.patch
index 4506477..ec5a34d 100644
--- a/0142-usb-redir-Never-return-USB_RET_NAK-for-async-handled.patch
+++ b/0142-usb-redir-Never-return-USB_RET_NAK-for-async-handled.patch
@@ -41,6 +41,3 @@ index 10b4fbb..7f3719b 100644
      case usb_redir_babble:
          return USB_RET_BABBLE;
      case usb_redir_ioerror:
--- 
-1.8.0.2
-
diff --git a/0143-usb-redir-Don-t-delay-handling-of-open-events-to-a-b.patch b/0143-usb-redir-Don-t-delay-handling-of-open-events-to-a-b.patch
index e38ae3d..612d892 100644
--- a/0143-usb-redir-Don-t-delay-handling-of-open-events-to-a-b.patch
+++ b/0143-usb-redir-Don-t-delay-handling-of-open-events-to-a-b.patch
@@ -179,6 +179,3 @@ index 7f3719b..5cc3334 100644
  
      qemu_del_timer(dev->attach_timer);
      qemu_free_timer(dev->attach_timer);
--- 
-1.8.0.2
-
diff --git a/0144-usb-redir-Get-rid-of-async-struct-get-member.patch b/0144-usb-redir-Get-rid-of-async-struct-get-member.patch
index 9eaadb9..531603e 100644
--- a/0144-usb-redir-Get-rid-of-async-struct-get-member.patch
+++ b/0144-usb-redir-Get-rid-of-async-struct-get-member.patch
@@ -71,6 +71,3 @@ index 5cc3334..2cae8c5 100644
              dev->dev.data_buf[0] = alt_setting_status->alt;
              len = 1;
          }
--- 
-1.8.0.2
-
diff --git a/0145-usb-redir-Get-rid-of-local-shadow-copy-of-packet-hea.patch b/0145-usb-redir-Get-rid-of-local-shadow-copy-of-packet-hea.patch
index f9403bb..d291ead 100644
--- a/0145-usb-redir-Get-rid-of-local-shadow-copy-of-packet-hea.patch
+++ b/0145-usb-redir-Get-rid-of-local-shadow-copy-of-packet-hea.patch
@@ -104,6 +104,3 @@ index 2cae8c5..e4ef372 100644
          if (aurb->packet) {
              aurb->packet->result = usbredir_handle_status(dev,
                                                 interrupt_packet->status, len);
--- 
-1.8.0.2
-
diff --git a/0146-usb-redir-Get-rid-of-unused-async-struct-dev-member.patch b/0146-usb-redir-Get-rid-of-unused-async-struct-dev-member.patch
index 20cab1e..d56a1fb 100644
--- a/0146-usb-redir-Get-rid-of-unused-async-struct-dev-member.patch
+++ b/0146-usb-redir-Get-rid-of-unused-async-struct-dev-member.patch
@@ -36,6 +36,3 @@ index e4ef372..6593d50 100644
      aurb->packet = p;
      aurb->packet_id = dev->packet_id;
      QTAILQ_INSERT_TAIL(&dev->asyncq, aurb, next);
--- 
-1.8.0.2
-
diff --git a/0147-usb-redir-Move-to-core-packet-id-and-queue-handling.patch b/0147-usb-redir-Move-to-core-packet-id-and-queue-handling.patch
index a99b211..67fc09b 100644
--- a/0147-usb-redir-Move-to-core-packet-id-and-queue-handling.patch
+++ b/0147-usb-redir-Move-to-core-packet-id-and-queue-handling.patch
@@ -497,6 +497,3 @@ index 6593d50..fd1f8cc 100644
      }
  }
  
--- 
-1.8.0.2
-
diff --git a/0148-usb-redir-Return-babble-when-getting-more-bulk-data-.patch b/0148-usb-redir-Return-babble-when-getting-more-bulk-data-.patch
index ee4691f..185f4c9 100644
--- a/0148-usb-redir-Return-babble-when-getting-more-bulk-data-.patch
+++ b/0148-usb-redir-Return-babble-when-getting-more-bulk-data-.patch
@@ -32,6 +32,3 @@ index fd1f8cc..ee75217 100644
              }
          }
          p->result = len;
--- 
-1.8.0.2
-
diff --git a/0149-Better-name-usb-braille-device.patch b/0149-Better-name-usb-braille-device.patch
index 26c4728..ca00165 100644
--- a/0149-Better-name-usb-braille-device.patch
+++ b/0149-Better-name-usb-braille-device.patch
@@ -28,6 +28,3 @@ index 8aa6552..69b6e48 100644
      [STR_SERIALNUMBER]    = "1",
  };
  
--- 
-1.8.0.2
-
diff --git a/0150-usb-audio-fix-usb-version.patch b/0150-usb-audio-fix-usb-version.patch
index 7170c9f..277c60a 100644
--- a/0150-usb-audio-fix-usb-version.patch
+++ b/0150-usb-audio-fix-usb-version.patch
@@ -27,6 +27,3 @@ index 79b75fb..2594c78 100644
      .bMaxPacketSize0               = 64,
      .bNumConfigurations            = 1,
      .confs = (USBDescConfig[]) {
--- 
-1.8.0.2
-
diff --git a/0151-xhci-rip-out-background-transfer-code.patch b/0151-xhci-rip-out-background-transfer-code.patch
index 1622c3a..ce78b1b 100644
--- a/0151-xhci-rip-out-background-transfer-code.patch
+++ b/0151-xhci-rip-out-background-transfer-code.patch
@@ -322,6 +322,3 @@ index 3eb27fa..c0a2476 100644
              break;
          }
          length = xhci_ring_chain_length(xhci, &epctx->ring);
--- 
-1.8.0.2
-
diff --git a/0152-xhci-drop-buffering.patch b/0152-xhci-drop-buffering.patch
index 210e4ea..ce5bb91 100644
--- a/0152-xhci-drop-buffering.patch
+++ b/0152-xhci-drop-buffering.patch
@@ -381,6 +381,3 @@ index 10bc04e..c83d65e 100644
  usb_xhci_xfer_async(void *xfer) "%p"
  usb_xhci_xfer_nak(void *xfer) "%p"
  usb_xhci_xfer_retry(void *xfer) "%p"
--- 
-1.8.0.2
-
diff --git a/0153-xhci-fix-runtime-write-tracepoint.patch b/0153-xhci-fix-runtime-write-tracepoint.patch
index af2878a..6f8475a 100644
--- a/0153-xhci-fix-runtime-write-tracepoint.patch
+++ b/0153-xhci-fix-runtime-write-tracepoint.patch
@@ -24,6 +24,3 @@ index 446d692..24b1f87 100644
  
      switch (reg) {
      case 0x20: /* IMAN */
--- 
-1.8.0.2
-
diff --git a/0154-xhci-allow-bytewise-capability-register-reads.patch b/0154-xhci-allow-bytewise-capability-register-reads.patch
index 5f733da..9a70680 100644
--- a/0154-xhci-allow-bytewise-capability-register-reads.patch
+++ b/0154-xhci-allow-bytewise-capability-register-reads.patch
@@ -34,6 +34,3 @@ index 24b1f87..333df59 100644
      .endianness = DEVICE_LITTLE_ENDIAN,
  };
  
--- 
-1.8.0.2
-
diff --git a/0155-qxl-dont-update-invalid-area.patch b/0155-qxl-dont-update-invalid-area.patch
index 01d79db..243aa55 100644
--- a/0155-qxl-dont-update-invalid-area.patch
+++ b/0155-qxl-dont-update-invalid-area.patch
@@ -39,6 +39,3 @@ index 27f3779..038a8bb 100644
          if (async == QXL_ASYNC) {
              cookie = qxl_cookie_new(QXL_COOKIE_TYPE_IO,
                                      QXL_IO_UPDATE_AREA_ASYNC);
--- 
-1.8.0.2
-
diff --git a/0156-usb-host-allow-emulated-non-async-control-requests-w.patch b/0156-usb-host-allow-emulated-non-async-control-requests-w.patch
index 72b7216..e06f991 100644
--- a/0156-usb-host-allow-emulated-non-async-control-requests-w.patch
+++ b/0156-usb-host-allow-emulated-non-async-control-requests-w.patch
@@ -35,6 +35,3 @@ index 8df9207..44f1a64 100644
  
      if (length > sizeof(dev->data_buf)) {
          fprintf(stderr, "husb: ctrl buffer too small (%d > %zu)\n",
--- 
-1.8.0.2
-
diff --git a/0157-qxl-better-cleanup-for-surface-destroy.patch b/0157-qxl-better-cleanup-for-surface-destroy.patch
index 090e57b..69542b2 100644
--- a/0157-qxl-better-cleanup-for-surface-destroy.patch
+++ b/0157-qxl-better-cleanup-for-surface-destroy.patch
@@ -30,6 +30,3 @@ index 038a8bb..67f7100 100644
      }
  }
  
--- 
-1.8.0.2
-
diff --git a/0158-ehci-switch-to-new-style-memory-ops.patch b/0158-ehci-switch-to-new-style-memory-ops.patch
index 00e00dc..fa7dea6 100644
--- a/0158-ehci-switch-to-new-style-memory-ops.patch
+++ b/0158-ehci-switch-to-new-style-memory-ops.patch
@@ -365,6 +365,3 @@ index c83d65e..cf05414 100644
  usb_ehci_usbsts(const char *sts, int state) "usbsts %s %d"
  usb_ehci_state(const char *schedule, const char *state) "%s schedule %s"
  usb_ehci_qh_ptrs(void *q, uint32_t addr, uint32_t nxt, uint32_t c_qtd, uint32_t n_qtd, uint32_t a_qtd) "q %p - QH @ %08x: next %08x qtds %08x,%08x,%08x"
--- 
-1.8.0.2
-
diff --git a/0159-ehci-Fix-interrupts-stopping-when-Interrupt-Threshol.patch b/0159-ehci-Fix-interrupts-stopping-when-Interrupt-Threshol.patch
index c92665f..bca784f 100644
--- a/0159-ehci-Fix-interrupts-stopping-when-Interrupt-Threshol.patch
+++ b/0159-ehci-Fix-interrupts-stopping-when-Interrupt-Threshol.patch
@@ -33,6 +33,3 @@ index f5ba8e1..54273d7 100644
                  ehci->usbsts_frindex -= 0x00004000;
              } else {
                  ehci->usbsts_frindex = 0;
--- 
-1.8.0.2
-
diff --git a/0160-ehci-Don-t-process-too-much-frames-in-1-timer-tick-v.patch b/0160-ehci-Don-t-process-too-much-frames-in-1-timer-tick-v.patch
index 0825bfc..630eeee 100644
--- a/0160-ehci-Don-t-process-too-much-frames-in-1-timer-tick-v.patch
+++ b/0160-ehci-Don-t-process-too-much-frames-in-1-timer-tick-v.patch
@@ -55,6 +55,3 @@ index 54273d7..017a01d 100644
              ehci_update_frindex(ehci, 1);
              ehci_advance_periodic_state(ehci);
              ehci->last_run_ns += FRAME_TIMER_NS;
--- 
-1.8.0.2
-
diff --git a/0161-sheepdog-fix-savevm-and-loadvm.patch b/0161-sheepdog-fix-savevm-and-loadvm.patch
index 01e836a..ee2895d 100644
--- a/0161-sheepdog-fix-savevm-and-loadvm.patch
+++ b/0161-sheepdog-fix-savevm-and-loadvm.patch
@@ -36,6 +36,3 @@ index df4f441..e0753ee 100644
          remaining -= data_len;
      }
      ret = size;
--- 
-1.8.0.2
-
diff --git a/0162-ide-Fix-error-messages-from-static-code-analysis-no-.patch b/0162-ide-Fix-error-messages-from-static-code-analysis-no-.patch
index 9ace08e..45e4ea0 100644
--- a/0162-ide-Fix-error-messages-from-static-code-analysis-no-.patch
+++ b/0162-ide-Fix-error-messages-from-static-code-analysis-no-.patch
@@ -62,6 +62,3 @@ index d65ef3d..d6fb69c 100644
  		    int i;
  		    for(i = 0; i < 11; i++) {
  			s->io_buffer[2+i+(n*12)] = smart_attributes[n][i];
--- 
-1.8.0.2
-
diff --git a/0163-block-curl-Fix-wrong-free-statement.patch b/0163-block-curl-Fix-wrong-free-statement.patch
index 4ee0e8d..85e5b14 100644
--- a/0163-block-curl-Fix-wrong-free-statement.patch
+++ b/0163-block-curl-Fix-wrong-free-statement.patch
@@ -32,6 +32,3 @@ index e7c3634..c1074cd 100644
  }
  
  static int64_t curl_getlength(BlockDriverState *bs)
--- 
-1.8.0.2
-
diff --git a/0164-vdi-Fix-warning-from-clang.patch b/0164-vdi-Fix-warning-from-clang.patch
index fbefc69..4842cad 100644
--- a/0164-vdi-Fix-warning-from-clang.patch
+++ b/0164-vdi-Fix-warning-from-clang.patch
@@ -70,6 +70,3 @@ index c4f1529..550cf58 100644
      if (image_type == VDI_TYPE_STATIC) {
          if (ftruncate(fd, sizeof(header) + bmap_size + blocks * block_size)) {
              result = -errno;
--- 
-1.8.0.2
-
diff --git a/0165-block-fix-block-tray-status.patch b/0165-block-fix-block-tray-status.patch
index 47861e3..5476562 100644
--- a/0165-block-fix-block-tray-status.patch
+++ b/0165-block-fix-block-tray-status.patch
@@ -31,6 +31,3 @@ index 470bdcc..c754353 100644
      /*throttling disk I/O limits*/
      if (bs->io_limits_enabled) {
          bdrv_io_limits_disable(bs);
--- 
-1.8.0.2
-
diff --git a/0166-ahci-properly-reset-PxCMD-on-HBA-reset.patch b/0166-ahci-properly-reset-PxCMD-on-HBA-reset.patch
index e496d34..70c1d11 100644
--- a/0166-ahci-properly-reset-PxCMD-on-HBA-reset.patch
+++ b/0166-ahci-properly-reset-PxCMD-on-HBA-reset.patch
@@ -59,6 +59,3 @@ index 5ea3cad..68671bc 100644
          ahci_reset_port(s, i);
      }
  }
--- 
-1.8.0.2
-
diff --git a/0167-Don-t-require-encryption-password-for-qemu-img-info-.patch b/0167-Don-t-require-encryption-password-for-qemu-img-info-.patch
index f44ff81..f018cad 100644
--- a/0167-Don-t-require-encryption-password-for-qemu-img-info-.patch
+++ b/0167-Don-t-require-encryption-password-for-qemu-img-info-.patch
@@ -115,6 +115,3 @@ index b41e670..0d208e8 100644
      if (!bs) {
          ret = -1;
          goto out;
--- 
-1.8.0.2
-
diff --git a/0168-block-Don-t-forget-to-delete-temporary-file.patch b/0168-block-Don-t-forget-to-delete-temporary-file.patch
index 4eef95e..0b86df0 100644
--- a/0168-block-Don-t-forget-to-delete-temporary-file.patch
+++ b/0168-block-Don-t-forget-to-delete-temporary-file.patch
@@ -31,6 +31,3 @@ index c754353..e78039b 100644
          return -errno;
      }
      return 0;
--- 
-1.8.0.2
-
diff --git a/0169-hw-qxl-tracing-fixes.patch b/0169-hw-qxl-tracing-fixes.patch
index 11c1085..d317b75 100644
--- a/0169-hw-qxl-tracing-fixes.patch
+++ b/0169-hw-qxl-tracing-fixes.patch
@@ -94,6 +94,3 @@ index cf05414..aa79836 100644
  
  # hw/qxl-render.c
  qxl_render_blit_guest_primary_initialized(void) ""
--- 
-1.8.0.2
-
diff --git a/0170-configure-usbredir-fixes.patch b/0170-configure-usbredir-fixes.patch
index f896be4..924dc3c 100644
--- a/0170-configure-usbredir-fixes.patch
+++ b/0170-configure-usbredir-fixes.patch
@@ -31,6 +31,3 @@ index a8061c1..dcd8e7b 100755
      else
          if test "$usb_redir" = "yes"; then
              feature_not_found "usb-redir"
--- 
-1.8.0.2
-
diff --git a/0171-ehci-Don-t-set-seen-to-0-when-removing-unseen-queue-.patch b/0171-ehci-Don-t-set-seen-to-0-when-removing-unseen-queue-.patch
index 438e18e..daec59a 100644
--- a/0171-ehci-Don-t-set-seen-to-0-when-removing-unseen-queue-.patch
+++ b/0171-ehci-Don-t-set-seen-to-0-when-removing-unseen-queue-.patch
@@ -99,6 +99,3 @@ index 017a01d..bc86460 100644
          break;
  
      default:
--- 
-1.8.0.2
-
diff --git a/0172-ehci-Walk-async-schedule-before-and-after-migration.patch b/0172-ehci-Walk-async-schedule-before-and-after-migration.patch
index 882a426..4009d8f 100644
--- a/0172-ehci-Walk-async-schedule-before-and-after-migration.patch
+++ b/0172-ehci-Walk-async-schedule-before-and-after-migration.patch
@@ -65,6 +65,3 @@ index bc86460..6a5da84 100644
  
      memory_region_init(&s->mem, "ehci", MMIO_SIZE);
      memory_region_init_io(&s->mem_caps, &ehci_mmio_caps_ops, s,
--- 
-1.8.0.2
-
diff --git a/0173-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch b/0173-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
index 2d13524..e8d3495 100644
--- a/0173-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
+++ b/0173-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
@@ -58,6 +58,3 @@ index ee75217..ab8d79a 100644
      usbredirparser_do_write(dev->parser);
  }
  
--- 
-1.8.0.2
-
diff --git a/0174-uhci-Don-t-queue-up-packets-after-one-with-the-SPD-f.patch b/0174-uhci-Don-t-queue-up-packets-after-one-with-the-SPD-f.patch
index 95ee36e..1f4df3a 100644
--- a/0174-uhci-Don-t-queue-up-packets-after-one-with-the-SPD-f.patch
+++ b/0174-uhci-Don-t-queue-up-packets-after-one-with-the-SPD-f.patch
@@ -42,6 +42,3 @@ index c7c8786..cdc8bc3 100644
                  uhci_fill_queue(s, &td);
              }
              link = curr_qh ? qh.link : td.link;
--- 
-1.8.0.2
-
diff --git a/0175-slirp-Remove-wrong-type-casts-ins-debug-statements.patch b/0175-slirp-Remove-wrong-type-casts-ins-debug-statements.patch
index c34a7a5..4f909e2 100644
--- a/0175-slirp-Remove-wrong-type-casts-ins-debug-statements.patch
+++ b/0175-slirp-Remove-wrong-type-casts-ins-debug-statements.patch
@@ -32,6 +32,3 @@ index 025b374..5890d7a 100644
  	DEBUG_ARG("ack = %u", ack);
  	DEBUG_ARG("seq = %u", seq);
  	DEBUG_ARG("flags = %x", flags);
--- 
-1.8.0.2
-
diff --git a/0176-slirp-Fix-error-reported-by-static-code-analysis.patch b/0176-slirp-Fix-error-reported-by-static-code-analysis.patch
index d85c027..6ec5eb7 100644
--- a/0176-slirp-Fix-error-reported-by-static-code-analysis.patch
+++ b/0176-slirp-Fix-error-reported-by-static-code-analysis.patch
@@ -32,6 +32,3 @@ index 5890d7a..1542e43 100644
  			return;
  		tlen = 0;
  		m->m_data += IF_MAXLINKHDR;
--- 
-1.8.0.2
-
diff --git a/0177-slirp-improve-TFTP-performance.patch b/0177-slirp-improve-TFTP-performance.patch
index f7124da..24011eb 100644
--- a/0177-slirp-improve-TFTP-performance.patch
+++ b/0177-slirp-improve-TFTP-performance.patch
@@ -101,6 +101,3 @@ index 72e5e91..9c364ea 100644
  
      struct in_addr client_ip;
      uint16_t client_port;
--- 
-1.8.0.2
-
diff --git a/0178-slirp-Handle-more-than-65535-blocks-in-TFTP-transfer.patch b/0178-slirp-Handle-more-than-65535-blocks-in-TFTP-transfer.patch
index d5bbebb..356eebb 100644
--- a/0178-slirp-Handle-more-than-65535-blocks-in-TFTP-transfer.patch
+++ b/0178-slirp-Handle-more-than-65535-blocks-in-TFTP-transfer.patch
@@ -116,6 +116,3 @@ index 9c364ea..51704e4 100644
  
      int timestamp;
  };
--- 
-1.8.0.2
-
diff --git a/0179-slirp-Implement-TFTP-Blocksize-option.patch b/0179-slirp-Implement-TFTP-Blocksize-option.patch
index 08a6554..97eafe5 100644
--- a/0179-slirp-Implement-TFTP-Blocksize-option.patch
+++ b/0179-slirp-Implement-TFTP-Blocksize-option.patch
@@ -118,6 +118,3 @@ index c6a5df2..37b0387 100644
    spt->block_nr = 0;
    tftp_send_next_block(spt, tp);
  }
--- 
-1.8.0.2
-
diff --git a/0180-srp-Don-t-use-QEMU_PACKED-for-single-elements-of-a-s.patch b/0180-srp-Don-t-use-QEMU_PACKED-for-single-elements-of-a-s.patch
index ccad49f..214916c 100644
--- a/0180-srp-Don-t-use-QEMU_PACKED-for-single-elements-of-a-s.patch
+++ b/0180-srp-Don-t-use-QEMU_PACKED-for-single-elements-of-a-s.patch
@@ -58,6 +58,3 @@ index 3009bd5..5e0cad5 100644
  
  enum {
      SRP_RSP_FLAG_RSPVALID = 1 << 0,
--- 
-1.8.0.2
-
diff --git a/0181-Spelling-fixes-in-comments-and-documentation.patch b/0181-Spelling-fixes-in-comments-and-documentation.patch
index 676fbc4..299116b 100644
--- a/0181-Spelling-fixes-in-comments-and-documentation.patch
+++ b/0181-Spelling-fixes-in-comments-and-documentation.patch
@@ -178,6 +178,3 @@ index 6b42e35..360543b 100644
  
  Only the formats @code{qcow2}, @code{qed} and @code{vdi} support
  consistency checks.
--- 
-1.8.0.2
-
diff --git a/0182-console-Clean-up-bytes-per-pixel-calculation.patch b/0182-console-Clean-up-bytes-per-pixel-calculation.patch
index a7705ea..45fde5f 100644
--- a/0182-console-Clean-up-bytes-per-pixel-calculation.patch
+++ b/0182-console-Clean-up-bytes-per-pixel-calculation.patch
@@ -46,6 +46,3 @@ index 3b5cabb..8b5e21d 100644
              pf.rmask = 0x00007c00;
              pf.gmask = 0x000003E0;
              pf.bmask = 0x0000001F;
--- 
-1.8.0.2
-
diff --git a/0183-qapi-Fix-enumeration-typo-error.patch b/0183-qapi-Fix-enumeration-typo-error.patch
index ec44860..a5cabb7 100644
--- a/0183-qapi-Fix-enumeration-typo-error.patch
+++ b/0183-qapi-Fix-enumeration-typo-error.patch
@@ -49,6 +49,3 @@ index 8ddde12..29dacb5 100644
  #
  # @client: Mouse cursor position is determined by the client.
  #
--- 
-1.8.0.2
-
diff --git a/0184-kvm-Fix-warning-from-static-code-analysis.patch b/0184-kvm-Fix-warning-from-static-code-analysis.patch
index b31cc6d..18d845b 100644
--- a/0184-kvm-Fix-warning-from-static-code-analysis.patch
+++ b/0184-kvm-Fix-warning-from-static-code-analysis.patch
@@ -44,6 +44,3 @@ index 90c71f9..08d6051 100644
      }
      g_free(s);
  
--- 
-1.8.0.2
-
diff --git a/0185-arch_init.c-add-missing-symbols-before-PRIu64-in-deb.patch b/0185-arch_init.c-add-missing-symbols-before-PRIu64-in-deb.patch
index a4b0068..383fe8e 100644
--- a/0185-arch_init.c-add-missing-symbols-before-PRIu64-in-deb.patch
+++ b/0185-arch_init.c-add-missing-symbols-before-PRIu64-in-deb.patch
@@ -49,6 +49,3 @@ index 5a1173e..47977de 100644
      return ret;
  }
  
--- 
-1.8.0.2
-
diff --git a/0186-net-notify-iothread-after-flushing-queue.patch b/0186-net-notify-iothread-after-flushing-queue.patch
index 7a5625d..9dd44b0 100644
--- a/0186-net-notify-iothread-after-flushing-queue.patch
+++ b/0186-net-notify-iothread-after-flushing-queue.patch
@@ -100,6 +100,3 @@ index 9d44a9b..fc02b33 100644
 +bool qemu_net_queue_flush(NetQueue *queue);
  
  #endif /* QEMU_NET_QUEUE_H */
--- 
-1.8.0.2
-
diff --git a/0187-e1000-flush-queue-whenever-can_receive-can-go-from-f.patch b/0187-e1000-flush-queue-whenever-can_receive-can-go-from-f.patch
index da0e2a3..d9b13ef 100644
--- a/0187-e1000-flush-queue-whenever-can_receive-can-go-from-f.patch
+++ b/0187-e1000-flush-queue-whenever-can_receive-can-go-from-f.patch
@@ -46,6 +46,3 @@ index ae8a6c5..ec3a7c4 100644
  }
  
  static void
--- 
-1.8.0.2
-
diff --git a/0188-xen-flush-queue-when-getting-an-event.patch b/0188-xen-flush-queue-when-getting-an-event.patch
index e01d7fa..25b1087 100644
--- a/0188-xen-flush-queue-when-getting-an-event.patch
+++ b/0188-xen-flush-queue-when-getting-an-event.patch
@@ -32,6 +32,3 @@ index 8b79bfb..cf7d559 100644
  }
  
  static int net_free(struct XenDevice *xendev)
--- 
-1.8.0.2
-
diff --git a/0189-eepro100-Fix-network-hang-when-rx-buffers-run-out.patch b/0189-eepro100-Fix-network-hang-when-rx-buffers-run-out.patch
index cdb886a..a256edb 100644
--- a/0189-eepro100-Fix-network-hang-when-rx-buffers-run-out.patch
+++ b/0189-eepro100-Fix-network-hang-when-rx-buffers-run-out.patch
@@ -67,6 +67,3 @@ index 50d117e..5b23116 100644
      }
      if (rfd_command & COMMAND_S) {
          /* S bit is set. */
--- 
-1.8.0.2
-
diff --git a/0190-net-add-receive_disabled-logic-to-iov-delivery-path.patch b/0190-net-add-receive_disabled-logic-to-iov-delivery-path.patch
index fdb1ad8..7393b14 100644
--- a/0190-net-add-receive_disabled-logic-to-iov-delivery-path.patch
+++ b/0190-net-add-receive_disabled-logic-to-iov-delivery-path.patch
@@ -60,6 +60,3 @@ index 76a8336..1303819 100644
  }
  
  ssize_t qemu_sendv_packet_async(NetClientState *sender,
--- 
-1.8.0.2
-
diff --git a/0191-net-do-not-report-queued-packets-as-sent.patch b/0191-net-do-not-report-queued-packets-as-sent.patch
index 4ebde09..ee11193 100644
--- a/0191-net-do-not-report-queued-packets-as-sent.patch
+++ b/0191-net-do-not-report-queued-packets-as-sent.patch
@@ -98,6 +98,3 @@ index 6e64091..254f280 100644
      }
  
      ret = qemu_net_queue_deliver_iov(queue, sender, flags, iov, iovcnt);
--- 
-1.8.0.2
-
diff --git a/0192-net-add-netdev-options-to-man-page.patch b/0192-net-add-netdev-options-to-man-page.patch
index e2585d5..bb3f5cb 100644
--- a/0192-net-add-netdev-options-to-man-page.patch
+++ b/0192-net-add-netdev-options-to-man-page.patch
@@ -76,6 +76,3 @@ index 1af4fec..1021ab7 100644
  @item -net vde[,vlan=@var{n}][,name=@var{name}][,sock=@var{socketpath}] [,port=@var{n}][,group=@var{groupname}][,mode=@var{octalmode}]
  Connect VLAN @var{n} to PORT @var{n} of a vde switch running on host and
  listening for incoming connections on @var{socketpath}. Use GROUP @var{groupname}
--- 
-1.8.0.2
-
diff --git a/0193-net-clean-up-usbnet_receive.patch b/0193-net-clean-up-usbnet_receive.patch
index e86c6bb..01f2463 100644
--- a/0193-net-clean-up-usbnet_receive.patch
+++ b/0193-net-clean-up-usbnet_receive.patch
@@ -75,6 +75,3 @@ index c84892c..0b5cb71 100644
      s->in_ptr = 0;
      return size;
  }
--- 
-1.8.0.2
-
diff --git a/0194-net-fix-usbnet_receive-packet-drops.patch b/0194-net-fix-usbnet_receive-packet-drops.patch
index b2c99c8..c129091 100644
--- a/0194-net-fix-usbnet_receive-packet-drops.patch
+++ b/0194-net-fix-usbnet_receive-packet-drops.patch
@@ -76,6 +76,3 @@ index 0b5cb71..e4a4359 100644
      if (is_rndis(s)) {
          struct rndis_packet_msg_type *msg;
  
--- 
-1.8.0.2
-
diff --git a/0195-net-broadcast-hub-packets-if-at-least-one-port-can-r.patch b/0195-net-broadcast-hub-packets-if-at-least-one-port-can-r.patch
index e5f9771..2a5f9bb 100644
--- a/0195-net-broadcast-hub-packets-if-at-least-one-port-can-r.patch
+++ b/0195-net-broadcast-hub-packets-if-at-least-one-port-can-r.patch
@@ -46,6 +46,3 @@ index ac157e3..650a8b4 100644
  }
  
  static ssize_t net_hub_port_receive(NetClientState *nc,
--- 
-1.8.0.2
-
diff --git a/0196-net-asynchronous-send-receive-infrastructure-for-net.patch b/0196-net-asynchronous-send-receive-infrastructure-for-net.patch
index e4f77f9..3f1f1fc 100644
--- a/0196-net-asynchronous-send-receive-infrastructure-for-net.patch
+++ b/0196-net-asynchronous-send-receive-infrastructure-for-net.patch
@@ -128,6 +128,3 @@ index c172c24..54e32f0 100644
  }
  
  static NetClientInfo net_socket_info = {
--- 
-1.8.0.2
-
diff --git a/0197-net-EAGAIN-handling-for-net-socket.c-UDP.patch b/0197-net-EAGAIN-handling-for-net-socket.c-UDP.patch
index c39e101..81754e5 100644
--- a/0197-net-EAGAIN-handling-for-net-socket.c-UDP.patch
+++ b/0197-net-EAGAIN-handling-for-net-socket.c-UDP.patch
@@ -40,6 +40,3 @@ index 54e32f0..e5e4e8d 100644
  }
  
  static void net_socket_send(void *opaque)
--- 
-1.8.0.2
-
diff --git a/0198-net-EAGAIN-handling-for-net-socket.c-TCP.patch b/0198-net-EAGAIN-handling-for-net-socket.c-TCP.patch
index 76ae44a..2cc4f59 100644
--- a/0198-net-EAGAIN-handling-for-net-socket.c-TCP.patch
+++ b/0198-net-EAGAIN-handling-for-net-socket.c-TCP.patch
@@ -92,6 +92,3 @@ index e5e4e8d..c3e55b8 100644
  }
  
  static ssize_t net_socket_receive_dgram(NetClientState *nc, const uint8_t *buf, size_t size)
--- 
-1.8.0.2
-
diff --git a/0199-configure-fix-seccomp-check.patch b/0199-configure-fix-seccomp-check.patch
index 020826d..dd44ae1 100644
--- a/0199-configure-fix-seccomp-check.patch
+++ b/0199-configure-fix-seccomp-check.patch
@@ -40,6 +40,3 @@ index dcd8e7b..9e53cc2 100755
      fi
  fi
  ##########################################
--- 
-1.8.0.2
-
diff --git a/0200-configure-properly-check-if-lrt-and-lm-is-needed.patch b/0200-configure-properly-check-if-lrt-and-lm-is-needed.patch
index d1ff74d..a746373 100644
--- a/0200-configure-properly-check-if-lrt-and-lm-is-needed.patch
+++ b/0200-configure-properly-check-if-lrt-and-lm-is-needed.patch
@@ -75,6 +75,3 @@ index 9e53cc2..a1f256c 100755
  fi
  
  if test "$darwin" != "yes" -a "$mingw32" != "yes" -a "$solaris" != yes -a \
--- 
-1.8.0.2
-
diff --git a/0201-Revert-455aa1e08-and-c3767ed0eb.patch b/0201-Revert-455aa1e08-and-c3767ed0eb.patch
index 00b3564..3ec2dae 100644
--- a/0201-Revert-455aa1e08-and-c3767ed0eb.patch
+++ b/0201-Revert-455aa1e08-and-c3767ed0eb.patch
@@ -46,6 +46,3 @@ index 767da93..10d1504 100644
          return len;
      }
  }
--- 
-1.8.0.2
-
diff --git a/0202-qemu-char-BUGFIX-don-t-call-FD_ISSET-with-negative-f.patch b/0202-qemu-char-BUGFIX-don-t-call-FD_ISSET-with-negative-f.patch
index 88569ff..a9caf4c 100644
--- a/0202-qemu-char-BUGFIX-don-t-call-FD_ISSET-with-negative-f.patch
+++ b/0202-qemu-char-BUGFIX-don-t-call-FD_ISSET-with-negative-f.patch
@@ -54,6 +54,3 @@ index 10d1504..7f0f895 100644
      qemu_chr_generic_open(chr);
  }
  
--- 
-1.8.0.2
-
diff --git a/0203-cpu_physical_memory_write_rom-needs-to-do-TB-invalid.patch b/0203-cpu_physical_memory_write_rom-needs-to-do-TB-invalid.patch
index c4950ba..dd7473a 100644
--- a/0203-cpu_physical_memory_write_rom-needs-to-do-TB-invalid.patch
+++ b/0203-cpu_physical_memory_write_rom-needs-to-do-TB-invalid.patch
@@ -47,6 +47,3 @@ index ad175db..3fdbbde 100644
              qemu_put_ram_ptr(ptr);
          }
          len -= l;
--- 
-1.8.0.2
-
diff --git a/0204-arch_init.c-Improve-soundhw-help-for-non-HAS_AUDIO_C.patch b/0204-arch_init.c-Improve-soundhw-help-for-non-HAS_AUDIO_C.patch
index 5630073..291eba6 100644
--- a/0204-arch_init.c-Improve-soundhw-help-for-non-HAS_AUDIO_C.patch
+++ b/0204-arch_init.c-Improve-soundhw-help-for-non-HAS_AUDIO_C.patch
@@ -38,6 +38,3 @@ index 47977de..f849f9b 100644
          exit(!is_help_option(optarg));
      }
      else {
--- 
-1.8.0.2
-
diff --git a/0205-xilinx_timer-Removed-comma-in-device-name.patch b/0205-xilinx_timer-Removed-comma-in-device-name.patch
index 10b5802..d225507 100644
--- a/0205-xilinx_timer-Removed-comma-in-device-name.patch
+++ b/0205-xilinx_timer-Removed-comma-in-device-name.patch
@@ -49,6 +49,3 @@ index b562bd0..053ba02 100644
      .parent        = TYPE_SYS_BUS_DEVICE,
      .instance_size = sizeof(struct timerblock),
      .class_init    = xilinx_timer_class_init,
--- 
-1.8.0.2
-
diff --git a/0206-xilinx_timer-Send-dbg-msgs-to-stderr-not-stdout.patch b/0206-xilinx_timer-Send-dbg-msgs-to-stderr-not-stdout.patch
index ee2fab9..c283e89 100644
--- a/0206-xilinx_timer-Send-dbg-msgs-to-stderr-not-stdout.patch
+++ b/0206-xilinx_timer-Send-dbg-msgs-to-stderr-not-stdout.patch
@@ -51,6 +51,3 @@ index 053ba02..c02e6ca 100644
      xt->regs[R_TCSR] |= TCSR_TINT;
  
      if (xt->regs[R_TCSR] & TCSR_ARHT)
--- 
-1.8.0.2
-
diff --git a/0207-xilinx.h-Error-check-when-setting-links.patch b/0207-xilinx.h-Error-check-when-setting-links.patch
index 1bcbfe6..778d367 100644
--- a/0207-xilinx.h-Error-check-when-setting-links.patch
+++ b/0207-xilinx.h-Error-check-when-setting-links.patch
@@ -49,6 +49,3 @@ index df06a00..35d6681 100644
      qdev_init_nofail(dev);
  
      sysbus_mmio_map(sysbus_from_qdev(dev), 0, base);
--- 
-1.8.0.2
-
diff --git a/0208-xilinx_timer-Fix-a-compile-error-if-debug-enabled.patch b/0208-xilinx_timer-Fix-a-compile-error-if-debug-enabled.patch
index 7e32f7d..d966721 100644
--- a/0208-xilinx_timer-Fix-a-compile-error-if-debug-enabled.patch
+++ b/0208-xilinx_timer-Fix-a-compile-error-if-debug-enabled.patch
@@ -36,6 +36,3 @@ index c02e6ca..f410487 100644
      xt->regs[R_TCSR] |= TCSR_TINT;
  
      if (xt->regs[R_TCSR] & TCSR_ARHT)
--- 
-1.8.0.2
-
diff --git a/0209-pflash_cfi01-fix-vendor-specific-extended-query.patch b/0209-pflash_cfi01-fix-vendor-specific-extended-query.patch
index 5244dfd..76b03f8 100644
--- a/0209-pflash_cfi01-fix-vendor-specific-extended-query.patch
+++ b/0209-pflash_cfi01-fix-vendor-specific-extended-query.patch
@@ -44,6 +44,3 @@ index d1c7423..d56b51a 100644
      return pfl;
  }
  
--- 
-1.8.0.2
-
diff --git a/0210-MAINTAINERS-Add-entry-for-QOM-CPU.patch b/0210-MAINTAINERS-Add-entry-for-QOM-CPU.patch
index 8cf16da..55066fd 100644
--- a/0210-MAINTAINERS-Add-entry-for-QOM-CPU.patch
+++ b/0210-MAINTAINERS-Add-entry-for-QOM-CPU.patch
@@ -31,6 +31,3 @@ index 61f8b45..25733fc 100644
  Device Tree
  M: Peter Crosthwaite <peter.crosthwaite at petalogix.com>
  M: Alexander Graf <agraf at suse.de>
--- 
-1.8.0.2
-
diff --git a/0211-iSCSI-We-need-to-support-SG_IO-also-from-iscsi_ioctl.patch b/0211-iSCSI-We-need-to-support-SG_IO-also-from-iscsi_ioctl.patch
index 2af6fe3..2d235aa 100644
--- a/0211-iSCSI-We-need-to-support-SG_IO-also-from-iscsi_ioctl.patch
+++ b/0211-iSCSI-We-need-to-support-SG_IO-also-from-iscsi_ioctl.patch
@@ -54,6 +54,3 @@ index 0b96165..ea16609 100644
      default:
          return -1;
      }
--- 
-1.8.0.2
-
diff --git a/0212-iSCSI-We-dont-need-to-explicitely-call-qemu_notify_e.patch b/0212-iSCSI-We-dont-need-to-explicitely-call-qemu_notify_e.patch
index 5236629..171153a 100644
--- a/0212-iSCSI-We-dont-need-to-explicitely-call-qemu_notify_e.patch
+++ b/0212-iSCSI-We-dont-need-to-explicitely-call-qemu_notify_e.patch
@@ -34,6 +34,3 @@ index ea16609..fb001b9 100644
      iscsilun->events = ev;
  }
  
--- 
-1.8.0.2
-
diff --git a/0213-scsi-disk-introduce-check_lba_range.patch b/0213-scsi-disk-introduce-check_lba_range.patch
index 52bac3e..db8f050 100644
--- a/0213-scsi-disk-introduce-check_lba_range.patch
+++ b/0213-scsi-disk-introduce-check_lba_range.patch
@@ -77,6 +77,3 @@ index 1585683..3959603 100644
              goto illegal_lba;
          }
          r->sector = r->req.cmd.lba * (s->qdev.blocksize / 512);
--- 
-1.8.0.2
-
diff --git a/0214-scsi-disk-fix-check-for-out-of-range-LBA.patch b/0214-scsi-disk-fix-check-for-out-of-range-LBA.patch
index 8d7d358..f55ccd7 100644
--- a/0214-scsi-disk-fix-check-for-out-of-range-LBA.patch
+++ b/0214-scsi-disk-fix-check-for-out-of-range-LBA.patch
@@ -33,6 +33,3 @@ index 3959603..d621852 100644
  }
  
  typedef struct UnmapCBData {
--- 
-1.8.0.2
-
diff --git a/0215-SCSI-Standard-INQUIRY-data-should-report-HiSup-flag-.patch b/0215-SCSI-Standard-INQUIRY-data-should-report-HiSup-flag-.patch
index 6465ed5..659b920 100644
--- a/0215-SCSI-Standard-INQUIRY-data-should-report-HiSup-flag-.patch
+++ b/0215-SCSI-Standard-INQUIRY-data-should-report-HiSup-flag-.patch
@@ -38,6 +38,3 @@ index d621852..7ed1bde 100644
  
      if (buflen > 36) {
          outbuf[4] = buflen - 5; /* Additional Length = (Len - 1) - 4 */
--- 
-1.8.0.2
-
diff --git a/0216-audio-Fix-warning-from-static-code-analysis.patch b/0216-audio-Fix-warning-from-static-code-analysis.patch
index 838551d..dfe9886 100644
--- a/0216-audio-Fix-warning-from-static-code-analysis.patch
+++ b/0216-audio-Fix-warning-from-static-code-analysis.patch
@@ -42,6 +42,3 @@ index 519432a..16f7880 100644
      if (audio_bug (AUDIO_FUNC, audio_validate_settings (as))) {
          audio_print_settings (as);
          goto fail;
--- 
-1.8.0.2
-
diff --git a/0217-qemu-ga-Remove-unreachable-code-after-g_error.patch b/0217-qemu-ga-Remove-unreachable-code-after-g_error.patch
index 7daf257..922fff9 100644
--- a/0217-qemu-ga-Remove-unreachable-code-after-g_error.patch
+++ b/0217-qemu-ga-Remove-unreachable-code-after-g_error.patch
@@ -35,6 +35,3 @@ index 7623079..b747470 100644
      }
  
      return true;
--- 
-1.8.0.2
-
diff --git a/0218-qemu-sockets-Fix-potential-memory-leak.patch b/0218-qemu-sockets-Fix-potential-memory-leak.patch
index e3693c2..f48ad0b 100644
--- a/0218-qemu-sockets-Fix-potential-memory-leak.patch
+++ b/0218-qemu-sockets-Fix-potential-memory-leak.patch
@@ -27,6 +27,3 @@ index 361d890..037775b 100644
      }
  
      /* create socket */
--- 
-1.8.0.2
-
diff --git a/0219-cadence_uart-Fix-buffer-overflow.patch b/0219-cadence_uart-Fix-buffer-overflow.patch
index 8e22ca1..027dc64 100644
--- a/0219-cadence_uart-Fix-buffer-overflow.patch
+++ b/0219-cadence_uart-Fix-buffer-overflow.patch
@@ -30,6 +30,3 @@ index d98e531..f8afc4e 100644
          return 0;
      } else if (offset == R_TX_RX) {
          uart_read_rx_fifo(s, &c);
--- 
-1.8.0.2
-
diff --git a/0220-lm4549-Fix-buffer-overflow.patch b/0220-lm4549-Fix-buffer-overflow.patch
index bea3118..26e834c 100644
--- a/0220-lm4549-Fix-buffer-overflow.patch
+++ b/0220-lm4549-Fix-buffer-overflow.patch
@@ -42,6 +42,3 @@ index 80b3ec4..e0137d5 100644
          DPRINTF("write_sample Buffer full\n");
          return 0;
      }
--- 
-1.8.0.2
-
diff --git a/0221-ioh3420-Remove-unreachable-code.patch b/0221-ioh3420-Remove-unreachable-code.patch
index 92346da..99413a9 100644
--- a/0221-ioh3420-Remove-unreachable-code.patch
+++ b/0221-ioh3420-Remove-unreachable-code.patch
@@ -28,6 +28,3 @@ index 94a537c..4d31473 100644
      }
      pcie_cap_root_init(d);
      rc = pcie_aer_init(d, IOH_EP_AER_OFFSET);
--- 
-1.8.0.2
-
diff --git a/0222-pflash_cfi01-Fix-warning-caused-by-unreachable-code.patch b/0222-pflash_cfi01-Fix-warning-caused-by-unreachable-code.patch
index f0204a8..aad88ee 100644
--- a/0222-pflash_cfi01-Fix-warning-caused-by-unreachable-code.patch
+++ b/0222-pflash_cfi01-Fix-warning-caused-by-unreachable-code.patch
@@ -60,6 +60,3 @@ index d56b51a..ac503cf 100644
      default:
          /* Should never happen */
          DPRINTF("%s: invalid write state\n",  __func__);
--- 
-1.8.0.2
-
diff --git a/0223-curses-don-t-initialize-curses-when-qemu-is-daemoniz.patch b/0223-curses-don-t-initialize-curses-when-qemu-is-daemoniz.patch
index 71d0d75..c6ef610 100644
--- a/0223-curses-don-t-initialize-curses-when-qemu-is-daemoniz.patch
+++ b/0223-curses-don-t-initialize-curses-when-qemu-is-daemoniz.patch
@@ -85,6 +85,3 @@ index c681c33..49d7a52 100644
          break;
  #endif
  #if defined(CONFIG_SDL)
--- 
-1.8.0.2
-
diff --git a/0224-TextConsole-saturate-escape-parameter-in-TTY_STATE_C.patch b/0224-TextConsole-saturate-escape-parameter-in-TTY_STATE_C.patch
index 78c8155..b95d4ee 100644
--- a/0224-TextConsole-saturate-escape-parameter-in-TTY_STATE_C.patch
+++ b/0224-TextConsole-saturate-escape-parameter-in-TTY_STATE_C.patch
@@ -31,6 +31,3 @@ index 8b5e21d..314f5a5 100644
              }
          } else {
              if (s->nb_esc_params < MAX_ESC_PARAMS)
--- 
-1.8.0.2
-
diff --git a/0225-linux-user-Remove-redundant-null-check-and-replace-f.patch b/0225-linux-user-Remove-redundant-null-check-and-replace-f.patch
index 1c36efc..57d4f6c 100644
--- a/0225-linux-user-Remove-redundant-null-check-and-replace-f.patch
+++ b/0225-linux-user-Remove-redundant-null-check-and-replace-f.patch
@@ -37,6 +37,3 @@ index 6257a04..471d060 100644
      return ret;
  }
  
--- 
-1.8.0.2
-
diff --git a/0226-net-socket-Fix-compiler-warning-regression-for-MinGW.patch b/0226-net-socket-Fix-compiler-warning-regression-for-MinGW.patch
index a227db4..49d90a3 100644
--- a/0226-net-socket-Fix-compiler-warning-regression-for-MinGW.patch
+++ b/0226-net-socket-Fix-compiler-warning-regression-for-MinGW.patch
@@ -63,6 +63,3 @@ index e5c2bcd..15d9e4e 100644
  #endif
  
  /* Error handling.  */
--- 
-1.8.0.2
-
diff --git a/0227-w32-Always-use-standard-instead-of-native-format-str.patch b/0227-w32-Always-use-standard-instead-of-native-format-str.patch
index 16b1f5a..5ef8430 100644
--- a/0227-w32-Always-use-standard-instead-of-native-format-str.patch
+++ b/0227-w32-Always-use-standard-instead-of-native-format-str.patch
@@ -47,6 +47,3 @@ index 07ba1f8..c734a71 100644
  # endif
  #if defined(_WIN32)
  #define GCC_WEAK __attribute__((weak))
--- 
-1.8.0.2
-
diff --git a/0228-w32-Add-implementation-of-gmtime_r-localtime_r.patch b/0228-w32-Add-implementation-of-gmtime_r-localtime_r.patch
index 3895884..64815ea 100644
--- a/0228-w32-Add-implementation-of-gmtime_r-localtime_r.patch
+++ b/0228-w32-Add-implementation-of-gmtime_r-localtime_r.patch
@@ -76,6 +76,3 @@ index b3e451b..8ba466d 100644
  static inline void os_setup_signal_handling(void) {}
  static inline void os_daemonize(void) {}
  static inline void os_setup_post(void) {}
--- 
-1.8.0.2
-
diff --git a/0229-blockdev-preserve-readonly-and-snapshot-states-acros.patch b/0229-blockdev-preserve-readonly-and-snapshot-states-acros.patch
index d44d264..19c876e 100644
--- a/0229-blockdev-preserve-readonly-and-snapshot-states-acros.patch
+++ b/0229-blockdev-preserve-readonly-and-snapshot-states-acros.patch
@@ -32,6 +32,3 @@ index 4a5266e..9ba3503 100644
      dinfo->devaddr = devaddr;
      dinfo->type = type;
      dinfo->bus = bus_id;
--- 
-1.8.0.2
-
diff --git a/0230-block-correctly-set-the-keep_read_only-flag.patch b/0230-block-correctly-set-the-keep_read_only-flag.patch
index 33605d9..95bde04 100644
--- a/0230-block-correctly-set-the-keep_read_only-flag.patch
+++ b/0230-block-correctly-set-the-keep_read_only-flag.patch
@@ -99,6 +99,3 @@ index 2e2be11..4d919c2 100644
  
  #define BDRV_O_CACHE_MASK  (BDRV_O_NOCACHE | BDRV_O_CACHE_WB | BDRV_O_NO_FLUSH)
  
--- 
-1.8.0.2
-
diff --git a/0231-configure-Allow-builds-without-any-system-or-user-em.patch b/0231-configure-Allow-builds-without-any-system-or-user-em.patch
index 47ca6f3..e7129bf 100644
--- a/0231-configure-Allow-builds-without-any-system-or-user-em.patch
+++ b/0231-configure-Allow-builds-without-any-system-or-user-em.patch
@@ -54,6 +54,3 @@ index a1f256c..f528146 100755
  # see if system emulation was really requested
  case " $target_list " in
    *"-softmmu "*) softmmu=yes
--- 
-1.8.0.2
-
diff --git a/0232-Refactor-inet_connect_opts-function.patch b/0232-Refactor-inet_connect_opts-function.patch
index b0a1b17..8490f3a 100644
--- a/0232-Refactor-inet_connect_opts-function.patch
+++ b/0232-Refactor-inet_connect_opts-function.patch
@@ -202,6 +202,3 @@ index 037775b..22797bf 100644
  }
  
  int inet_dgram_opts(QemuOpts *opts)
--- 
-1.8.0.2
-
diff --git a/0233-Separate-inet_connect-into-inet_connect-blocking-and.patch b/0233-Separate-inet_connect-into-inet_connect-blocking-and.patch
index 691792d..5ae4a00 100644
--- a/0233-Separate-inet_connect-into-inet_connect-blocking-and.patch
+++ b/0233-Separate-inet_connect-into-inet_connect-blocking-and.patch
@@ -183,6 +183,3 @@ index 385e345..01b2daf 100644
          if (-1 == vs->lsock) {
              g_free(vs->display);
              vs->display = NULL;
--- 
-1.8.0.2
-
diff --git a/0234-Fix-address-handling-in-inet_nonblocking_connect.patch b/0234-Fix-address-handling-in-inet_nonblocking_connect.patch
index c089ea3..72eb695 100644
--- a/0234-Fix-address-handling-in-inet_nonblocking_connect.patch
+++ b/0234-Fix-address-handling-in-inet_nonblocking_connect.patch
@@ -364,6 +364,3 @@ index 80696aa..3e8aee9 100644
  int inet_dgram_opts(QemuOpts *opts);
  const char *inet_strfamily(int family);
  
--- 
-1.8.0.2
-
diff --git a/0235-Clear-handler-only-for-valid-fd.patch b/0235-Clear-handler-only-for-valid-fd.patch
index cf1ef37..18e8ac7 100644
--- a/0235-Clear-handler-only-for-valid-fd.patch
+++ b/0235-Clear-handler-only-for-valid-fd.patch
@@ -27,6 +27,3 @@ index 1edeec5..22a05c4 100644
  
      if (s->file) {
          DPRINTF("closing file\n");
--- 
-1.8.0.2
-
diff --git a/0236-pl190-fix-read-of-VECTADDR.patch b/0236-pl190-fix-read-of-VECTADDR.patch
index c4b99ae..f9072f8 100644
--- a/0236-pl190-fix-read-of-VECTADDR.patch
+++ b/0236-pl190-fix-read-of-VECTADDR.patch
@@ -46,6 +46,3 @@ index cb50afb..7332f4d 100644
          /* Reading this value with no pending interrupts is undefined.
             We return the default address.  */
          if (i == PL190_NUM_PRIO)
--- 
-1.8.0.2
-
diff --git a/0237-hw-armv7m_nvic-Correctly-register-GIC-region-when-se.patch b/0237-hw-armv7m_nvic-Correctly-register-GIC-region-when-se.patch
index faf59ef..56ea7e2 100644
--- a/0237-hw-armv7m_nvic-Correctly-register-GIC-region-when-se.patch
+++ b/0237-hw-armv7m_nvic-Correctly-register-GIC-region-when-se.patch
@@ -35,6 +35,3 @@ index 6a0832e..5c09116 100644
      /* Map the whole thing into system memory at the location required
       * by the v7M architecture.
       */
--- 
-1.8.0.2
-
diff --git a/0238-Versatile-Express-Fix-NOR-flash-0-address-and-remove.patch b/0238-Versatile-Express-Fix-NOR-flash-0-address-and-remove.patch
index 4161dc7..088dcc5 100644
--- a/0238-Versatile-Express-Fix-NOR-flash-0-address-and-remove.patch
+++ b/0238-Versatile-Express-Fix-NOR-flash-0-address-and-remove.patch
@@ -51,6 +51,3 @@ index b615844..454c2bb 100644
      /* VE_NORFLASH1: not modelled */
  
      sram_size = 0x2000000;
--- 
-1.8.0.2
-
diff --git a/0239-i386-kvm-bit-10-of-CPUID-8000_0001-.EDX-is-reserved.patch b/0239-i386-kvm-bit-10-of-CPUID-8000_0001-.EDX-is-reserved.patch
index 30e7bcd..856d75b 100644
--- a/0239-i386-kvm-bit-10-of-CPUID-8000_0001-.EDX-is-reserved.patch
+++ b/0239-i386-kvm-bit-10-of-CPUID-8000_0001-.EDX-is-reserved.patch
@@ -31,6 +31,3 @@ index 6790180..acb9369 100644
                      break;
                  }
                  break;
--- 
-1.8.0.2
-
diff --git a/0240-fpu-softfloat.c-Return-correctly-signed-values-from-.patch b/0240-fpu-softfloat.c-Return-correctly-signed-values-from-.patch
index c94ba5d..31a8f10 100644
--- a/0240-fpu-softfloat.c-Return-correctly-signed-values-from-.patch
+++ b/0240-fpu-softfloat.c-Return-correctly-signed-values-from-.patch
@@ -39,6 +39,3 @@ index b29256a..91497e8 100644
      }
  }
  
--- 
-1.8.0.2
-
diff --git a/0241-pseries-Don-t-test-for-MSR_PR-for-hypercalls-under-K.patch b/0241-pseries-Don-t-test-for-MSR_PR-for-hypercalls-under-K.patch
index 7950b22..8653846 100644
--- a/0241-pseries-Don-t-test-for-MSR_PR-for-hypercalls-under-K.patch
+++ b/0241-pseries-Don-t-test-for-MSR_PR-for-hypercalls-under-K.patch
@@ -61,6 +61,3 @@ index abd847f..38098f7 100644
      if ((opcode <= MAX_HCALL_OPCODE)
          && ((opcode & 0x3) == 0)) {
          spapr_hcall_fn fn = papr_hypercall_table[opcode / 4];
--- 
-1.8.0.2
-
diff --git a/0242-update-VERSION-for-v1.2.1.patch b/0242-update-VERSION-for-v1.2.1.patch
index c68a13d..9bf36cc 100644
--- a/0242-update-VERSION-for-v1.2.1.patch
+++ b/0242-update-VERSION-for-v1.2.1.patch
@@ -15,6 +15,3 @@ index 26aaba0..6085e94 100644
 @@ -1 +1 @@
 -1.2.0
 +1.2.1
--- 
-1.8.0.2
-
diff --git a/0301-configure-Fix-CONFIG_QEMU_HELPERDIR-generation.patch b/0301-configure-Fix-CONFIG_QEMU_HELPERDIR-generation.patch
index 2ba6e0e..dc0ed3e 100644
--- a/0301-configure-Fix-CONFIG_QEMU_HELPERDIR-generation.patch
+++ b/0301-configure-Fix-CONFIG_QEMU_HELPERDIR-generation.patch
@@ -33,6 +33,3 @@ index f528146..2de0900 100755
  
  echo "ARCH=$ARCH" >> $config_host_mak
  if test "$debug_tcg" = "yes" ; then
--- 
-1.8.0.2
-
diff --git a/0302-fix-CONFIG_QEMU_HELPERDIR-generation-again.patch b/0302-fix-CONFIG_QEMU_HELPERDIR-generation-again.patch
index 31c7a78..6345999 100644
--- a/0302-fix-CONFIG_QEMU_HELPERDIR-generation-again.patch
+++ b/0302-fix-CONFIG_QEMU_HELPERDIR-generation-again.patch
@@ -35,6 +35,3 @@ index 2de0900..4d11fe3 100755
  
  echo "ARCH=$ARCH" >> $config_host_mak
  if test "$debug_tcg" = "yes" ; then
--- 
-1.8.0.2
-
diff --git a/0303-ui-vnc-Only-report-use-TIGHT_PNG-encoding-if-enabled.patch b/0303-ui-vnc-Only-report-use-TIGHT_PNG-encoding-if-enabled.patch
index c0c468c..b31d4b1 100644
--- a/0303-ui-vnc-Only-report-use-TIGHT_PNG-encoding-if-enabled.patch
+++ b/0303-ui-vnc-Only-report-use-TIGHT_PNG-encoding-if-enabled.patch
@@ -37,6 +37,3 @@ index 01b2daf..18ec101 100644
          case VNC_ENCODING_ZLIB:
              vs->features |= VNC_FEATURE_ZLIB_MASK;
              vs->vnc_encoding = enc;
--- 
-1.8.0.2
-
diff --git a/0304-vnc-fix-info-vnc-with-vnc-.-reverse-on.patch b/0304-vnc-fix-info-vnc-with-vnc-.-reverse-on.patch
index 66871c6..b14a049 100644
--- a/0304-vnc-fix-info-vnc-with-vnc-.-reverse-on.patch
+++ b/0304-vnc-fix-info-vnc-with-vnc-.-reverse-on.patch
@@ -49,6 +49,3 @@ index 18ec101..66ae930 100644
          if (getsockname(vnc_display->lsock, (struct sockaddr *)&sa,
                          &salen) == -1) {
              error_set(errp, QERR_UNDEFINED_ERROR);
--- 
-1.8.0.2
-
diff --git a/0305-uhci-Raise-interrupt-when-requested-even-for-non-act.patch b/0305-uhci-Raise-interrupt-when-requested-even-for-non-act.patch
index 962838d..880e7eb 100644
--- a/0305-uhci-Raise-interrupt-when-requested-even-for-non-act.patch
+++ b/0305-uhci-Raise-interrupt-when-requested-even-for-non-act.patch
@@ -46,6 +46,3 @@ index cdc8bc3..c2f08e3 100644
  
      async = uhci_async_find_td(s, addr, td);
      if (async) {
--- 
-1.8.0.2
-
diff --git a/0306-hw-qxl-qxl_dirty_surfaces-use-uintptr_t.patch b/0306-hw-qxl-qxl_dirty_surfaces-use-uintptr_t.patch
index 15c9c57..52ee853 100644
--- a/0306-hw-qxl-qxl_dirty_surfaces-use-uintptr_t.patch
+++ b/0306-hw-qxl-qxl_dirty_surfaces-use-uintptr_t.patch
@@ -36,6 +36,3 @@ index 59bf822..89e9ad9 100644
  
      /* dirty the off-screen surfaces */
      for (i = 0; i < NUM_SURFACES; i++) {
--- 
-1.8.0.2
-
diff --git a/0307-qxl-always-update-displaysurface-on-resize.patch b/0307-qxl-always-update-displaysurface-on-resize.patch
index c981d7e..f719f87 100644
--- a/0307-qxl-always-update-displaysurface-on-resize.patch
+++ b/0307-qxl-always-update-displaysurface-on-resize.patch
@@ -42,6 +42,3 @@ index e2e3fe2..b66c168 100644
          if (qxl->guest_primary.qxl_stride > 0) {
              qemu_free_displaysurface(vga->ds);
              qemu_create_displaysurface_from(qxl->guest_primary.surface.width,
--- 
-1.8.0.2
-
diff --git a/0308-rtc-fix-overflow-in-mktimegm.patch b/0308-rtc-fix-overflow-in-mktimegm.patch
index ca4541b..91254b1 100644
--- a/0308-rtc-fix-overflow-in-mktimegm.patch
+++ b/0308-rtc-fix-overflow-in-mktimegm.patch
@@ -95,6 +95,3 @@ index f23ac3a..2b9aa63 100644
      qtest_add_func("/rtc/fuzz-registers", fuzz_registers);
      ret = g_test_run();
  
--- 
-1.8.0.2
-
diff --git a/0309-hw-Fix-return-value-check-for-bdrv_read-bdrv_write.patch b/0309-hw-Fix-return-value-check-for-bdrv_read-bdrv_write.patch
index b7021cc..262bc39 100644
--- a/0309-hw-Fix-return-value-check-for-bdrv_read-bdrv_write.patch
+++ b/0309-hw-Fix-return-value-check-for-bdrv_read-bdrv_write.patch
@@ -196,6 +196,3 @@ index ec26407..297580a 100644
      }
  }
  
--- 
-1.8.0.2
-
diff --git a/0310-target-i386-Allow-tsc-frequency-to-be-larger-then-2..patch b/0310-target-i386-Allow-tsc-frequency-to-be-larger-then-2..patch
index 6508c64..661749f 100644
--- a/0310-target-i386-Allow-tsc-frequency-to-be-larger-then-2..patch
+++ b/0310-target-i386-Allow-tsc-frequency-to-be-larger-then-2..patch
@@ -28,6 +28,3 @@ index 423e009..cbc172e 100644
      int64_t value;
  
      visit_type_int(v, &value, name, errp);
--- 
-1.8.0.2
-
diff --git a/0311-e1000-drop-check_rxov-always-treat-RX-ring-with-RDH-.patch b/0311-e1000-drop-check_rxov-always-treat-RX-ring-with-RDH-.patch
index dd3a367..327854c 100644
--- a/0311-e1000-drop-check_rxov-always-treat-RX-ring-with-RDH-.patch
+++ b/0311-e1000-drop-check_rxov-always-treat-RX-ring-with-RDH-.patch
@@ -60,6 +60,3 @@ index ec3a7c4..4d4ac32 100644
      s->mac_reg[index] = val & 0xffff;
      if (e1000_has_rxbufs(s, 1)) {
          qemu_flush_queued_packets(&s->nic->nc);
--- 
-1.8.0.2
-
diff --git a/0312-memory-fix-rendering-of-a-region-obscured-by-another.patch b/0312-memory-fix-rendering-of-a-region-obscured-by-another.patch
index 8e08900..e423b4c 100644
--- a/0312-memory-fix-rendering-of-a-region-obscured-by-another.patch
+++ b/0312-memory-fix-rendering-of-a-region-obscured-by-another.patch
@@ -52,6 +52,3 @@ index d528d1f..7144020 100644
      }
      if (int128_nz(remain)) {
          fr.mr = mr;
--- 
-1.8.0.2
-
diff --git a/0313-s390x-fix-initrd-in-virtio-machine.patch b/0313-s390x-fix-initrd-in-virtio-machine.patch
index 25f40a8..4cf28c7 100644
--- a/0313-s390x-fix-initrd-in-virtio-machine.patch
+++ b/0313-s390x-fix-initrd-in-virtio-machine.patch
@@ -32,6 +32,3 @@ index 47eed35..12ae612 100644
      }
  
      if (rom_ptr(KERN_PARM_AREA)) {
--- 
-1.8.0.2
-
diff --git a/0314-PPC-Bamboo-Fix-memory-size-DT-property.patch b/0314-PPC-Bamboo-Fix-memory-size-DT-property.patch
index a40ac4c..68dbe62 100644
--- a/0314-PPC-Bamboo-Fix-memory-size-DT-property.patch
+++ b/0314-PPC-Bamboo-Fix-memory-size-DT-property.patch
@@ -28,6 +28,3 @@ index c198071..9286438 100644
      char *filename;
      int fdt_size;
      void *fdt;
--- 
-1.8.0.2
-
diff --git a/0315-target-sparc64-disable-VGA-cirrus.patch b/0315-target-sparc64-disable-VGA-cirrus.patch
index 55a8715..e69a856 100644
--- a/0315-target-sparc64-disable-VGA-cirrus.patch
+++ b/0315-target-sparc64-disable-VGA-cirrus.patch
@@ -32,6 +32,3 @@ index c9a36c1..03e8b42 100644
  CONFIG_SERIAL=y
  CONFIG_PARALLEL=y
  CONFIG_PCKBD=y
--- 
-1.8.0.2
-
diff --git a/0316-xhci-fix-usb-name-in-caps.patch b/0316-xhci-fix-usb-name-in-caps.patch
index 1f3e668..217e882 100644
--- a/0316-xhci-fix-usb-name-in-caps.patch
+++ b/0316-xhci-fix-usb-name-in-caps.patch
@@ -35,6 +35,3 @@ index 333df59..30cb0d5 100644
          break;
      case 0x38: /* Supported Protocol:08 */
          ret = 0x00000000 | (USB2_PORTS+1) | (USB3_PORTS<<8);
--- 
-1.8.0.2
-
diff --git a/0317-tools-initialize-main-loop-before-block-layer.patch b/0317-tools-initialize-main-loop-before-block-layer.patch
index 178620a..1891c33 100644
--- a/0317-tools-initialize-main-loop-before-block-layer.patch
+++ b/0317-tools-initialize-main-loop-before-block-layer.patch
@@ -52,6 +52,3 @@ index d0f4fb7..1ad7d3a 100644
  
      /* initialize commands */
      quit_init();
--- 
-1.8.0.2
-
diff --git a/0318-m68k-Return-semihosting-errno-values-correctly.patch b/0318-m68k-Return-semihosting-errno-values-correctly.patch
index 397a8a3..a3b8a01 100644
--- a/0318-m68k-Return-semihosting-errno-values-correctly.patch
+++ b/0318-m68k-Return-semihosting-errno-values-correctly.patch
@@ -34,6 +34,3 @@ index 3bb30cd..fed44ea 100644
  }
  
  #define ARG(n)					\
--- 
-1.8.0.2
-
diff --git a/0319-nbd-fixes-to-read-only-handling.patch b/0319-nbd-fixes-to-read-only-handling.patch
index fdefe80..81e0ffd 100644
--- a/0319-nbd-fixes-to-read-only-handling.patch
+++ b/0319-nbd-fixes-to-read-only-handling.patch
@@ -57,6 +57,3 @@ index 206f75c..19f6cd8 100644
      TRACE("Negotiation ended");
  
      return 0;
--- 
-1.8.0.2
-
diff --git a/0320-mips-malta-fix-CBUS-UART-interrupt-pin.patch b/0320-mips-malta-fix-CBUS-UART-interrupt-pin.patch
index 841a1d5..a8119d1 100644
--- a/0320-mips-malta-fix-CBUS-UART-interrupt-pin.patch
+++ b/0320-mips-malta-fix-CBUS-UART-interrupt-pin.patch
@@ -36,6 +36,3 @@ index ad23f26..9289a28 100644
  
      /* Load firmware in flash / BIOS. */
      dinfo = drive_get(IF_PFLASH, 0, fl_idx);
--- 
-1.8.0.2
-
diff --git a/0321-target-mips-fix-wrong-microMIPS-opcode-encoding.patch b/0321-target-mips-fix-wrong-microMIPS-opcode-encoding.patch
index 31f19ff..b6a87dd 100644
--- a/0321-target-mips-fix-wrong-microMIPS-opcode-encoding.patch
+++ b/0321-target-mips-fix-wrong-microMIPS-opcode-encoding.patch
@@ -33,6 +33,3 @@ index 4e04e97..49907bb 100644
  
      /* bits 15..12 for 0x2c */
      SEB = 0x2,
--- 
-1.8.0.2
-
diff --git a/0322-tcg-arm-fix-TLB-access-in-qemu-ld-st-ops.patch b/0322-tcg-arm-fix-TLB-access-in-qemu-ld-st-ops.patch
index a181d1a..0544bce 100644
--- a/0322-tcg-arm-fix-TLB-access-in-qemu-ld-st-ops.patch
+++ b/0322-tcg-arm-fix-TLB-access-in-qemu-ld-st-ops.patch
@@ -164,6 +164,3 @@ index aed3b53..fbad716 100644
  
      switch (opc) {
      case 0:
--- 
-1.8.0.2
-
diff --git a/0323-tcg-arm-fix-cross-endian-qemu_st16.patch b/0323-tcg-arm-fix-cross-endian-qemu_st16.patch
index a4ba0d9..94e536d 100644
--- a/0323-tcg-arm-fix-cross-endian-qemu_st16.patch
+++ b/0323-tcg-arm-fix-cross-endian-qemu_st16.patch
@@ -72,6 +72,3 @@ index fbad716..83aa856 100644
              tcg_out_st16_8(s, COND_AL, TCG_REG_R0, addr_reg, 0);
          } else {
              tcg_out_st16_8(s, COND_AL, data_reg, addr_reg, 0);
--- 
-1.8.0.2
-
diff --git a/0324-target-openrisc-remove-conflicting-definitions-from-.patch b/0324-target-openrisc-remove-conflicting-definitions-from-.patch
index fc77240..ad5930c 100644
--- a/0324-target-openrisc-remove-conflicting-definitions-from-.patch
+++ b/0324-target-openrisc-remove-conflicting-definitions-from-.patch
@@ -47,6 +47,3 @@ index de21a87..244788c 100644
  /* Unit presece register */
  enum {
      UPR_UP = (1 << 0),
--- 
-1.8.0.2
-
diff --git a/0325-configure-avoid-compiler-warning-in-pipe2-detection.patch b/0325-configure-avoid-compiler-warning-in-pipe2-detection.patch
index fe952fa..8803ca3 100644
--- a/0325-configure-avoid-compiler-warning-in-pipe2-detection.patch
+++ b/0325-configure-avoid-compiler-warning-in-pipe2-detection.patch
@@ -33,6 +33,3 @@ index 4d11fe3..9129433 100755
  }
  EOF
  if compile_prog "" "" ; then
--- 
-1.8.0.2
-
diff --git a/0326-qcow2-Fix-refcount-table-size-calculation.patch b/0326-qcow2-Fix-refcount-table-size-calculation.patch
index ec32c1a..5af0b5e 100644
--- a/0326-qcow2-Fix-refcount-table-size-calculation.patch
+++ b/0326-qcow2-Fix-refcount-table-size-calculation.patch
@@ -31,6 +31,3 @@ index 5e3f915..96224d1 100644
          blocks_clusters = 1 +
              ((table_clusters + refcount_block_clusters - 1)
              / refcount_block_clusters);
--- 
-1.8.0.2
-
diff --git a/0327-tci-Fix-type-of-tci_read_label.patch b/0327-tci-Fix-type-of-tci_read_label.patch
index 82dbb6b..469304a 100644
--- a/0327-tci-Fix-type-of-tci_read_label.patch
+++ b/0327-tci-Fix-type-of-tci_read_label.patch
@@ -34,6 +34,3 @@ index a4f7b78..bb456d2 100644
      assert(label != 0);
      return label;
  }
--- 
-1.8.0.2
-
diff --git a/0328-block-Fix-regression-for-MinGW-assertion-caused-by-s.patch b/0328-block-Fix-regression-for-MinGW-assertion-caused-by-s.patch
index 7e864bf..5a542aa 100644
--- a/0328-block-Fix-regression-for-MinGW-assertion-caused-by-s.patch
+++ b/0328-block-Fix-regression-for-MinGW-assertion-caused-by-s.patch
@@ -36,6 +36,3 @@ index 4c0e7f5..e49a999 100644
  
      if (flags & BDRV_O_SNAPSHOT) {
          BlockDriverState *bs1;
--- 
-1.8.0.2
-
diff --git a/0329-qom-dynamic_cast-of-NULL-is-always-NULL.patch b/0329-qom-dynamic_cast-of-NULL-is-always-NULL.patch
index 2faa00e..315e226 100644
--- a/0329-qom-dynamic_cast-of-NULL-is-always-NULL.patch
+++ b/0329-qom-dynamic_cast-of-NULL-is-always-NULL.patch
@@ -39,6 +39,3 @@ index e3e9242..f33e84d 100644
          fprintf(stderr, "Object %p is not an instance of type %s\n",
                  obj, typename);
          abort();
--- 
-1.8.0.2
-
diff --git a/0330-hmp-do-not-crash-on-invalid-SCSI-hotplug.patch b/0330-hmp-do-not-crash-on-invalid-SCSI-hotplug.patch
index b7a710f..49cc9ac 100644
--- a/0330-hmp-do-not-crash-on-invalid-SCSI-hotplug.patch
+++ b/0330-hmp-do-not-crash-on-invalid-SCSI-hotplug.patch
@@ -41,6 +41,3 @@ index e7fb780..0ca5546 100644
  
      /*
       * drive_init() tries to find a default for dinfo->unit.  Doesn't
--- 
-1.8.0.2
-
diff --git a/0331-PPC-Fix-missing-TRACE-exception.patch b/0331-PPC-Fix-missing-TRACE-exception.patch
index da3348a..ee2ce29 100644
--- a/0331-PPC-Fix-missing-TRACE-exception.patch
+++ b/0331-PPC-Fix-missing-TRACE-exception.patch
@@ -80,6 +80,3 @@ index ac915cc..3c49ca9 100644
                  target_ulong tmp = ctx->nip;
                  ctx->nip = dest;
                  gen_exception(ctx, POWERPC_EXCP_TRACE);
--- 
-1.8.0.2
-
diff --git a/0332-qom-fix-refcount-of-non-heap-allocated-objects.patch b/0332-qom-fix-refcount-of-non-heap-allocated-objects.patch
index 893a667..bbc9585 100644
--- a/0332-qom-fix-refcount-of-non-heap-allocated-objects.patch
+++ b/0332-qom-fix-refcount-of-non-heap-allocated-objects.patch
@@ -45,6 +45,3 @@ index f33e84d..5499318 100644
  
      return obj;
  }
--- 
-1.8.0.2
-
diff --git a/0333-qapi-handle-visitor-type_size-in-QapiDeallocVisitor.patch b/0333-qapi-handle-visitor-type_size-in-QapiDeallocVisitor.patch
index f808218..93a5ce7 100644
--- a/0333-qapi-handle-visitor-type_size-in-QapiDeallocVisitor.patch
+++ b/0333-qapi-handle-visitor-type_size-in-QapiDeallocVisitor.patch
@@ -52,6 +52,3 @@ index a154523..a07b171 100644
  
      QTAILQ_INIT(&v->stack);
  
--- 
-1.8.0.2
-
diff --git a/0334-qapi-fix-qapi_dealloc_type_size-parameter-type.patch b/0334-qapi-fix-qapi_dealloc_type_size-parameter-type.patch
index f80ef25..3ac013a 100644
--- a/0334-qapi-fix-qapi_dealloc_type_size-parameter-type.patch
+++ b/0334-qapi-fix-qapi_dealloc_type_size-parameter-type.patch
@@ -31,6 +31,3 @@ index a07b171..75214e7 100644
                                     Error **errp)
  {
  }
--- 
-1.8.0.2
-
diff --git a/0335-iscsi-fix-segfault-in-url-parsing.patch b/0335-iscsi-fix-segfault-in-url-parsing.patch
index 3d6a3af..325a1a8 100644
--- a/0335-iscsi-fix-segfault-in-url-parsing.patch
+++ b/0335-iscsi-fix-segfault-in-url-parsing.patch
@@ -29,6 +29,3 @@ index fb001b9..817196a 100644
          ret = -EINVAL;
          goto out;
      }
--- 
-1.8.0.2
-
diff --git a/0336-iscsi-fix-deadlock-during-login.patch b/0336-iscsi-fix-deadlock-during-login.patch
index 2f7d425..ae9d69a 100644
--- a/0336-iscsi-fix-deadlock-during-login.patch
+++ b/0336-iscsi-fix-deadlock-during-login.patch
@@ -328,6 +328,3 @@ index 817196a..1836c71 100644
  
      if (ret) {
          if (iscsi != NULL) {
--- 
-1.8.0.2
-
diff --git a/0337-iscsi-do-not-assume-device-is-zero-initialized.patch b/0337-iscsi-do-not-assume-device-is-zero-initialized.patch
index 69e2fe3..f4a8177 100644
--- a/0337-iscsi-do-not-assume-device-is-zero-initialized.patch
+++ b/0337-iscsi-do-not-assume-device-is-zero-initialized.patch
@@ -39,6 +39,3 @@ index 1836c71..11fd37e 100644
  
  #ifdef __linux__
      .bdrv_ioctl       = iscsi_ioctl,
--- 
-1.8.0.2
-
diff --git a/0338-virtio-scsi-Fix-some-endian-bugs-with-virtio-scsi.patch b/0338-virtio-scsi-Fix-some-endian-bugs-with-virtio-scsi.patch
index 8f5bbb3..f07e36b 100644
--- a/0338-virtio-scsi-Fix-some-endian-bugs-with-virtio-scsi.patch
+++ b/0338-virtio-scsi-Fix-some-endian-bugs-with-virtio-scsi.patch
@@ -52,6 +52,3 @@ index c1b47a8..c6d5290 100644
      }
      virtio_scsi_complete_req(req);
  }
--- 
-1.8.0.2
-
diff --git a/0339-virtio-scsi-Fix-subtle-guest-endian-bug.patch b/0339-virtio-scsi-Fix-subtle-guest-endian-bug.patch
index e97c7ca..ecbc7d4 100644
--- a/0339-virtio-scsi-Fix-subtle-guest-endian-bug.patch
+++ b/0339-virtio-scsi-Fix-subtle-guest-endian-bug.patch
@@ -41,6 +41,3 @@ index c6d5290..5fcbdd8 100644
      stl_raw(&scsiconf->max_lun, VIRTIO_SCSI_MAX_LUN);
  }
  
--- 
-1.8.0.2
-
diff --git a/0340-qxl-reload-memslots-after-migration-when-qxl-is-in-U.patch b/0340-qxl-reload-memslots-after-migration-when-qxl-is-in-U.patch
index 28e3e1d..8d970f4 100644
--- a/0340-qxl-reload-memslots-after-migration-when-qxl-is-in-U.patch
+++ b/0340-qxl-reload-memslots-after-migration-when-qxl-is-in-U.patch
@@ -31,6 +31,3 @@ index 89e9ad9..e7e9dd9 100644
          break;
      case QXL_MODE_VGA:
          qxl_create_memslots(d);
--- 
-1.8.0.2
-
diff --git a/0341-usb-fail-usbdevice_create-when-there-is-no-USB-bus.patch b/0341-usb-fail-usbdevice_create-when-there-is-no-USB-bus.patch
index 6d143d5..b984928 100644
--- a/0341-usb-fail-usbdevice_create-when-there-is-no-USB-bus.patch
+++ b/0341-usb-fail-usbdevice_create-when-there-is-no-USB-bus.patch
@@ -42,6 +42,3 @@ index b649360..1f73a52 100644
      if (!f->usbdevice_init) {
          if (*params) {
              error_report("usbdevice %s accepts no params", driver);
--- 
-1.8.0.2
-
diff --git a/0342-stream-fix-ratelimit_set_speed.patch b/0342-stream-fix-ratelimit_set_speed.patch
index 17ba4d2..c072227 100644
--- a/0342-stream-fix-ratelimit_set_speed.patch
+++ b/0342-stream-fix-ratelimit_set_speed.patch
@@ -28,6 +28,3 @@ index c6ac281..d1610f1 100644
  }
  
  #endif
--- 
-1.8.0.2
-
diff --git a/0343-e1000-Discard-packets-that-are-too-long-if-SBP-and-L.patch b/0343-e1000-Discard-packets-that-are-too-long-if-SBP-and-L.patch
index ee5993c..203027d 100644
--- a/0343-e1000-Discard-packets-that-are-too-long-if-SBP-and-L.patch
+++ b/0343-e1000-Discard-packets-that-are-too-long-if-SBP-and-L.patch
@@ -44,6 +44,3 @@ index 4d4ac32..b1d8508 100644
      if (!receive_filter(s, buf, size))
          return size;
  
--- 
-1.8.0.2
-
diff --git a/0401-update-VERSION-for-v1.2.2.patch b/0401-update-VERSION-for-v1.2.2.patch
index 543a55f..0fde5c3 100644
--- a/0401-update-VERSION-for-v1.2.2.patch
+++ b/0401-update-VERSION-for-v1.2.2.patch
@@ -15,6 +15,3 @@ index 6085e94..23aa839 100644
 @@ -1 +1 @@
 -1.2.1
 +1.2.2
--- 
-1.8.0.2
-
diff --git a/0402-char-Split-out-tcp-socket-close-code-in-a-separate-f.patch b/0402-char-Split-out-tcp-socket-close-code-in-a-separate-f.patch
index d497b3d..7f45cd7 100644
--- a/0402-char-Split-out-tcp-socket-close-code-in-a-separate-f.patch
+++ b/0402-char-Split-out-tcp-socket-close-code-in-a-separate-f.patch
@@ -52,6 +52,3 @@ index b082bae..a1fdf88 100644
      } else if (size > 0) {
          if (s->do_telnetopt)
              tcp_chr_process_IAC_bytes(chr, s, buf, &size);
--- 
-1.8.0.2
-
diff --git a/0403-char-Add-a-QemuChrHandlers-struct-to-initialise-char.patch b/0403-char-Add-a-QemuChrHandlers-struct-to-initialise-char.patch
index e8c7283..1273bc9 100644
--- a/0403-char-Add-a-QemuChrHandlers-struct-to-initialise-char.patch
+++ b/0403-char-Add-a-QemuChrHandlers-struct-to-initialise-char.patch
@@ -957,6 +957,3 @@ index fbfab4e..4ab5b69 100644
      qemu_chr_fe_set_echo(chr, true);
  
      inbuf = g_string_new("");
--- 
-1.8.0.2
-
diff --git a/0404-iohandlers-Add-enable-disable_write_fd_handler-funct.patch b/0404-iohandlers-Add-enable-disable_write_fd_handler-funct.patch
index 4bb82d7..6f593d6 100644
--- a/0404-iohandlers-Add-enable-disable_write_fd_handler-funct.patch
+++ b/0404-iohandlers-Add-enable-disable_write_fd_handler-funct.patch
@@ -72,6 +72,3 @@ index dce1cd9..eb31273 100644
  /**
   * qemu_set_fd_handler2: Register a file descriptor with the main loop
   *
--- 
-1.8.0.2
-
diff --git a/0405-char-Add-framework-for-a-write-unblocked-callback.patch b/0405-char-Add-framework-for-a-write-unblocked-callback.patch
index 8b263c8..fc245e9 100644
--- a/0405-char-Add-framework-for-a-write-unblocked-callback.patch
+++ b/0405-char-Add-framework-for-a-write-unblocked-callback.patch
@@ -57,6 +57,3 @@ index dfa8c2d..b5e23a4 100644
      QTAILQ_ENTRY(CharDriverState) next;
  };
  
--- 
-1.8.0.2
-
diff --git a/0406-char-Update-send_all-to-handle-nonblocking-chardev-w.patch b/0406-char-Update-send_all-to-handle-nonblocking-chardev-w.patch
index 892c799..823204e 100644
--- a/0406-char-Update-send_all-to-handle-nonblocking-chardev-w.patch
+++ b/0406-char-Update-send_all-to-handle-nonblocking-chardev-w.patch
@@ -168,6 +168,3 @@ index 3e8aee9..a537d86 100644
  
  /* callback function for nonblocking connect
   * valid fd on success, negative error code on failure
--- 
-1.8.0.2
-
diff --git a/0407-char-Equip-the-unix-tcp-backend-to-handle-nonblockin.patch b/0407-char-Equip-the-unix-tcp-backend-to-handle-nonblockin.patch
index 4d8e62f..a4718cf 100644
--- a/0407-char-Equip-the-unix-tcp-backend-to-handle-nonblockin.patch
+++ b/0407-char-Equip-the-unix-tcp-backend-to-handle-nonblockin.patch
@@ -77,6 +77,3 @@ index b46cc97..9f8608a 100644
  
      if (is_listen) {
          s->listen_fd = fd;
--- 
-1.8.0.2
-
diff --git a/0408-char-Throttle-when-host-connection-is-down.patch b/0408-char-Throttle-when-host-connection-is-down.patch
index 3fae4db..6050547 100644
--- a/0408-char-Throttle-when-host-connection-is-down.patch
+++ b/0408-char-Throttle-when-host-connection-is-down.patch
@@ -52,6 +52,3 @@ index 9f8608a..bfc94a5 100644
          }
          return ret;
      } else {
--- 
-1.8.0.2
-
diff --git a/0409-virtio-console-Enable-port-throttling-when-chardev-i.patch b/0409-virtio-console-Enable-port-throttling-when-chardev-i.patch
index 7927239..c897d42 100644
--- a/0409-virtio-console-Enable-port-throttling-when-chardev-i.patch
+++ b/0409-virtio-console-Enable-port-throttling-when-chardev-i.patch
@@ -45,6 +45,3 @@ index 066590c..2b5e515 100644
  };
  
  static int virtconsole_initfn(VirtIOSerialPort *port)
--- 
-1.8.0.2
-
diff --git a/0410-spice-qemu-char.c-add-throttling.patch b/0410-spice-qemu-char.c-add-throttling.patch
index b25ca3a..c11cb88 100644
--- a/0410-spice-qemu-char.c-add-throttling.patch
+++ b/0410-spice-qemu-char.c-add-throttling.patch
@@ -130,6 +130,3 @@ index 09aa22d..fba2bfb 100644
  
  #if SPICE_SERVER_VERSION < 0x000901
      /* See comment in vmc_state() */
--- 
-1.8.0.2
-
diff --git a/0411-spice-qemu-char.c-remove-intermediate-buffer.patch b/0411-spice-qemu-char.c-remove-intermediate-buffer.patch
index 57cb8cc..8b0cb95 100644
--- a/0411-spice-qemu-char.c-remove-intermediate-buffer.patch
+++ b/0411-spice-qemu-char.c-remove-intermediate-buffer.patch
@@ -68,6 +68,3 @@ index fba2bfb..ef44bc0 100644
          s->chr->write_blocked = true;
          /* We'll get passed in the unconsumed data with the next call */
          s->datalen = 0;
--- 
-1.8.0.2
-
diff --git a/0412-usb-redir-Add-flow-control-support.patch b/0412-usb-redir-Add-flow-control-support.patch
index c38c93a..19f37cb 100644
--- a/0412-usb-redir-Add-flow-control-support.patch
+++ b/0412-usb-redir-Add-flow-control-support.patch
@@ -57,6 +57,3 @@ index 8b22c80..b7c7f1e 100644
  };
  
  /*
--- 
-1.8.0.2
-
diff --git a/0413-virtio-serial-bus-replay-guest_open-on-migration.patch b/0413-virtio-serial-bus-replay-guest_open-on-migration.patch
index 6beedd2..9f4e8a0 100644
--- a/0413-virtio-serial-bus-replay-guest_open-on-migration.patch
+++ b/0413-virtio-serial-bus-replay-guest_open-on-migration.patch
@@ -46,6 +46,3 @@ index 82073f5..18c2ed3 100644
          host_connected = qemu_get_byte(f);
          if (host_connected != port->host_connected) {
              /*
--- 
-1.8.0.2
-
diff --git a/0414-char-Disable-write-callback-if-throttled-chardev-is-.patch b/0414-char-Disable-write-callback-if-throttled-chardev-is-.patch
index c475f3a..6a74b30 100644
--- a/0414-char-Disable-write-callback-if-throttled-chardev-is-.patch
+++ b/0414-char-Disable-write-callback-if-throttled-chardev-is-.patch
@@ -31,6 +31,3 @@ index bfc94a5..67a6d73 100644
          handlers = &null_handlers;
      }
      s->chr_can_read = handlers->fd_can_read;
--- 
-1.8.0.2
-
diff --git a/0501-qxl-disallow-unknown-revisions.patch b/0501-qxl-disallow-unknown-revisions.patch
index c5e1406..06c01ab 100644
--- a/0501-qxl-disallow-unknown-revisions.patch
+++ b/0501-qxl-disallow-unknown-revisions.patch
@@ -26,6 +26,3 @@ index e7e9dd9..20e844f 100644
      }
  
      pci_set_byte(&config[PCI_REVISION_ID], pci_device_rev);
--- 
-1.8.0.2
-
diff --git a/0502-spice-make-number-of-surfaces-runtime-configurable.patch b/0502-spice-make-number-of-surfaces-runtime-configurable.patch
index 3065257..850e627 100644
--- a/0502-spice-make-number-of-surfaces-runtime-configurable.patch
+++ b/0502-spice-make-number-of-surfaces-runtime-configurable.patch
@@ -196,6 +196,3 @@ index bcff114..512ab78 100644
  
      QXLRect dirty;
      int notify;
--- 
-1.8.0.2
-
diff --git a/0503-qxl-Add-set_client_capabilities-interface-to-QXLInte.patch b/0503-qxl-Add-set_client_capabilities-interface-to-QXLInte.patch
index 65bf21b..40b3fa1 100644
--- a/0503-qxl-Add-set_client_capabilities-interface-to-QXLInte.patch
+++ b/0503-qxl-Add-set_client_capabilities-interface-to-QXLInte.patch
@@ -59,6 +59,3 @@ index c7b4e9a..552d208 100644
  };
  
  static void qxl_enter_vga_mode(PCIQXLDevice *d)
--- 
-1.8.0.2
-
diff --git a/0504-Remove-ifdef-QXL_COMMAND_FLAG_COMPAT_16BPP.patch b/0504-Remove-ifdef-QXL_COMMAND_FLAG_COMPAT_16BPP.patch
index 1d14605..842f0d5 100644
--- a/0504-Remove-ifdef-QXL_COMMAND_FLAG_COMPAT_16BPP.patch
+++ b/0504-Remove-ifdef-QXL_COMMAND_FLAG_COMPAT_16BPP.patch
@@ -27,6 +27,3 @@ index 552d208..d1d995c 100644
      d->shadow_rom.mode = cpu_to_le32(modenr);
      d->rom->mode = cpu_to_le32(modenr);
      qxl_rom_set_dirty(d);
--- 
-1.8.0.2
-
diff --git a/0505-spice-switch-to-queue-for-vga-mode-updates.patch b/0505-spice-switch-to-queue-for-vga-mode-updates.patch
index 4a6138a..f27d73c 100644
--- a/0505-spice-switch-to-queue-for-vga-mode-updates.patch
+++ b/0505-spice-switch-to-queue-for-vga-mode-updates.patch
@@ -133,6 +133,3 @@ index 512ab78..3fcb6fe 100644
  };
  
  int qemu_spice_rect_is_empty(const QXLRect* r);
--- 
-1.8.0.2
-
diff --git a/0506-spice-split-qemu_spice_create_update.patch b/0506-spice-split-qemu_spice_create_update.patch
index 9c3ed0c..c773e90 100644
--- a/0506-spice-split-qemu_spice_create_update.patch
+++ b/0506-spice-split-qemu_spice_create_update.patch
@@ -89,6 +89,3 @@ index 59c5fd7..6f68f28 100644
  /*
   * Called from spice server thread context (via interface_release_ressource)
   * We do *not* hold the global qemu mutex here, so extra care is needed
--- 
-1.8.0.2
-
diff --git a/0507-spice-add-screen-mirror.patch b/0507-spice-add-screen-mirror.patch
index e01bea7..ef3f45c 100644
--- a/0507-spice-add-screen-mirror.patch
+++ b/0507-spice-add-screen-mirror.patch
@@ -93,6 +93,3 @@ index 3fcb6fe..dea41c1 100644
      void *buf;
      int bufsize;
      QXLWorker *worker;
--- 
-1.8.0.2
-
diff --git a/0508-spice-send-updates-only-for-changed-screen-content.patch b/0508-spice-send-updates-only-for-changed-screen-content.patch
index 58c6282..5d5036c 100644
--- a/0508-spice-send-updates-only-for-changed-screen-content.patch
+++ b/0508-spice-send-updates-only-for-changed-screen-content.patch
@@ -88,6 +88,3 @@ index 973cd53..d062765 100644
      memset(&ssd->dirty, 0, sizeof(ssd->dirty));
  }
  
--- 
-1.8.0.2
-
diff --git a/0509-qxl-Ignore-set_client_capabilities-pre-post-migrate.patch b/0509-qxl-Ignore-set_client_capabilities-pre-post-migrate.patch
index 904feb6..6cadb3b 100644
--- a/0509-qxl-Ignore-set_client_capabilities-pre-post-migrate.patch
+++ b/0509-qxl-Ignore-set_client_capabilities-pre-post-migrate.patch
@@ -36,6 +36,3 @@ index 743082d..8a86ffc 100644
      qxl->shadow_rom.client_present = client_present;
      memcpy(qxl->shadow_rom.client_capabilities, caps, sizeof(caps));
      qxl->rom->client_present = client_present;
--- 
-1.8.0.2
-
diff --git a/0510-qxl-add-trace-event-for-QXL_IO_LOG.patch b/0510-qxl-add-trace-event-for-QXL_IO_LOG.patch
index d6a82d8..2b4d451 100644
--- a/0510-qxl-add-trace-event-for-QXL_IO_LOG.patch
+++ b/0510-qxl-add-trace-event-for-QXL_IO_LOG.patch
@@ -34,6 +34,3 @@ index aa79836..80a52d9 100644
  qxl_io_read_unexpected(int qid) "%d"
  qxl_io_unexpected_vga_mode(int qid, uint64_t addr, uint64_t val, const char *desc) "%d 0x%"PRIx64"=%"PRIu64" (%s)"
  qxl_io_write(int qid, const char *mode, uint64_t addr, uint64_t val, unsigned size, int async) "%d %s addr=%"PRIu64 " val=%"PRIu64" size=%u async=%d"
--- 
-1.8.0.2
-
diff --git a/0511-hw-qxl-support-client-monitor-configuration-via-devi.patch b/0511-hw-qxl-support-client-monitor-configuration-via-devi.patch
index 0055ad6..8d032ef 100644
--- a/0511-hw-qxl-support-client-monitor-configuration-via-devi.patch
+++ b/0511-hw-qxl-support-client-monitor-configuration-via-devi.patch
@@ -176,6 +176,3 @@ index 80a52d9..07b63f1 100644
  
  # hw/qxl-render.c
  qxl_render_blit_guest_primary_initialized(void) ""
--- 
-1.8.0.2
-
diff --git a/0512-qxl-update_area_io-cleanup-invalid-parameters-handli.patch b/0512-qxl-update_area_io-cleanup-invalid-parameters-handli.patch
index bcc5ac3..059e13e 100644
--- a/0512-qxl-update_area_io-cleanup-invalid-parameters-handli.patch
+++ b/0512-qxl-update_area_io-cleanup-invalid-parameters-handli.patch
@@ -43,6 +43,3 @@ index 1aac04b..6b9d5d0 100644
              break;
          }
          if (async == QXL_ASYNC) {
--- 
-1.8.0.2
-
diff --git a/0513-qxl-fix-range-check-for-rev3-io-commands.patch b/0513-qxl-fix-range-check-for-rev3-io-commands.patch
index bcc42ed..19caaf0 100644
--- a/0513-qxl-fix-range-check-for-rev3-io-commands.patch
+++ b/0513-qxl-fix-range-check-for-rev3-io-commands.patch
@@ -24,6 +24,3 @@ index 6b9d5d0..8d33745 100644
          qxl_set_guest_bug(d, "unsupported io %d for revision %d\n",
              io_port, d->revision);
          return;
--- 
-1.8.0.2
-
diff --git a/0514-qxl-vnc-register-a-vm-state-handler-for-dummy-spice_.patch b/0514-qxl-vnc-register-a-vm-state-change-handler-for-dummy.patch
similarity index 75%
rename from 0514-qxl-vnc-register-a-vm-state-handler-for-dummy-spice_.patch
rename to 0514-qxl-vnc-register-a-vm-state-change-handler-for-dummy.patch
index 89b2137..d2bb1f1 100644
--- a/0514-qxl-vnc-register-a-vm-state-handler-for-dummy-spice_.patch
+++ b/0514-qxl-vnc-register-a-vm-state-change-handler-for-dummy.patch
@@ -1,7 +1,8 @@
-From 938b8a36b65e44c44ca29245437f8d7ac0f826e8 Mon Sep 17 00:00:00 2001
+From 2c410bf8bafee23b4a4d1041b833645c6320851e Mon Sep 17 00:00:00 2001
 From: Uri Lublin <uril at redhat.com>
 Date: Wed, 12 Dec 2012 16:30:47 +0000
-Subject: qxl+vnc: register a vm state change handler for dummy spice_server
+Subject: [PATCH] qxl+vnc: register a vm state change handler for dummy
+ spice_server
 
 When qxl + vnc are used, a dummy spice_server is initialized.
 The spice_server has to be told when the VM runstate changes,
@@ -14,11 +15,14 @@ Cc: qemu-stable at nongnu.org
 Signed-off-by: Uri Lublin <uril at redhat.com>
 Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
 ---
+ ui/spice-core.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
 diff --git a/ui/spice-core.c b/ui/spice-core.c
-index 261c6f2..59ce5f6 100644
+index ba0d0bd..cb4b8b9 100644
 --- a/ui/spice-core.c
 +++ b/ui/spice-core.c
-@@ -732,6 +732,8 @@ int qemu_spice_add_interface(SpiceBaseInstance *sin)
+@@ -775,6 +775,8 @@ int qemu_spice_add_interface(SpiceBaseInstance *sin)
           */
          spice_server = spice_server_new();
          spice_server_init(spice_server, &core_interface);
@@ -27,5 +31,3 @@ index 261c6f2..59ce5f6 100644
      }
  
      return spice_server_add_interface(spice_server, sin);
---
-cgit v0.9.0.2-2-gbebe
diff --git a/0515-hw-qxl-exit-on-failure-to-register-qxl-interface.patch b/0515-hw-qxl-exit-on-failure-to-register-qxl-interface.patch
index f8aee4f..f013c14 100644
--- a/0515-hw-qxl-exit-on-failure-to-register-qxl-interface.patch
+++ b/0515-hw-qxl-exit-on-failure-to-register-qxl-interface.patch
@@ -1,7 +1,7 @@
-From 58891f4a215336182677e97c94198ba8cced19cd Mon Sep 17 00:00:00 2001
+From 8502c47123cbbb2f81b751780bdc8bc2fd3024ca Mon Sep 17 00:00:00 2001
 From: Alon Levy <alevy at redhat.com>
 Date: Wed, 3 Oct 2012 20:13:58 +0200
-Subject: [PATCH 515/522] hw/qxl: exit on failure to register qxl interface
+Subject: [PATCH] hw/qxl: exit on failure to register qxl interface
 
 This prevents a segfault later on when the device reset handler
 tries to access a NULL ssd.worker since interface_attach_worker has
@@ -30,6 +30,3 @@ index 8d33745..db6440e 100644
      qemu_add_vm_change_state_handler(qxl_vm_change_state_handler, qxl);
  
      init_pipe_signaling(qxl);
--- 
-1.8.0.2
-
diff --git a/0516-hw-qxl-fix-condition-for-exiting-guest_bug.patch b/0516-hw-qxl-fix-condition-for-exiting-guest_bug.patch
index 216c177..ef6e3a2 100644
--- a/0516-hw-qxl-fix-condition-for-exiting-guest_bug.patch
+++ b/0516-hw-qxl-fix-condition-for-exiting-guest_bug.patch
@@ -1,7 +1,7 @@
-From 8ceaa64ed2f20a7af865eb9bac0bc6e54f5f7eea Mon Sep 17 00:00:00 2001
+From 35bc51bb66018c3b387c735070612cd81200a2f9 Mon Sep 17 00:00:00 2001
 From: Alon Levy <alevy at redhat.com>
 Date: Tue, 2 Oct 2012 11:39:14 +0200
-Subject: [PATCH 516/522] hw/qxl: fix condition for exiting guest_bug
+Subject: [PATCH] hw/qxl: fix condition for exiting guest_bug
 
 Reported and suggested by Paolo Bonzini, thanks.
 
@@ -24,6 +24,3 @@ index db6440e..445705e 100644
          return;
      }
  
--- 
-1.8.0.2
-
diff --git a/0517-hw-qxl-qxl_send_events-nop-if-stopped.patch b/0517-hw-qxl-qxl_send_events-nop-if-stopped.patch
index 324ce7d..e787f66 100644
--- a/0517-hw-qxl-qxl_send_events-nop-if-stopped.patch
+++ b/0517-hw-qxl-qxl_send_events-nop-if-stopped.patch
@@ -1,7 +1,7 @@
-From 79868eccfd65a7926d7beff42b1094a000b10c01 Mon Sep 17 00:00:00 2001
+From 46afee90f84ed7f03a6c1e086cb7a3894451682d Mon Sep 17 00:00:00 2001
 From: Alon Levy <alevy at redhat.com>
 Date: Thu, 1 Nov 2012 14:56:00 +0200
-Subject: [PATCH 517/522] hw/qxl: qxl_send_events: nop if stopped
+Subject: [PATCH] hw/qxl: qxl_send_events: nop if stopped
 
 Added a trace point for easy logging.
 
@@ -34,10 +34,10 @@ index 445705e..8111bb9 100644
      if ((old_pending & le_events) == le_events) {
          return;
 diff --git a/trace-events b/trace-events
-index f5b5097..9d39d8d 100644
+index 07b63f1..992aef1 100644
 --- a/trace-events
 +++ b/trace-events
-@@ -978,6 +978,7 @@ qxl_spice_update_area(int qid, uint32_t surface_id, uint32_t left, uint32_t righ
+@@ -973,6 +973,7 @@ qxl_spice_update_area(int qid, uint32_t surface_id, uint32_t left, uint32_t righ
  qxl_spice_update_area_rest(int qid, uint32_t num_dirty_rects, uint32_t clear_dirty_region) "%d #d=%d clear=%d"
  qxl_surfaces_dirty(int qid, int surface, int offset, int size) "%d surface=%d offset=%d size=%d"
  qxl_send_events(int qid, uint32_t events) "%d %d"
@@ -45,6 +45,3 @@ index f5b5097..9d39d8d 100644
  qxl_set_guest_bug(int qid) "%d"
  qxl_interrupt_client_monitors_config(int qid, int num_heads, void *heads) "%d %d %p"
  qxl_client_monitors_config_unsupported_by_guest(int qid, uint32_t int_mask, void *client_monitors_config) "%d %X %p"
--- 
-1.8.0.2
-
diff --git a/0518-qxl-call-dpy_gfx_resize-when-entering-vga-mode.patch b/0518-qxl-call-dpy_gfx_resize-when-entering-vga-mode.patch
index 12f90d7..d5a81a0 100644
--- a/0518-qxl-call-dpy_gfx_resize-when-entering-vga-mode.patch
+++ b/0518-qxl-call-dpy_gfx_resize-when-entering-vga-mode.patch
@@ -1,7 +1,7 @@
-From acbfa56143a6c8a4e0ceb2546612ae4caea907d3 Mon Sep 17 00:00:00 2001
+From 97ccbacab3e9cc19ebb54f1aacbe84118cbb3a29 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Tue, 30 Oct 2012 14:55:12 +0100
-Subject: [PATCH 518/564] qxl: call dpy_gfx_resize when entering vga mode
+Subject: [PATCH] qxl: call dpy_gfx_resize when entering vga mode
 
 When entering vga mode the display size likely changes,
 notify all displaychangelisteners about this.
@@ -20,7 +20,7 @@ Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/hw/qxl.c b/hw/qxl.c
-index 8111bb9..3583d98 100644
+index 8111bb9..f88829c 100644
 --- a/hw/qxl.c
 +++ b/hw/qxl.c
 @@ -1084,7 +1084,7 @@ static void qxl_enter_vga_mode(PCIQXLDevice *d)
@@ -32,6 +32,3 @@ index 8111bb9..3583d98 100644
      vga_dirty_log_start(&d->vga);
  }
  
--- 
-1.8.1
-
diff --git a/0519-spice-fix-initialization-order.patch b/0519-spice-fix-initialization-order.patch
index 41a73a0..681efdd 100644
--- a/0519-spice-fix-initialization-order.patch
+++ b/0519-spice-fix-initialization-order.patch
@@ -1,7 +1,7 @@
-From d106523eff9b2f7e0b201c04a825c1fbcef1e495 Mon Sep 17 00:00:00 2001
+From 13cc38946d570a43c1a913b8fb014c189e660ceb Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Fri, 2 Nov 2012 09:37:27 +0100
-Subject: [PATCH 519/564] spice: fix initialization order
+Subject: [PATCH] spice: fix initialization order
 
 Register displaychangelistener last, after spice is fully initialized,
 otherwise we may hit NULL pointer dereferences when qemu starts calling
@@ -16,7 +16,7 @@ Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
  2 files changed, 9 insertions(+), 3 deletions(-)
 
 diff --git a/hw/qxl.c b/hw/qxl.c
-index 3583d98..525763b 100644
+index f88829c..9418ecb 100644
 --- a/hw/qxl.c
 +++ b/hw/qxl.c
 @@ -2061,6 +2061,7 @@ static int qxl_init_primary(PCIDevice *dev)
@@ -62,6 +62,3 @@ index d062765..4c24c32 100644
      qemu_spice_create_host_primary(&sdpy);
 +    register_displaychangelistener(ds, &display_listener);
  }
--- 
-1.8.1
-
diff --git a/0520-spice-add-new-spice-server-callbacks-to-ui-spice-dis.patch b/0520-spice-add-new-spice-server-callbacks-to-ui-spice-dis.patch
index dbc8120..b28cb59 100644
--- a/0520-spice-add-new-spice-server-callbacks-to-ui-spice-dis.patch
+++ b/0520-spice-add-new-spice-server-callbacks-to-ui-spice-dis.patch
@@ -1,8 +1,7 @@
-From e4e6427ffc8a25e6eafdbf1a284319721891fb77 Mon Sep 17 00:00:00 2001
+From 12bf3d6ef0b57952276361b274dcb5704480b08e Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Wed, 21 Nov 2012 14:41:48 +0100
-Subject: [PATCH 520/564] spice: add new spice-server callbacks to
- ui/spice-display.c
+Subject: [PATCH] spice: add new spice-server callbacks to ui/spice-display.c
 
 Otherwise qemu crashes with non-qxl graphics cards.
 
@@ -64,6 +63,3 @@ index 4c24c32..85c055e 100644
  };
  
  static SimpleSpiceDisplay sdpy;
--- 
-1.8.1
-
diff --git a/0521-qxl-save-qemu_create_displaysurface_from-result.patch b/0521-qxl-save-qemu_create_displaysurface_from-result.patch
index 8697610..4e4b7ea 100644
--- a/0521-qxl-save-qemu_create_displaysurface_from-result.patch
+++ b/0521-qxl-save-qemu_create_displaysurface_from-result.patch
@@ -1,7 +1,7 @@
-From 39a4efbef72744cb09151954091710400c31f18d Mon Sep 17 00:00:00 2001
+From 67a3c5e0e9b7e2ae4444f374c698fc3fbf16a1ac Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Mon, 10 Dec 2012 07:41:07 +0100
-Subject: [PATCH 521/564] qxl: save qemu_create_displaysurface_from result
+Subject: [PATCH] qxl: save qemu_create_displaysurface_from result
 
 Spotted by Coverity.
 
@@ -36,6 +36,3 @@ index b66c168..e7d41ec 100644
          } else {
              qemu_resize_displaysurface(vga->ds,
                      qxl->guest_primary.surface.width,
--- 
-1.8.1
-
diff --git a/0601-usb-redir-Convert-to-new-libusbredirparser-0.5-API.patch b/0601-usb-redir-Convert-to-new-libusbredirparser-0.5-API.patch
index 88889a2..03520e4 100644
--- a/0601-usb-redir-Convert-to-new-libusbredirparser-0.5-API.patch
+++ b/0601-usb-redir-Convert-to-new-libusbredirparser-0.5-API.patch
@@ -1,4 +1,4 @@
-From afe0b566b5700b9c3933b7b3f8e9414ff2014de1 Mon Sep 17 00:00:00 2001
+From 3fe6c1a36c08f282402f4487013d7e15a1c79095 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Fri, 31 Aug 2012 13:41:38 +0200
 Subject: [PATCH] usb-redir: Convert to new libusbredirparser 0.5 API
@@ -227,6 +227,3 @@ index b7c7f1e..321f5be 100644
              interrupt_packet->status, ep, data_len, id);
  
      if (dev->endpoint[EP2I(ep)].type != USB_ENDPOINT_XFER_INT) {
--- 
-1.8.0.2
-
diff --git a/0602-usb-redir-Set-ep-max_packet_size-if-available.patch b/0602-usb-redir-Set-ep-max_packet_size-if-available.patch
index 1e93c33..49af939 100644
--- a/0602-usb-redir-Set-ep-max_packet_size-if-available.patch
+++ b/0602-usb-redir-Set-ep-max_packet_size-if-available.patch
@@ -1,4 +1,4 @@
-From c065841b3604ac4f2b1c564db7c2fd180ac1c32d Mon Sep 17 00:00:00 2001
+From bbc0ef6979ccab369335839da645e68d15845fde Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Mon, 3 Sep 2012 11:49:07 +0200
 Subject: [PATCH] usb-redir: Set ep max_packet_size if available
@@ -34,6 +34,3 @@ index 321f5be..b9a3633 100644
      }
  }
  
--- 
-1.8.0.2
-
diff --git a/0603-usb-redir-Add-a-usbredir_reject_device-helper-functi.patch b/0603-usb-redir-Add-a-usbredir_reject_device-helper-functi.patch
index a24fe54..1874c40 100644
--- a/0603-usb-redir-Add-a-usbredir_reject_device-helper-functi.patch
+++ b/0603-usb-redir-Add-a-usbredir_reject_device-helper-functi.patch
@@ -1,4 +1,4 @@
-From b9d21224a0186b5b6664d28a06729e0a5dadb853 Mon Sep 17 00:00:00 2001
+From f1747cd3b2231a4d9d53ad5576f4e0a0cba50998 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Mon, 3 Sep 2012 11:53:28 +0200
 Subject: [PATCH] usb-redir: Add a usbredir_reject_device helper function
@@ -53,6 +53,3 @@ index b9a3633..a590cb2 100644
      return -1;
  }
  
--- 
-1.8.0.2
-
diff --git a/0604-usb-redir-Ensure-our-peer-has-the-necessary-caps-whe.patch b/0604-usb-redir-Ensure-our-peer-has-the-necessary-caps-whe.patch
index 792ec58..68fb2c6 100644
--- a/0604-usb-redir-Ensure-our-peer-has-the-necessary-caps-whe.patch
+++ b/0604-usb-redir-Ensure-our-peer-has-the-necessary-caps-whe.patch
@@ -1,4 +1,4 @@
-From 5b53990774b76625ff3d288fda1c0def3e612c92 Mon Sep 17 00:00:00 2001
+From ef07a05e357649d52058bcd980924b107a85fb56 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Mon, 3 Sep 2012 12:04:49 +0200
 Subject: [PATCH] usb-redir: Ensure our peer has the necessary caps when
@@ -38,6 +38,3 @@ index a590cb2..f1bb692 100644
      if (usb_device_attach(&dev->dev) != 0) {
          usbredir_reject_device(dev);
      }
--- 
-1.8.0.2
-
diff --git a/0605-usb-redir-Enable-pipelining-for-bulk-endpoints.patch b/0605-usb-redir-Enable-pipelining-for-bulk-endpoints.patch
index d7c3444..e5dc1e5 100644
--- a/0605-usb-redir-Enable-pipelining-for-bulk-endpoints.patch
+++ b/0605-usb-redir-Enable-pipelining-for-bulk-endpoints.patch
@@ -1,4 +1,4 @@
-From 9658745685663e7fbae0e6956cbb95be835076f3 Mon Sep 17 00:00:00 2001
+From 71b8edadc72990f1f987a8b39ab2fc10582b454d Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Mon, 3 Sep 2012 13:44:04 +0200
 Subject: [PATCH] usb-redir: Enable pipelining for bulk endpoints
@@ -23,6 +23,3 @@ index f1bb692..f183263 100644
      }
  }
  
--- 
-1.8.0.2
-
diff --git a/0606-xhci-move-device-lookup-into-xhci_setup_packet.patch b/0606-xhci-move-device-lookup-into-xhci_setup_packet.patch
index cc4070c..f78bbac 100644
--- a/0606-xhci-move-device-lookup-into-xhci_setup_packet.patch
+++ b/0606-xhci-move-device-lookup-into-xhci_setup_packet.patch
@@ -1,4 +1,4 @@
-From 33cc7c61049bfe2563828e3b865874c4b1b55b6f Mon Sep 17 00:00:00 2001
+From d2b51c117c29bd6c643b38dee8e1f49572711c13 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Fri, 24 Aug 2012 14:21:39 +0200
 Subject: [PATCH] xhci: move device lookup into xhci_setup_packet
@@ -149,6 +149,3 @@ index 30cb0d5..1a65063 100644
          result = usb_handle_packet(xfer->packet.ep->dev, &xfer->packet);
          if (result == USB_RET_NAK) {
              return;
--- 
-1.8.0.2
-
diff --git a/0607-xhci-implement-mfindex.patch b/0607-xhci-implement-mfindex.patch
index 523fc9b..68f1382 100644
--- a/0607-xhci-implement-mfindex.patch
+++ b/0607-xhci-implement-mfindex.patch
@@ -1,4 +1,4 @@
-From b935a33743b54a9dd670c1245376a3903bab4801 Mon Sep 17 00:00:00 2001
+From 3529c46a54fcd3e1bc0bef97be254005177e5054 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Tue, 21 Aug 2012 12:32:58 +0200
 Subject: [PATCH] xhci: implement mfindex
@@ -137,6 +137,3 @@ index 1a65063..88f71fc 100644
      xhci->irq = xhci->pci_dev.irq[0];
  
      memory_region_init_io(&xhci->mem, &xhci_mem_ops, xhci,
--- 
-1.8.0.2
-
diff --git a/0608-xhci-iso-xfer-support.patch b/0608-xhci-iso-xfer-support.patch
index 36094b6..b2f77e7 100644
--- a/0608-xhci-iso-xfer-support.patch
+++ b/0608-xhci-iso-xfer-support.patch
@@ -1,4 +1,4 @@
-From 26c73adc7b291c90f5975f7148092e4fc207f3dc Mon Sep 17 00:00:00 2001
+From c578154e75f7dc2433bcde4180320b0bfd884e62 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Fri, 24 Aug 2012 14:13:08 +0200
 Subject: [PATCH] xhci: iso xfer support
@@ -233,6 +233,3 @@ index 88f71fc..f3f1d61 100644
              }
          }
  
--- 
-1.8.0.2
-
diff --git a/0609-xhci-trace-cc-codes-in-cleartext.patch b/0609-xhci-trace-cc-codes-in-cleartext.patch
index f672430..8dd6dbd 100644
--- a/0609-xhci-trace-cc-codes-in-cleartext.patch
+++ b/0609-xhci-trace-cc-codes-in-cleartext.patch
@@ -1,4 +1,4 @@
-From eed215ccbf493e85d80fd51266c338e4ac86e7f9 Mon Sep 17 00:00:00 2001
+From f98ec7477ad72305a10d392a0b043df9192620ab Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Mon, 27 Aug 2012 16:09:20 +0200
 Subject: [PATCH] xhci: trace cc codes in cleartext
@@ -83,7 +83,7 @@ index f3f1d61..ad2226f 100644
      addr = xhci->er_start + TRB_SIZE*xhci->er_ep_idx;
      pci_dma_write(&xhci->pci_dev, addr, &ev_trb, TRB_SIZE);
 diff --git a/trace-events b/trace-events
-index 07b63f1..b38e32a 100644
+index 992aef1..9fa7673 100644
 --- a/trace-events
 +++ b/trace-events
 @@ -316,7 +316,7 @@ usb_xhci_runtime_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
@@ -95,6 +95,3 @@ index 07b63f1..b38e32a 100644
  usb_xhci_fetch_trb(uint64_t addr, const char *name, uint64_t param, uint32_t status, uint32_t control) "addr %016" PRIx64 ", %s, p %016" PRIx64 ", s %08x, c 0x%08x"
  usb_xhci_slot_enable(uint32_t slotid) "slotid %d"
  usb_xhci_slot_disable(uint32_t slotid) "slotid %d"
--- 
-1.8.0.2
-
diff --git a/0610-xhci-add-trace_usb_xhci_ep_set_dequeue.patch b/0610-xhci-add-trace_usb_xhci_ep_set_dequeue.patch
index c4a482b..0209424 100644
--- a/0610-xhci-add-trace_usb_xhci_ep_set_dequeue.patch
+++ b/0610-xhci-add-trace_usb_xhci_ep_set_dequeue.patch
@@ -1,4 +1,4 @@
-From 85be78ba5daa672ec27c23c371b30aa723dc73c3 Mon Sep 17 00:00:00 2001
+From ef91b4721df38d041867d43300583321119c92e0 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Wed, 29 Aug 2012 12:54:59 +0200
 Subject: [PATCH] xhci: add trace_usb_xhci_ep_set_dequeue
@@ -23,7 +23,7 @@ index ad2226f..a938ad3 100644
  
      slot = &xhci->slots[slotid-1];
 diff --git a/trace-events b/trace-events
-index b38e32a..2db1deb 100644
+index 9fa7673..7b9cc9e 100644
 --- a/trace-events
 +++ b/trace-events
 @@ -326,6 +326,7 @@ usb_xhci_slot_evaluate(uint32_t slotid) "slotid %d"
@@ -34,6 +34,3 @@ index b38e32a..2db1deb 100644
  usb_xhci_ep_kick(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
  usb_xhci_ep_stop(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
  usb_xhci_ep_reset(uint32_t slotid, uint32_t epid) "slotid %d, epid %d"
--- 
-1.8.0.2
-
diff --git a/0611-xhci-update-register-layout.patch b/0611-xhci-update-register-layout.patch
index 3a0a535..81f071f 100644
--- a/0611-xhci-update-register-layout.patch
+++ b/0611-xhci-update-register-layout.patch
@@ -1,4 +1,4 @@
-From 81a651a566a37ab65dc0bf5a6a72453b0a0a7157 Mon Sep 17 00:00:00 2001
+From 297556441abec3823fcf362395f2af650e53a631 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Thu, 23 Aug 2012 13:26:25 +0200
 Subject: [PATCH] xhci: update register layout
@@ -58,6 +58,3 @@ index a938ad3..11cb3bc 100644
  #if (OFF_DOORBELL + LEN_DOORBELL) > LEN_REGS
  # error Increase LEN_REGS
  #endif
--- 
-1.8.0.2
-
diff --git a/0612-xhci-update-port-handling.patch b/0612-xhci-update-port-handling.patch
index 40e39a4..c195f1f 100644
--- a/0612-xhci-update-port-handling.patch
+++ b/0612-xhci-update-port-handling.patch
@@ -1,4 +1,4 @@
-From 73b022067ca13e4f4c26ab2f31faa7ffa903b7a8 Mon Sep 17 00:00:00 2001
+From 2ed404cacc625272fb7017476634b77002ee880b Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Tue, 28 Aug 2012 13:38:01 +0200
 Subject: [PATCH] xhci: update port handling
@@ -347,6 +347,3 @@ index 11cb3bc..642e8e5 100644
      DEFINE_PROP_END_OF_LIST(),
  };
  
--- 
-1.8.0.2
-
diff --git a/0613-usb3-superspeed-descriptors.patch b/0613-usb3-superspeed-descriptors.patch
index e11739a..a130320 100644
--- a/0613-usb3-superspeed-descriptors.patch
+++ b/0613-usb3-superspeed-descriptors.patch
@@ -1,4 +1,4 @@
-From 30c648f2872cfd04fdf4115628398571a214ccc3 Mon Sep 17 00:00:00 2001
+From 626f97d5fb771fadedccc9d05f6fea47b689c3bc Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Tue, 28 Aug 2012 17:28:50 +0200
 Subject: [PATCH] usb3: superspeed descriptors
@@ -59,6 +59,3 @@ index 7cf5442..d89fa41 100644
      const char* const         *str;
  };
  
--- 
-1.8.0.2
-
diff --git a/0614-usb3-superspeed-endpoint-companion.patch b/0614-usb3-superspeed-endpoint-companion.patch
index 2a0b793..fa7f9a9 100644
--- a/0614-usb3-superspeed-endpoint-companion.patch
+++ b/0614-usb3-superspeed-endpoint-companion.patch
@@ -1,4 +1,4 @@
-From a76e4c47f9be219527561c074716972226b6c1c1 Mon Sep 17 00:00:00 2001
+From 28606fe9b5e3554fa65d7fd7aef449da74ec1363 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Tue, 28 Aug 2012 17:28:03 +0200
 Subject: [PATCH] usb3: superspeed endpoint companion
@@ -243,6 +243,3 @@ index d89fa41..4b5e88d 100644
  int usb_desc_other(const USBDescOther *desc, uint8_t *dest, size_t len);
  
  /* control message emulation helpers */
--- 
-1.8.0.2
-
diff --git a/0615-usb3-bos-decriptor.patch b/0615-usb3-bos-decriptor.patch
index b30ca3e..2ec11bc 100644
--- a/0615-usb3-bos-decriptor.patch
+++ b/0615-usb3-bos-decriptor.patch
@@ -1,4 +1,4 @@
-From dd9e0d2970d00917406acdd77add20e0a87012dc Mon Sep 17 00:00:00 2001
+From 56e4093206b136735942b1fa94fc9826b489fac1 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Tue, 28 Aug 2012 17:46:29 +0200
 Subject: [PATCH] usb3: bos decriptor
@@ -199,7 +199,7 @@ index 4b5e88d..68bb570 100644
  } QEMU_PACKED USBDescriptor;
  
 diff --git a/trace-events b/trace-events
-index 2db1deb..d941e78 100644
+index 7b9cc9e..d978d42 100644
 --- a/trace-events
 +++ b/trace-events
 @@ -343,6 +343,7 @@ usb_desc_device_qualifier(int addr, int len, int ret) "dev %d query device quali
@@ -210,6 +210,3 @@ index 2db1deb..d941e78 100644
  usb_set_addr(int addr) "dev %d"
  usb_set_config(int addr, int config, int ret) "dev %d, config %d, ret %d"
  usb_set_interface(int addr, int iface, int alt, int ret) "dev %d, interface %d, altsetting %d, ret %d"
--- 
-1.8.0.2
-
diff --git a/0616-usb-storage-usb3-support.patch b/0616-usb-storage-usb3-support.patch
index 1010f18..75857f6 100644
--- a/0616-usb-storage-usb3-support.patch
+++ b/0616-usb-storage-usb3-support.patch
@@ -1,4 +1,4 @@
-From 555a722ece2d20facc9f8be2c32fb0595a2f4e8b Mon Sep 17 00:00:00 2001
+From 3c762eeef7dc242a00552bb9b3f05e0208765f84 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Tue, 28 Aug 2012 17:29:15 +0200
 Subject: [PATCH] usb-storage: usb3 support
@@ -89,6 +89,3 @@ index ff48d91..e732191 100644
  };
  
  static void usb_msd_copy_data(MSDState *s, USBPacket *p)
--- 
-1.8.0.2
-
diff --git a/0617-xhci-fix-cleanup-msi.patch b/0617-xhci-fix-cleanup-msi.patch
index e0cc571..d7c87a7 100644
--- a/0617-xhci-fix-cleanup-msi.patch
+++ b/0617-xhci-fix-cleanup-msi.patch
@@ -1,4 +1,4 @@
-From 894f086b6205b780a8dc97489f58ea324ecb9765 Mon Sep 17 00:00:00 2001
+From b296bb59f2c9e56bc2ba5fadc53ab53c54ccbc4b Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Thu, 30 Aug 2012 10:57:12 +0200
 Subject: [PATCH] xhci: fix & cleanup msi.
@@ -91,6 +91,3 @@ index 642e8e5..ff74ed9 100644
  }
  
  static TypeInfo xhci_info = {
--- 
-1.8.0.2
-
diff --git a/0618-xhci-rework-interrupt-handling.patch b/0618-xhci-rework-interrupt-handling.patch
index 4689b93..19ae99c 100644
--- a/0618-xhci-rework-interrupt-handling.patch
+++ b/0618-xhci-rework-interrupt-handling.patch
@@ -1,4 +1,4 @@
-From 28d099bc11fa5c22331c4681dc5cb56fe19d603a Mon Sep 17 00:00:00 2001
+From 5901a1ee90fbbddce3f0a17bc6dbb6a215b718a4 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Thu, 30 Aug 2012 13:05:10 +0200
 Subject: [PATCH] xhci: rework interrupt handling
@@ -112,6 +112,3 @@ index ff74ed9..74a57fe 100644
          break;
      case 0x24: /* IMOD */
          xhci->imod = val;
--- 
-1.8.0.2
-
diff --git a/0619-xhci-add-msix-support.patch b/0619-xhci-add-msix-support.patch
index 86e69f8..00f159b 100644
--- a/0619-xhci-add-msix-support.patch
+++ b/0619-xhci-add-msix-support.patch
@@ -1,4 +1,4 @@
-From 8e09078421d52a78081bbf35db75fa1d11b2f9a4 Mon Sep 17 00:00:00 2001
+From 30a07a691a444a4c9b7116d50ca1a6e8cf28db5c Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Thu, 30 Aug 2012 12:06:59 +0200
 Subject: [PATCH] xhci: add msix support
@@ -138,7 +138,7 @@ index 74a57fe..91c2fb1 100644
      DEFINE_PROP_UINT32("p3",  XHCIState, numports_3, 4),
      DEFINE_PROP_END_OF_LIST(),
 diff --git a/trace-events b/trace-events
-index d941e78..f86bbda 100644
+index d978d42..93b05ab 100644
 --- a/trace-events
 +++ b/trace-events
 @@ -316,6 +316,9 @@ usb_xhci_runtime_write(uint32_t off, uint32_t val) "off 0x%04x, val 0x%08x"
@@ -151,6 +151,3 @@ index d941e78..f86bbda 100644
  usb_xhci_queue_event(uint32_t idx, const char *trb, const char *evt, uint64_t param, uint32_t status, uint32_t control) "idx %d, %s, %s, p %016" PRIx64 ", s %08x, c 0x%08x"
  usb_xhci_fetch_trb(uint64_t addr, const char *name, uint64_t param, uint32_t status, uint32_t control) "addr %016" PRIx64 ", %s, p %016" PRIx64 ", s %08x, c 0x%08x"
  usb_xhci_slot_enable(uint32_t slotid) "slotid %d"
--- 
-1.8.0.2
-
diff --git a/0620-xhci-move-register-update-into-xhci_intr_raise.patch b/0620-xhci-move-register-update-into-xhci_intr_raise.patch
index 7b4af09..341f5c3 100644
--- a/0620-xhci-move-register-update-into-xhci_intr_raise.patch
+++ b/0620-xhci-move-register-update-into-xhci_intr_raise.patch
@@ -1,4 +1,4 @@
-From 18e27420641fed150d09ece76a74089ffc81f21c Mon Sep 17 00:00:00 2001
+From febd3b03f0bf3d108d201232e6f05c1d840f941d Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Thu, 30 Aug 2012 14:04:04 +0200
 Subject: [PATCH] xhci: move register update into xhci_intr_raise
@@ -50,6 +50,3 @@ index 91c2fb1..ae5620f 100644
      xhci_intr_raise(xhci);
  }
  
--- 
-1.8.0.2
-
diff --git a/0621-xhci-add-XHCIInterrupter.patch b/0621-xhci-add-XHCIInterrupter.patch
index e853f51..5d092ac 100644
--- a/0621-xhci-add-XHCIInterrupter.patch
+++ b/0621-xhci-add-XHCIInterrupter.patch
@@ -1,4 +1,4 @@
-From 389e9b95abb9bd0eb42731351db615df6ded5f5d Mon Sep 17 00:00:00 2001
+From 0d297b79dc199a7670c867e035d20a1f1b4a02e0 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Thu, 30 Aug 2012 15:49:03 +0200
 Subject: [PATCH] xhci: add XHCIInterrupter
@@ -625,7 +625,7 @@ index ae5620f..76da7a9 100644
  
  static void xhci_complete(USBPort *port, USBPacket *packet)
 diff --git a/trace-events b/trace-events
-index f86bbda..f5b5097 100644
+index 93b05ab..9d39d8d 100644
 --- a/trace-events
 +++ b/trace-events
 @@ -319,7 +319,7 @@ usb_xhci_irq_msi(uint32_t nr) "nr %d"
@@ -637,6 +637,3 @@ index f86bbda..f5b5097 100644
  usb_xhci_fetch_trb(uint64_t addr, const char *name, uint64_t param, uint32_t status, uint32_t control) "addr %016" PRIx64 ", %s, p %016" PRIx64 ", s %08x, c 0x%08x"
  usb_xhci_slot_enable(uint32_t slotid) "slotid %d"
  usb_xhci_slot_disable(uint32_t slotid) "slotid %d"
--- 
-1.8.0.2
-
diff --git a/0622-xhci-prepare-xhci_runtime_-read-write-for-multiple-i.patch b/0622-xhci-prepare-xhci_runtime_-read-write-for-multiple-i.patch
index 82a6c44..15ce4f7 100644
--- a/0622-xhci-prepare-xhci_runtime_-read-write-for-multiple-i.patch
+++ b/0622-xhci-prepare-xhci_runtime_-read-write-for-multiple-i.patch
@@ -1,4 +1,4 @@
-From 0859f45be456731c7e900264f3f11f911717e121 Mon Sep 17 00:00:00 2001
+From b4457799e9610602d20382843c1d2bde4ce475dd Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Thu, 30 Aug 2012 17:15:12 +0200
 Subject: [PATCH] xhci: prepare xhci_runtime_{read,write} for multiple
@@ -154,6 +154,3 @@ index 76da7a9..df2ea22 100644
          break;
      default:
          fprintf(stderr, "xhci_oper_write: reg 0x%x unimplemented\n", reg);
--- 
-1.8.0.2
-
diff --git a/0623-xhci-pick-target-interrupter.patch b/0623-xhci-pick-target-interrupter.patch
index 6931c07..7b6781f 100644
--- a/0623-xhci-pick-target-interrupter.patch
+++ b/0623-xhci-pick-target-interrupter.patch
@@ -1,4 +1,4 @@
-From 755c1c8db0c6f23cc84aa31c0437f2ddd6048800 Mon Sep 17 00:00:00 2001
+From ebb89c9a420f2aa87796f377992ac403adcab309 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Fri, 31 Aug 2012 15:30:51 +0200
 Subject: [PATCH] xhci: pick target interrupter
@@ -88,6 +88,3 @@ index df2ea22..9667c0d 100644
  }
  
  static void xhci_complete(USBPort *port, USBPacket *packet)
--- 
-1.8.0.2
-
diff --git a/0624-xhci-support-multiple-interrupters.patch b/0624-xhci-support-multiple-interrupters.patch
index c2f5235..d83f1e9 100644
--- a/0624-xhci-support-multiple-interrupters.patch
+++ b/0624-xhci-support-multiple-interrupters.patch
@@ -1,4 +1,4 @@
-From 6b4ce88ab228e8ad167b10bf231126b7f266d8a9 Mon Sep 17 00:00:00 2001
+From bda96cc71d34d4c3163455c9ea570f62e9c745f4 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Tue, 4 Sep 2012 12:56:55 +0200
 Subject: [PATCH] xhci: support multiple interrupters
@@ -35,6 +35,3 @@ index 9667c0d..874b545 100644
  /* bit definitions */
  #define USBCMD_RS       (1<<0)
  #define USBCMD_HCRST    (1<<1)
--- 
-1.8.0.2
-
diff --git a/0625-xhci-kill-xhci_mem_-read-write-dispatcher-functions.patch b/0625-xhci-kill-xhci_mem_-read-write-dispatcher-functions.patch
index 6713681..3de9f67 100644
--- a/0625-xhci-kill-xhci_mem_-read-write-dispatcher-functions.patch
+++ b/0625-xhci-kill-xhci_mem_-read-write-dispatcher-functions.patch
@@ -1,4 +1,4 @@
-From 3cb58625501657f61001334dc6537ab473caacbe Mon Sep 17 00:00:00 2001
+From f9b8c1e3044cb4c221ea0c971630bf1f348af848 Mon Sep 17 00:00:00 2001
 From: Gerd Hoffmann <kraxel at redhat.com>
 Date: Tue, 4 Sep 2012 14:42:20 +0200
 Subject: [PATCH] xhci: kill xhci_mem_{read,write} dispatcher functions
@@ -275,6 +275,3 @@ index 874b545..2c799fb 100644
      pci_register_bar(&xhci->pci_dev, 0,
                       PCI_BASE_ADDRESS_SPACE_MEMORY|PCI_BASE_ADDRESS_MEM_TYPE_64,
                       &xhci->mem);
--- 
-1.8.0.2
-
diff --git a/0626-usb-redir-Change-cancelled-packet-code-into-a-generi.patch b/0626-usb-redir-Change-cancelled-packet-code-into-a-generi.patch
index c618d3d..c4cab7c 100644
--- a/0626-usb-redir-Change-cancelled-packet-code-into-a-generi.patch
+++ b/0626-usb-redir-Change-cancelled-packet-code-into-a-generi.patch
@@ -1,4 +1,4 @@
-From 7aec34d818d5e3f191e310ee0787e5844d3c6019 Mon Sep 17 00:00:00 2001
+From 3ee0b38d21a4ced7e7040666b523ab711bb4b20c Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Tue, 4 Sep 2012 14:18:34 +0200
 Subject: [PATCH] usb-redir: Change cancelled packet code into a generic
@@ -179,6 +179,3 @@ index f183263..e2b8159 100644
      for (i = 0; i < MAX_ENDPOINTS; i++) {
          usbredir_free_bufpq(dev, I2EP(i));
      }
--- 
-1.8.0.2
-
diff --git a/0627-usb-redir-Add-an-already_in_flight-packet-id-queue.patch b/0627-usb-redir-Add-an-already_in_flight-packet-id-queue.patch
index 932fc3b..5eb0046 100644
--- a/0627-usb-redir-Add-an-already_in_flight-packet-id-queue.patch
+++ b/0627-usb-redir-Add-an-already_in_flight-packet-id-queue.patch
@@ -1,4 +1,4 @@
-From 1dc61f2996d6a211b690b43e9517baa31a786b6a Mon Sep 17 00:00:00 2001
+From 7f3022f4ee2f83aeb0a1eea265f4bf9b4401096e Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Tue, 4 Sep 2012 17:03:54 +0200
 Subject: [PATCH] usb-redir: Add an already_in_flight packet-id queue
@@ -114,6 +114,3 @@ index e2b8159..cdd705f 100644
      for (i = 0; i < MAX_ENDPOINTS; i++) {
          usbredir_free_bufpq(dev, I2EP(i));
      }
--- 
-1.8.0.2
-
diff --git a/0628-usb-redir-Store-max_packet_size-in-endp_data.patch b/0628-usb-redir-Store-max_packet_size-in-endp_data.patch
index 9b641f3..e38b41a 100644
--- a/0628-usb-redir-Store-max_packet_size-in-endp_data.patch
+++ b/0628-usb-redir-Store-max_packet_size-in-endp_data.patch
@@ -1,4 +1,4 @@
-From 8d5e4be8a36f93cd97c426285a65d66b9ac64bd7 Mon Sep 17 00:00:00 2001
+From 92685f7fb2b97236018aa8aed9fc9fd8f5644346 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Thu, 6 Sep 2012 20:52:36 +0200
 Subject: [PATCH] usb-redir: Store max_packet_size in endp_data
@@ -33,6 +33,3 @@ index cdd705f..6eb3c6d 100644
          }
          if (ep_info->type[i] == usb_redir_type_bulk) {
              usb_ep->pipeline = true;
--- 
-1.8.0.2
-
diff --git a/0629-usb-redir-Add-support-for-migration.patch b/0629-usb-redir-Add-support-for-migration.patch
index ffb1fce..5f20a5f 100644
--- a/0629-usb-redir-Add-support-for-migration.patch
+++ b/0629-usb-redir-Add-support-for-migration.patch
@@ -1,4 +1,4 @@
-From 6ffcfd679cbf168f4260b9db28662a2a1367b8b2 Mon Sep 17 00:00:00 2001
+From 89d5a2bf3ecb98ba5bfaf1fd6c63924aeb1b6208 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Wed, 5 Sep 2012 09:21:44 +0200
 Subject: [PATCH] usb-redir: Add support for migration
@@ -424,6 +424,3 @@ index 6eb3c6d..b7387b6 100644
      dc->props          = usbredir_properties;
  }
  
--- 
-1.8.0.2
-
diff --git a/0630-usb-redir-Add-chardev-open-close-debug-logging.patch b/0630-usb-redir-Add-chardev-open-close-debug-logging.patch
index b2ac4a8..d1cf2ab 100644
--- a/0630-usb-redir-Add-chardev-open-close-debug-logging.patch
+++ b/0630-usb-redir-Add-chardev-open-close-debug-logging.patch
@@ -1,4 +1,4 @@
-From 74544d87b480a3953b1f0b2b7cddd80d3b3c1bcb Mon Sep 17 00:00:00 2001
+From 9737abf4265d394434982e8f7db230084cf036cb Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Wed, 5 Sep 2012 15:56:57 +0200
 Subject: [PATCH] usb-redir: Add chardev open / close debug logging
@@ -49,6 +49,3 @@ index b7387b6..57e6289 100644
          usb_device_detach(&dev->dev);
          /*
           * Delay next usb device attach to give the guest a chance to see
--- 
-1.8.0.2
-
diff --git a/0631-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch b/0631-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
index 0f3bfc1..53d2405 100644
--- a/0631-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
+++ b/0631-usb-redir-Revert-usb-redir-part-of-commit-93bfef4c.patch
@@ -1,4 +1,4 @@
-From eb7cba97b479dfd5814e2a1d24588a1543d50552 Mon Sep 17 00:00:00 2001
+From a272467564b3915d36b85523ad7c2abf04a164a3 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Mon, 10 Sep 2012 13:49:46 +0200
 Subject: [PATCH] usb-redir: Revert usb-redir part of commit 93bfef4c
@@ -30,6 +30,3 @@ index 57e6289..78e93a7 100644
      int flags = 0;
  
      /* Make sure any pending closes are handled (no-op if none pending) */
--- 
-1.8.0.2
-
diff --git a/0632-ehci-Fix-interrupt-packet-MULT-handling.patch b/0632-ehci-Fix-interrupt-packet-MULT-handling.patch
index ac24fec..71fd7c9 100644
--- a/0632-ehci-Fix-interrupt-packet-MULT-handling.patch
+++ b/0632-ehci-Fix-interrupt-packet-MULT-handling.patch
@@ -1,4 +1,4 @@
-From 5c95a1e3a0b9266a195778cd95a8b08348d3a361 Mon Sep 17 00:00:00 2001
+From dc9b6b076e03412e67597c207f2202493e37db06 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Thu, 20 Sep 2012 16:55:02 +0200
 Subject: [PATCH] ehci: Fix interrupt packet MULT handling
@@ -126,6 +126,3 @@ index 6a5da84..46f6d99 100644
      }
  
      /* 4.10.5 */
--- 
-1.8.0.2
-
diff --git a/0633-usb-redir-Adjust-pkg-config-check-for-usbredirparser.patch b/0633-usb-redir-Adjust-pkg-config-check-for-usbredirparser.patch
index bfd2d66..45bf71c 100644
--- a/0633-usb-redir-Adjust-pkg-config-check-for-usbredirparser.patch
+++ b/0633-usb-redir-Adjust-pkg-config-check-for-usbredirparser.patch
@@ -1,4 +1,4 @@
-From 7f87b50fdd1519b431abe50173699fc6644d0eb6 Mon Sep 17 00:00:00 2001
+From 93e27ddf8c5e60eb932528cf1c560d81be108f96 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Tue, 25 Sep 2012 13:22:21 +0200
 Subject: [PATCH] usb-redir: Adjust pkg-config check for usbredirparser .pc
@@ -44,6 +44,3 @@ index d43d61a..8dac47b 100755
          QEMU_CFLAGS="$QEMU_CFLAGS $usb_redir_cflags"
          libs_softmmu="$libs_softmmu $usb_redir_libs"
      else
--- 
-1.8.0.2
-
diff --git a/0634-usb-redir-Change-usbredir_open_chardev-into-usbredir.patch b/0634-usb-redir-Change-usbredir_open_chardev-into-usbredir.patch
index cf6a757..34cbc35 100644
--- a/0634-usb-redir-Change-usbredir_open_chardev-into-usbredir.patch
+++ b/0634-usb-redir-Change-usbredir_open_chardev-into-usbredir.patch
@@ -1,4 +1,4 @@
-From f9ba78b992979db8b3d1489b34ec83eba5f12c52 Mon Sep 17 00:00:00 2001
+From 0e80029894a26f26a6641de5074ff680d98a6ffa Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Thu, 27 Sep 2012 16:59:50 +0200
 Subject: [PATCH] usb-redir: Change usbredir_open_chardev into
@@ -44,6 +44,3 @@ index 78e93a7..5d16aff 100644
          break;
      case CHR_EVENT_CLOSED:
          DPRINTF("chardev close\n");
--- 
-1.8.0.2
-
diff --git a/0635-usb-redir-Don-t-make-migration-fail-in-none-seamless.patch b/0635-usb-redir-Don-t-make-migration-fail-in-none-seamless.patch
index 933347c..3787e29 100644
--- a/0635-usb-redir-Don-t-make-migration-fail-in-none-seamless.patch
+++ b/0635-usb-redir-Don-t-make-migration-fail-in-none-seamless.patch
@@ -1,4 +1,4 @@
-From eab47219d477920fce785cb6bc34c0725d5b4b5f Mon Sep 17 00:00:00 2001
+From 11da0c283915f9e3d3da42451d218c26efef4671 Mon Sep 17 00:00:00 2001
 From: Hans de Goede <hdegoede at redhat.com>
 Date: Thu, 27 Sep 2012 16:57:41 +0200
 Subject: [PATCH] usb-redir: Don't make migration fail in none seamless case
@@ -37,6 +37,3 @@ index 5d16aff..022ba42 100644
      }
  
      data = g_malloc(len);
--- 
-1.8.0.2
-
diff --git a/0701-mips-Fix-link-error-with-piix4_pm_init.patch b/0701-mips-Fix-link-error-with-piix4_pm_init.patch
index 97b306f..f62a389 100644
--- a/0701-mips-Fix-link-error-with-piix4_pm_init.patch
+++ b/0701-mips-Fix-link-error-with-piix4_pm_init.patch
@@ -1,4 +1,4 @@
-From ffb70f6bbc0422cee8e0ef1a64da77d05492e290 Mon Sep 17 00:00:00 2001
+From a1cbcc0757b08e07a49fe9c8ba003ae47cf72614 Mon Sep 17 00:00:00 2001
 From: Cole Robinson <crobinso at redhat.com>
 Date: Mon, 6 Aug 2012 17:12:40 -0400
 Subject: [PATCH] mips: Fix link error with 'piix4_pm_init'
@@ -25,6 +25,3 @@ index 29a5d0d..89af0e9 100644
  obj-$(CONFIG_FULONG) += bonito.o vt82c686.o mips_fulong2e.o
  
  obj-y := $(addprefix ../,$(obj-y))
--- 
-1.8.0.2
-
diff --git a/0702-configure-Add-disable-kvm-options.patch b/0702-configure-Add-disable-kvm-options.patch
index 38609e5..9c48a3e 100644
--- a/0702-configure-Add-disable-kvm-options.patch
+++ b/0702-configure-Add-disable-kvm-options.patch
@@ -1,4 +1,4 @@
-From c546c1e56883261a78d85a9a77c64305ba9a0c1f Mon Sep 17 00:00:00 2001
+From b303845e11bd656915198589294a0660002e6814 Mon Sep 17 00:00:00 2001
 From: Cole Robinson <crobinso at redhat.com>
 Date: Mon, 13 Aug 2012 18:39:54 -0400
 Subject: [PATCH] configure: Add --disable-kvm-options
@@ -67,6 +67,3 @@ index 8dac47b..1668f30 100755
        if test "$vhost_net" = "yes" ; then
          echo "CONFIG_VHOST_NET=y" >> $config_target_mak
        fi
--- 
-1.8.0.2
-
diff --git a/0703-arm_boot-Change-initrd-load-address-to-halfway-throu.patch b/0703-arm_boot-Change-initrd-load-address-to-halfway-throu.patch
index d52c60c..fcfadc8 100644
--- a/0703-arm_boot-Change-initrd-load-address-to-halfway-throu.patch
+++ b/0703-arm_boot-Change-initrd-load-address-to-halfway-throu.patch
@@ -1,4 +1,4 @@
-From eebf51f3c5fce7fe55b12088fa62051f7ba60063 Mon Sep 17 00:00:00 2001
+From 8a139a56e82b6adec8dd6ea111f39d19367febfc Mon Sep 17 00:00:00 2001
 From: Peter Maydell <peter.maydell at linaro.org>
 Date: Fri, 26 Oct 2012 16:29:38 +0100
 Subject: [PATCH] arm_boot: Change initrd load address to "halfway through RAM"
@@ -132,6 +132,3 @@ index a6e9143..920c337 100644
              if (load_dtb(dtb_start, info)) {
                  exit(1);
              }
--- 
-1.8.0.2
-
diff --git a/0704-dtrace-backend-add-function-to-reserved-words.patch b/0704-dtrace-backend-add-function-to-reserved-words.patch
index 3997c3f..fa54432 100644
--- a/0704-dtrace-backend-add-function-to-reserved-words.patch
+++ b/0704-dtrace-backend-add-function-to-reserved-words.patch
@@ -1,4 +1,4 @@
-From 0a01742a34be0859b18fb2ebfd1191be4cf5a380 Mon Sep 17 00:00:00 2001
+From 63d0a6cd71a0e3b6ba1a9cb4e1ba880121840a7e Mon Sep 17 00:00:00 2001
 From: Alon Levy <alevy at redhat.com>
 Date: Sun, 2 Sep 2012 02:04:16 +0300
 Subject: [PATCH] dtrace backend: add function to reserved words
@@ -22,6 +22,3 @@ index 9cab75c..6be7047 100644
                      name += '_'
                  out('  %s = $arg%d;' % (name, i))
                  i += 1
--- 
-1.8.0.2
-
diff --git a/0706-libcacard-fix-missing-symbols-in-libcacard.so.patch b/0705-libcacard-fix-missing-symbols-in-libcacard.so.patch
similarity index 90%
rename from 0706-libcacard-fix-missing-symbols-in-libcacard.so.patch
rename to 0705-libcacard-fix-missing-symbols-in-libcacard.so.patch
index 678d03a..157f97f 100644
--- a/0706-libcacard-fix-missing-symbols-in-libcacard.so.patch
+++ b/0705-libcacard-fix-missing-symbols-in-libcacard.so.patch
@@ -1,4 +1,4 @@
-From a44468631dea81f4cdc4b3156d28d7e8b94ce037 Mon Sep 17 00:00:00 2001
+From 9fbc22fddb14b1e474807bc02ab31e35af25d3a3 Mon Sep 17 00:00:00 2001
 From: Alon Levy <alevy at redhat.com>
 Date: Wed, 28 Nov 2012 16:38:43 +0200
 Subject: [PATCH] libcacard: fix missing symbols in libcacard.so
@@ -20,6 +20,3 @@ index 63990b7..9ce3117 100644
  QEMU_OBJS_LIB=$(patsubst %.o,%.lo,$(QEMU_OBJS))
  
  QEMU_CFLAGS+=-I../
--- 
-1.8.0.2
-
diff --git a/0707-configure-move-vscclient-binary-under-libcacard.patch b/0706-configure-move-vscclient-binary-under-libcacard.patch
similarity index 97%
rename from 0707-configure-move-vscclient-binary-under-libcacard.patch
rename to 0706-configure-move-vscclient-binary-under-libcacard.patch
index df345dc..1bc1b28 100644
--- a/0707-configure-move-vscclient-binary-under-libcacard.patch
+++ b/0706-configure-move-vscclient-binary-under-libcacard.patch
@@ -1,4 +1,4 @@
-From 9c773d62b68152114b4a5a63fa68162acc853d6e Mon Sep 17 00:00:00 2001
+From 5f3abf0f58996748f93daff1542d9bbd99789196 Mon Sep 17 00:00:00 2001
 From: Alon Levy <alevy at redhat.com>
 Date: Thu, 29 Nov 2012 14:11:19 +0200
 Subject: [PATCH] configure: move vscclient binary under libcacard
@@ -88,6 +88,3 @@ index 9ce3117..88ed064 100644
  	$(LIBTOOL) --mode=install $(INSTALL_DATA) libcacard.la "$(DESTDIR)$(libdir)"
  	$(LIBTOOL) --mode=install $(INSTALL_DATA) libcacard.pc "$(DESTDIR)$(libdir)/pkgconfig"
  	for inc in *.h; do \
--- 
-1.8.0.2
-
diff --git a/0710-libcacard-fix-missing-symbols-in-libcacard.so.patch b/0707-libcacard-fix-missing-symbol-in-libcacard.so.patch
similarity index 93%
rename from 0710-libcacard-fix-missing-symbols-in-libcacard.so.patch
rename to 0707-libcacard-fix-missing-symbol-in-libcacard.so.patch
index e380c28..aef8085 100644
--- a/0710-libcacard-fix-missing-symbols-in-libcacard.so.patch
+++ b/0707-libcacard-fix-missing-symbol-in-libcacard.so.patch
@@ -1,4 +1,4 @@
-From a198c5ee0b8311aadffb682a70587cb92368b3fc Mon Sep 17 00:00:00 2001
+From c2cd586f8a83e20fd264cd53ba1120979779c34b Mon Sep 17 00:00:00 2001
 From: Alon Levy <alevy at redhat.com>
 Date: Wed, 28 Nov 2012 11:16:26 +0200
 Subject: [PATCH] libcacard: fix missing symbol in libcacard.so
@@ -28,6 +28,3 @@ index 88ed064..7973f8d 100644
  QEMU_OBJS_LIB=$(patsubst %.o,%.lo,$(QEMU_OBJS))
  
  QEMU_CFLAGS+=-I../
--- 
-1.8.0.1
-
diff --git a/0708-seccomp-adding-new-syscalls-bugzilla-855162.patch b/0708-seccomp-adding-new-syscalls-bugzilla-855162.patch
index a996528..0136558 100644
--- a/0708-seccomp-adding-new-syscalls-bugzilla-855162.patch
+++ b/0708-seccomp-adding-new-syscalls-bugzilla-855162.patch
@@ -1,4 +1,4 @@
-From cf0259065ea0cc476449a9e1dbbd5a128d57464c Mon Sep 17 00:00:00 2001
+From 83df794bc330e0c71d2d2f1f6d51103b53393f9c Mon Sep 17 00:00:00 2001
 From: Eduardo Otubo <otubo at linux.vnet.ibm.com>
 Date: Thu, 29 Nov 2012 13:56:41 -0200
 Subject: [PATCH] seccomp: adding new syscalls (bugzilla 855162)
@@ -236,6 +236,3 @@ index 64329a3..2a71d6f 100644
  };
  
  int seccomp_start(void)
--- 
-1.8.0.2
-
diff --git a/0709-e1000-Discard-oversized-packets-based-on-SBP-LPE.patch b/0709-e1000-Discard-oversized-packets-based-on-SBP-LPE.patch
index 3a7596a..db61c68 100644
--- a/0709-e1000-Discard-oversized-packets-based-on-SBP-LPE.patch
+++ b/0709-e1000-Discard-oversized-packets-based-on-SBP-LPE.patch
@@ -1,4 +1,4 @@
-From 125014c9a69b47d98f29ae2a6a5dae2e5633f07a Mon Sep 17 00:00:00 2001
+From e633e19df6e1d33dd9ce88fba2896082b1efbeec Mon Sep 17 00:00:00 2001
 From: Michael Contreras <michael at inetric.com>
 Date: Wed, 5 Dec 2012 13:31:30 -0500
 Subject: [PATCH] e1000: Discard oversized packets based on SBP|LPE
@@ -37,6 +37,3 @@ index b1d8508..fa3d4dc 100644
          && !(s->mac_reg[RCTL] & E1000_RCTL_SBP)) {
          return size;
      }
--- 
-1.8.1
-
diff --git a/0710-Revert-serial-fix-retry-logic.patch b/0710-Revert-serial-fix-retry-logic.patch
new file mode 100644
index 0000000..5d6285e
--- /dev/null
+++ b/0710-Revert-serial-fix-retry-logic.patch
@@ -0,0 +1,67 @@
+From 90f23b109c482f23d04a943d1e41f79b33ce028a Mon Sep 17 00:00:00 2001
+From: Michael Tokarev <mjt at tls.msk.ru>
+Date: Wed, 19 Sep 2012 12:08:31 +0400
+Subject: [PATCH] Revert "serial: fix retry logic"
+
+This reverts commit 67c5322d7000fd105a926eec44bc1765b7d70bdd:
+
+    I'm not sure if the retry logic has ever worked when not using FIFO mode.  I
+    found this while writing a test case although code inspection confirms it is
+    definitely broken.
+
+    The TSR retry logic will never actually happen because it is guarded by an
+    'if (s->tsr_rety > 0)' but this is the only place that can ever make the
+    variable greater than zero.  That effectively makes the retry logic an 'if (0)
+
+    I believe this is a typo and the intention was >= 0.  Once this is fixed thoug
+    I see double transmits with my test case.  This is because in the non FIFO
+    case, serial_xmit may get invoked while LSR.THRE is still high because the
+    character was processed but the retransmit timer was still active.
+
+    We can handle this by simply checking for LSR.THRE and returning early.  It's
+    possible that the FIFO paths also need some attention.
+
+    Cc: Stefano Stabellini <stefano.stabellini at eu.citrix.com>
+    Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
+
+Even if the previous logic was never worked, new logic breaks stuff -
+namely,
+
+ qemu -enable-kvm -nographic -kernel /boot/vmlinuz-$(uname -r) -append console=ttyS0 -serial pty
+
+the above command will cause the virtual machine to stuck at startup
+using 100% CPU till one connects to the pty and sends any char to it.
+
+Note this is rather typical invocation for various headless virtual
+machines by libvirt.
+
+So revert this change for now, till a better solution will be found.
+
+Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>
+Signed-off-by: Anthony Liguori <aliguori at us.ibm.com>
+---
+ hw/serial.c | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/hw/serial.c b/hw/serial.c
+index 056d823..c9fccf7 100644
+--- a/hw/serial.c
++++ b/hw/serial.c
+@@ -327,8 +327,6 @@ static void serial_xmit(void *opaque)
+             s->tsr = fifo_get(s,XMIT_FIFO);
+             if (!s->xmit_fifo.count)
+                 s->lsr |= UART_LSR_THRE;
+-        } else if ((s->lsr & UART_LSR_THRE)) {
+-            return;
+         } else {
+             s->tsr = s->thr;
+             s->lsr |= UART_LSR_THRE;
+@@ -340,7 +338,7 @@ static void serial_xmit(void *opaque)
+         /* in loopback mode, say that we just received a char */
+         serial_receive1(s, &s->tsr, 1);
+     } else if (qemu_chr_fe_write(s->chr, &s->tsr, 1) != 1) {
+-        if ((s->tsr_retry >= 0) && (s->tsr_retry <= MAX_XMIT_RETRY)) {
++        if ((s->tsr_retry > 0) && (s->tsr_retry <= MAX_XMIT_RETRY)) {
+             s->tsr_retry++;
+             qemu_mod_timer(s->transmit_timer,  new_xmit_ts + s->char_transmit_time);
+             return;
diff --git a/0711-scsi-fix-segfault-with-0-byte-disk.patch b/0711-scsi-fix-segfault-with-0-byte-disk.patch
new file mode 100644
index 0000000..b2d5fbc
--- /dev/null
+++ b/0711-scsi-fix-segfault-with-0-byte-disk.patch
@@ -0,0 +1,37 @@
+From ca525ebda9b0869bddd602c7ac2884ef5cf96507 Mon Sep 17 00:00:00 2001
+From: Paolo Bonzini <pbonzini at redhat.com>
+Date: Thu, 10 Jan 2013 15:08:05 +0100
+Subject: [PATCH] scsi: fix segfault with 0-byte disk
+
+When a 0-sized disk is found, READ CAPACITY will return a
+LUN NOT READY error.  However, because it returns -1 instead
+of zero, the HBA will call scsi_req_continue.  This will
+typically cause a segmentation fault or an assertion failure.
+
+Signed-off-by: Paolo Bonzini <pbonzini at redhat.com>
+---
+ hw/scsi-disk.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
+index 7ed1bde..fbca538 100644
+--- a/hw/scsi-disk.c
++++ b/hw/scsi-disk.c
+@@ -1683,7 +1683,7 @@ static int32_t scsi_disk_emulate_command(SCSIRequest *req, uint8_t *buf)
+         bdrv_get_geometry(s->qdev.conf.bs, &nb_sectors);
+         if (!nb_sectors) {
+             scsi_check_condition(r, SENSE_CODE(LUN_NOT_READY));
+-            return -1;
++            return 0;
+         }
+         if ((req->cmd.buf[8] & 1) == 0 && req->cmd.lba) {
+             goto illegal_request;
+@@ -1750,7 +1750,7 @@ static int32_t scsi_disk_emulate_command(SCSIRequest *req, uint8_t *buf)
+             bdrv_get_geometry(s->qdev.conf.bs, &nb_sectors);
+             if (!nb_sectors) {
+                 scsi_check_condition(r, SENSE_CODE(LUN_NOT_READY));
+-                return -1;
++                return 0;
+             }
+             if ((req->cmd.buf[14] & 1) == 0 && req->cmd.lba) {
+                 goto illegal_request;
diff --git a/qemu.spec b/qemu.spec
index 1428328..03f180d 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -109,7 +109,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 1.2.2
-Release: 5%{?dist}
+Release: 6%{?dist}
 # Epoch because we pushed a qemu-1.0 package. AIUI this can't ever be dropped
 Epoch: 2
 License: GPLv2+ and LGPLv2+ and BSD
@@ -148,6 +148,8 @@ Source9: ksmtuned.conf
 Source10: qemu-guest-agent.service
 Source11: 99-qemu-guest-agent.rules
 Source12: bridge.conf
+
+
 # Stable 1.2.1 patches
 Patch0001: 0001-target-xtensa-convert-host-errno-values-to-guest.patch
 Patch0002: 0002-target-cris-Fix-buffer-overflow.patch
@@ -453,7 +455,7 @@ Patch0412: 0412-usb-redir-Add-flow-control-support.patch
 Patch0413: 0413-virtio-serial-bus-replay-guest_open-on-migration.patch
 Patch0414: 0414-char-Disable-write-callback-if-throttled-chardev-is-.patch
 
-# spice seamless migration & dynamic monitors from upstream master
+# spice seamless migration, dynamic monitors, spice/qxl bug fixes
 Patch0501: 0501-qxl-disallow-unknown-revisions.patch
 Patch0502: 0502-spice-make-number-of-surfaces-runtime-configurable.patch
 Patch0503: 0503-qxl-Add-set_client_capabilities-interface-to-QXLInte.patch
@@ -467,7 +469,7 @@ Patch0510: 0510-qxl-add-trace-event-for-QXL_IO_LOG.patch
 Patch0511: 0511-hw-qxl-support-client-monitor-configuration-via-devi.patch
 Patch0512: 0512-qxl-update_area_io-cleanup-invalid-parameters-handli.patch
 Patch0513: 0513-qxl-fix-range-check-for-rev3-io-commands.patch
-Patch0514: 0514-qxl-vnc-register-a-vm-state-handler-for-dummy-spice_.patch
+Patch0514: 0514-qxl-vnc-register-a-vm-state-change-handler-for-dummy.patch
 Patch0515: 0515-hw-qxl-exit-on-failure-to-register-qxl-interface.patch
 Patch0516: 0516-hw-qxl-fix-condition-for-exiting-guest_bug.patch
 Patch0517: 0517-hw-qxl-qxl_send_events-nop-if-stopped.patch
@@ -513,25 +515,25 @@ Patch0633: 0633-usb-redir-Adjust-pkg-config-check-for-usbredirparser.patch
 Patch0634: 0634-usb-redir-Change-usbredir_open_chardev-into-usbredir.patch
 Patch0635: 0635-usb-redir-Don-t-make-migration-fail-in-none-seamless.patch
 
-# misc bug fixes
 # Non upstream build fix, http://www.spinics.net/lists/kvm/msg80589.html
 Patch0701: 0701-mips-Fix-link-error-with-piix4_pm_init.patch
 # Add ./configure --disable-kvm-options
-# keep: Carrying locally until qemu-kvm is fully merged into qemu.git
 Patch0702: 0702-configure-Add-disable-kvm-options.patch
 # Fix loading arm initrd if kernel is very large (bz 862766)
 Patch0703: 0703-arm_boot-Change-initrd-load-address-to-halfway-throu.patch
-# Don't use reserved word 'function' in systemtap files (bz 870972)
-Patch0704: 0704-dtrace-backend-add-function-to-reserved-words.patch
 # libcacard build fixes
-Patch0706: 0706-libcacard-fix-missing-symbols-in-libcacard.so.patch
-Patch0707: 0707-configure-move-vscclient-binary-under-libcacard.patch
+Patch0704: 0704-dtrace-backend-add-function-to-reserved-words.patch
+Patch0705: 0705-libcacard-fix-missing-symbols-in-libcacard.so.patch
+Patch0706: 0706-configure-move-vscclient-binary-under-libcacard.patch
 # Fix libvirt + seccomp combo (bz 855162)
-Patch0708: 0708-seccomp-adding-new-syscalls-bugzilla-855162.patch
+Patch0707: 0707-libcacard-fix-missing-symbol-in-libcacard.so.patch
 # CVE-2012-6075: Buffer overflow in e1000 nic (bz 889301, bz 889304)
-Patch709: 0709-e1000-Discard-oversized-packets-based-on-SBP-LPE.patch
-
-Patch710: 0710-libcacard-fix-missing-symbols-in-libcacard.so.patch
+Patch0708: 0708-seccomp-adding-new-syscalls-bugzilla-855162.patch
+# Fix boot hang if console is not connected (bz 894451)
+Patch0709: 0709-e1000-Discard-oversized-packets-based-on-SBP-LPE.patch
+# Fix segfault with zero length virtio-scsi disk (bz 847549)
+Patch0710: 0710-Revert-serial-fix-retry-logic.patch
+Patch0711: 0711-scsi-fix-segfault-with-0-byte-disk.patch
 
 
 BuildRequires: SDL-devel
@@ -1272,7 +1274,7 @@ CAC emulation development files.
 %patch0413 -p1
 %patch0414 -p1
 
-# spice seamless migration & dynamic monitors from upstream master
+# spice seamless migration, dynamic monitors, spice/qxl bug fixes
 %patch0501 -p1
 %patch0502 -p1
 %patch0503 -p1
@@ -1332,16 +1334,25 @@ CAC emulation development files.
 %patch0634 -p1
 %patch0635 -p1
 
-# misc bug fixes
+# Non upstream build fix, http://www.spinics.net/lists/kvm/msg80589.html
 %patch0701 -p1
+# Add ./configure --disable-kvm-options
 %patch0702 -p1
+# Fix loading arm initrd if kernel is very large (bz 862766)
 %patch0703 -p1
+# libcacard build fixes
 %patch0704 -p1
+%patch0705 -p1
 %patch0706 -p1
+# Fix libvirt + seccomp combo (bz 855162)
 %patch0707 -p1
+# CVE-2012-6075: Buffer overflow in e1000 nic (bz 889301, bz 889304)
 %patch0708 -p1
-%patch709 -p1
-%patch710 -p1
+# Fix boot hang if console is not connected (bz 894451)
+%patch0709 -p1
+# Fix segfault with zero length virtio-scsi disk (bz 847549)
+%patch0710 -p1
+%patch0711 -p1
 
 
 %build
@@ -1951,6 +1962,10 @@ getent passwd qemu >/dev/null || \
 %{_libdir}/pkgconfig/libcacard.pc
 
 %changelog
+* Sat Feb 02 2013 Cole Robinson <crobinso at redhat.com> - 2:1.2.2-6
+- Fix boot hang if console is not connected (bz #894451)
+- Fix segfault with zero length virtio-scsi disk (bz #847549)
+
 * Wed Jan 23 2013 Alon Levy <alevy at redhat.com> - 2:1.2.2-5
 - Add fix for missing error_set in libcacard.so picked from upstream.
 


More information about the scm-commits mailing list