QEMU is a FAST! processor emulator
CentOS Buildsys
2014-04-02 0a122ba0d8b6a351ce736ca3a2a168cc00642828
import qemu-kvm-1.5.3-60.el7.src.rpm
592 files added
6 files modified
319723 ■■■■■ changed files
.qemu-kvm.metadata 2 ●●●●● patch | view | raw | blame | history
SOURCES/README.rhel6-gpxe-source 9 ●●●●● patch | view | raw | blame | history
SOURCES/change-path-from-qemu-to-qemu-kvm.patch 2 ●●●●● patch | view | raw | blame | history
SOURCES/ksm.service 4 ●●●● patch | view | raw | blame | history
SOURCES/ksmtuned 9 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Add-back-no-hpet-but-ignore-it.patch 69 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Add-check-for-cache-size-smaller-than-page-size.patch 79 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Add-support-statement-to-help-output.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Documentation-qemu-img-Mention-SIGUSR1-progress-repo.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Don-t-abort-on-memory-allocation-error.patch 111 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Don-t-abort-on-out-of-memory-when-creating-page-cach.patch 97 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Fix-two-XBZRLE-corruption-issues.patch 200 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Fix-uninitialized-cpuid_data.patch 111 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-HMP-Disable-drive_add-for-Red-Hat-Enterprise-Linux.patch 54 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-HMP-Forward-port-__com.redhat_drive_add-from-RHEL-6.patch 110 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Partially-revert-rhel-Drop-cfi.pflash01-and-isa-ide-.patch 43 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-QEMUBH-make-AioContext-s-bh-re-entrant.patch 188 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-QMP-Document-throttling-parameters-of-__com.redhat_d.patch 56 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-QMP-Forward-port-__com.redhat_drive_add-from-RHEL-6.patch 203 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-QMP-Forward-port-__com.redhat_drive_del-from-RHEL-6.patch 88 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-QMP-Relax-__com.redhat_drive_add-parameter-checking.patch 85 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Query-KVM-for-available-memory-slots.patch 142 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Revert-HMP-Disable-drive_add-for-Red-Hat-Enterprise-2.patch.patch 37 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Revert-pc-Disable-the-use-flash-device-for-BIOS-unle.patch 125 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Revert-qdev-Do-not-let-the-user-try-to-device_add-wh.patch 54 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Revert-qdev-monitor-Fix-crash-when-device_add-is-cal.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Revert-usb-tablet-Don-t-claim-wakeup-capability-for-.patch 47 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-Set-xbzrle-buffers-to-NULL-after-freeing-them-to-avo.patch 45 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-The-calculation-of-bytes_xfer-in-qemu_put_buffer-is-.patch 47 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-XBZRLE-cache-size-should-not-be-larger-than-guest-me.patch 48 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-__com.redhat_qxl_screendump-add-docs.patch 100 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-Fix-PCI-hole-handling-on-build_srat.patch 68 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-add-interface-to-access-user-installed-tables.patch 102 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-add-rules-to-compile-ASL-source.patch 141 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-build-Fix-compiler-warning-missing-gnu_printf-f.patch 81 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-build-disable-with-no-acpi.patch 60 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-build-fix-build-on-glib-2.14.patch 95 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-build-fix-build-on-glib-2.22.patch 66 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-build-fix-support-for-glib-2.22.patch 66 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-piix-add-macros-for-acpi-property-names.patch 78 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-pre-compiled-ASL-files.patch 12469 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-acpi-ssdt-pcihp-updat-generated-file.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-add-a-header-file-for-atomic-operations.patch 745 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-add-firmware-to-machine-options.patch 65 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-add-kvm_readonly_mem_enabled.patch 109 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-add-support-for-hyper-v-timers.patch 220 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-all-exit-in-case-max-vcpus-exceeded.patch 46 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-arch_init-align-MR-size-to-target-page-size.patch 57 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-arch_init-make-is_zero_page-accept-size.patch 80 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-arch_init-right-return-for-ram_save_iterate.patch 77 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-audio-Lower-default-wakeup-rate-to-100-times-second.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-audio-adjust-pulse-to-100Hz-wakeup-rate.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-audio-honor-QEMU_AUDIO_TIMER_PERIOD-instead-of-wakin.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-avoid-a-bogus-COMPLETED-CANCELLED-transition.patch 58 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-bitmap-Add-bitmap_zero_extend-operation.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-bitmap-use-long-as-index.patch 468 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-blkdebug-Don-t-leak-bs-file-on-failure.patch 90 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-blkdebug-Make-required-alignment-configurable.patch 79 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Add-commit_active_start.patch 197 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Align-requests-in-bdrv_co_do_pwritev.patch 143 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Allow-wait_serialising_requests-at-any-point.patch 76 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Allow-waiting-for-overlapping-requests-between.patch 174 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Assert-serialisation-assumptions-in-pwritev.patch 110 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Avoid-unecessary-drv-bdrv_getlength-calls.patch 166 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Change-coroutine-wrapper-to-byte-granularity.patch 148 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Detect-unaligned-length-in-bdrv_qiov_is_aligne.patch 47 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Don-t-call-ROUND_UP-with-negative-values.patch 46 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Don-t-use-guest-sector-size-for-qemu_blockalig.patch 148 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Dont-ignore-previously-set-bdrv_flags.patch 55 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Fix-32-bit-truncation-in-mark_request_serialis.patch 51 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Fix-bdrv_commit-return-value.patch 86 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Fix-bs-request_alignment-assertion-for-bs-sg-1.patch 47 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Generalise-and-optimise-COR-serialisation.patch 190 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Image-file-option-amendment.patch 230 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Inherit-opt_transfer_length.patch 69 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Introduce-bdrv_aligned_preadv.patch 131 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Introduce-bdrv_aligned_pwritev.patch 126 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Introduce-bdrv_co_do_preadv.patch 128 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Introduce-bdrv_co_do_pwritev.patch 86 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Limit-request-size-CVE-2014-0143.patch 45 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Make-BlockJobTypes-const.patch 74 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Make-bdrv_pread-a-bdrv_prwv_co-wrapper.patch 98 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Make-bdrv_pwrite-a-bdrv_prwv_co-wrapper.patch 141 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Make-overlap-range-for-serialisation-dynamic.patch 174 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Make-zero-after-EOF-work-with-larger-alignment.patch 65 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Move-initialisation-of-BlockLimits-to-bdrv_ref.patch 294 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Round-up-total_sectors.patch 56 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Set-block-filename-sizes-to-PATH_MAX-instead-o.patch 155 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Switch-BdrvTrackedRequest-to-byte-granularity.patch 163 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Update-BlockLimits-when-they-might-have-change.patch 101 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-Update-image-size-in-bdrv_invalidate_cache.patch 98 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-add-.bdrv_reopen_prepare-stub-for-iscsi.patch 66 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-add-BlockLimits-structure-to-BlockDriverState.patch.patch.patch 72 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-add-bdrv_aio_write_zeroes.patch.patch.patch 87 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-add-flags-argument-to-bdrv_co_write_zeroes-tra.patch.patch.patch 62 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-add-flags-to-BlockRequest.patch.patch.patch 122 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-add-flags-to-bdrv_-_write_zeroes.patch.patch.patch 256 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-add-logical-block-provisioning-info-to-BlockDr.patch.patch.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-add-opt_transfer_length-to-BlockLimits.patch.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-add-wrappers-for-logical-block-provisioning-in.patch.patch.patch 97 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-bdrv_aligned_pwritev-Assert-overlap-range.patch 46 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-bs-drv-may-be-NULL-in-bdrv_debug_resume.patch 53 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-change-default-of-.has_zero_init-to-0.patch.patch 295 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-cloop-prevent-offsets_size-integer-overflow-CV.patch 112 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-cloop-refuse-images-with-bogus-offsets-CVE-201.patch 133 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-cloop-refuse-images-with-huge-offsets-arrays-C.patch 88 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-cloop-validate-block_size-header-field-CVE-201.patch 135 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-drive-mirror-Check-for-NULL-backing_hd.patch 68 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-drive-mirror-Reuse-backing-HD-for-sync-none.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-drivers-add-discard-write_zeroes-properties-to.patch.patch.patch 106 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-drivers-expose-requirement-for-write-same-alig.patch.patch.patch 83 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-ensure-bdrv_drain_all-works-during-bdrv_delete.patch 54 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-fix-backing-file-segfault.patch 82 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-generalize-BlockLimits-handling-to-cover-bdrv_.patch.patch.patch 147 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-get_block_status-fix-BDRV_BLOCK_ZERO-for-unall.patch.patch.patch 57 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-gluster-add-reopen-support.patch 195 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-gluster-code-movements-state-storage-changes.patch 104 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-handle-ENOTSUP-from-discard-in-generic-code.patch.patch.patch 91 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-honour-BlockLimits-in-bdrv_co_discard.patch.patch.patch 90 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-honour-BlockLimits-in-bdrv_co_do_write_zeroes.patch.patch.patch 121 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-implement-reference-count-for-BlockDriverState.patch 116 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-introduce-BDRV_REQ_MAY_UNMAP-request-flag.patch.patch.patch 89 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-introduce-bdrv_make_zero.patch.patch.patch 103 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-iscsi-add-.bdrv_get_info.patch.patch 61 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-iscsi-check-WRITE-SAME-support-differently-dep.patch.patch.patch 89 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-iscsi-remove-.bdrv_has_zero_init.patch.patch.patch 62 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-iscsi-set-bdi-cluster_size.patch.patch 57 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-iscsi-set-bs-bl.opt_transfer_length.patch.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-iscsi-updated-copyright.patch.patch.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-make-BdrvRequestFlags-public.patch.patch.patch 69 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-make-bdrv_co_do_write_zeroes-stricter-in-produ.patch.patch.patch 100 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-make-bdrv_delete-static.patch 665 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-qemu-iotests-add-quotes-to-TEST_IMG-usage-in-0.patch 54 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-qemu-iotests-add-quotes-to-TEST_IMG-usage-io-p.patch 79 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-qemu-iotests-add-quotes-to-TEST_IMG.base-usage.patch 46 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-qemu-iotests-fix-_make_test_img-to-work-with-s.patch 72 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-qemu-iotests-for-vhdx-add-write-test-support.patch 104 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-qemu-iotests-for-vhdx-read-sample-dynamic-imag.patch 208 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-qemu-iotests-removes-duplicate-double-quotes-i.patch 45 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-raw-copy-BlockLimits-on-raw_open.patch.patch.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-remove-QED-.bdrv_make_empty-implementation.patch 61 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-remove-qcow2-.bdrv_make_empty-implementation.patch 75 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-rename-buffer_alignment-to-guest_block_size.patch 178 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-resize-backing-file-image-during-offline-commi.patch 90 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-resize-backing-image-during-active-layer-commi.patch 96 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-stream-Don-t-stream-unbacked-devices.patch 55 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-update-block-commit-documentation-regarding-im.patch 156 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-use-BDS-ref-for-block-jobs.patch 154 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-use-DIV_ROUND_UP-in-bdrv_co_do_readv.patch 44 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-use-correct-filename-for-error-report.patch 58 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vdi-bounds-check-qemu-io-tests.patch 218 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-add-.bdrv_create-support.patch 739 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-add-header-update-capability.patch 392 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-add-log-write-support.patch 360 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-add-region-overlap-detection-for-image-fi.patch 215 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-break-endian-translation-functions-out.patch 273 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-break-out-code-operations-to-functions.patch 220 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-code-movement-VHDXMetadataEntries-and-BDR.patch 163 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-code-movement-move-vhdx_close-above-vhdx_.patch 69 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-fix-comment-typos-in-header-fix-incorrect.patch 79 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-improve-error-message-and-.bdrv_check-imp.patch 174 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-log-parsing-replay-and-flush-support.patch 959 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-log-support-struct-and-defines.patch 169 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-minor-comments-and-typo-correction.patch 91 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-move-more-endian-translations-to-vhdx-end.patch 191 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-qemu-iotest-log-replay-of-data-sector.patch 150 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-remove-BAT-file-offset-bit-shifting.patch 84 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-update-_make_test_img-to-filter-out-vhdx-.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-update-log-guid-in-header-and-first-write.patch 146 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-vhdx-write-support.patch 301 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-block-write-Handle-COR-dependency-after-I-O-throttli.patch 60 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-blockdev-fix-drive_init-opts-and-bs_opts-leaks.patch 153 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-blockdev-test-add-test-case-for-drive_add-duplicate-.patch 137 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-blockdev-use-bdrv_getlength-in-qmp_drive_mirror.patch 69 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-blockjob-rename-BlockJobType-to-BlockJobDriver.patch 244 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-bochs-Check-catalog_size-header-field-CVE-2014-0143.patch 115 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-bochs-Check-extent_size-header-field-CVE-2014-0142.patch 98 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-bochs-Fix-bitmap-offset-calculation.patch 44 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-bochs-Unify-header-structs-and-make-them-QEMU_PACKED.patch 146 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-bochs-Use-unsigned-variables-for-offsets-and-sizes-C.patch 111 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-cleanup-object.h-include-error.h-directly.patch 52 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-cleanup-trace-events.pl-New.patch 96 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-commit-Remove-unused-check.patch 53 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-commit-Support-commit-active-layer.patch 113 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-configure-Fix-bugs-preventing-Ceph-inclusion.patch 59 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-configure-add-option-to-disable-fstack-protect.patch 126 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-configure-make-iasl-option-actually-work.patch 60 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-curl-check-data-size-before-memcpy-to-local-buffer.-.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-dataplane-Fix-startup-race.patch 101 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-dmg-coding-style-and-indentation-cleanup.patch 336 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-dmg-drop-broken-bdrv_pread-loop.patch 71 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-dmg-prevent-chunk-buffer-overflow-CVE-2014-0145.patch 105 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-dmg-prevent-out-of-bounds-array-access-on-terminator.patch 48 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-dmg-sanitize-chunk-length-and-sectorcount-CVE-2014-0.patch 82 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-dmg-use-appropriate-types-when-reading-chunks.patch 56 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-dmg-use-uint64_t-consistently-for-sectors-and-length.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-doc-fix-hardcoded-helper-path.patch 74 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-docs-qcow2-compat-1.1-is-now-the-default.patch 81 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-docs-updated-qemu-img-man-page-and-qemu-doc-to-refle.patch 86 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-ehci-implement-port-wakeup.patch 103 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-enable-pvticketlocks-by-default.patch 95 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-error-reason-in-BLOCK_IO_ERROR-BLOCK_JOB_ERROR-event.patch 215 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-exec-Fix-prototype-of-phys_mem_set_alloc-and-related.patch 122 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-exec-Remove-unused-global-variable-phys_ram_fd.patch 66 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-exec-always-use-MADV_DONTFORK.patch 58 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-exec-change-well-known-physical-sections-to-macros.patch 167 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-exec-create-function-to-get-a-single-dirty-bit.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-exec-drop-useless-if.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-exec-separate-sections-and-nodes-per-address-space.patch 507 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-exec-use-accessor-function-to-know-if-memory-is-dirt.patch 59 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-fix-boot-strict-regressed-in-commit-6ef4716.patch 55 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-fix-coexistence-of-KVM-and-Hyper-V-leaves.patch 114 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-fix-double-free-the-memslot-in-kvm_set_phys_mem.patch 56 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-fix-guest-physical-bits-to-match-host-to-go-beyond-1.patch 62 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-fix-intel-hda-live-migration.patch 48 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-fix-machine-check-propagation.patch 75 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-fw_cfg-interface-to-trigger-callback-on-read.patch 146 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-fw_cfg-move-typedef-to-qemu-typedefs.h.patch 81 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-hda-codec-disable-streams-on-reset.patch 77 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-help-add-id-suboption-to-iscsi.patch 47 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-hpet-add-API-to-find-it.patch 67 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-hpet-fix-build-with-CONFIG_HPET-off.patch 83 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-hw-cannot_instantiate_with_device_add_yet-due-to-poi.patch 221 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-hw-i386-Makefile.obj-use-PYTHON-to-run-.py-scripts-c.patch 38 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-hw-i386-pc_sysfw-support-two-flash-drives.patch 192 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-i386-ACPI-table-generation-code-from-seabios.patch 1823 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-i386-add-ACPI-table-files-from-seabios.patch 2058 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-i386-add-bios-linker-loader.patch 259 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-i386-define-pc-guest-info.patch 103 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-i440fx-test-generate-temporary-firmware-blob.patch 120 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-i440fx-test-give-each-GTest-case-its-own-qtest.patch 135 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-i440fx-test-qtest_start-should-be-paired-with-qtest_.patch 79 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-i440fx-test-verify-firmware-under-4G-and-1M-both-bio.patch 151 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-ich9-APIs-for-pc-guest-info.patch 211 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-improve-debuggability-of-BLOCK_IO_ERROR-BLOCK_JOB_ER.patch 140 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-intel-hda-fix-position-buffer.patch 51 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-introduce-MIG_STATE_CANCELLING-state.patch 115 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-introduce-RFQDN_REDHAT-RHEL-6-7-fwd.patch 51 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-iotests-Test-corruption-during-COW-request.patch 108 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-isapc-Fix-non-KVM-qemu-boot-read-write-memory-for-is.patch 135 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-iscsi-Set-bs-request_alignment.patch 47 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-iscsi-Use-bs-sg-for-everything-else-than-disks.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-iscsi-add-.bdrv_get_block_status.patch.patch.patch 205 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-iscsi-add-bdrv_co_write_zeroes.patch.patch.patch 130 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-iscsi-add-logical-block-provisioning-information-to-.patch.patch 144 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-iscsi-factor-out-sector-conversions.patch.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-iscsi-set-limits-in-BlockDriverState.patch.patch.patch 60 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-iscsi-simplify-iscsi_co_discard.patch.patch.patch 137 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-iscsi-split-discard-requests-in-multiple-parts.patch.patch.patch 234 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-json-parser-fix-handling-of-large-whole-number-value.patch 82 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-libqtest-add-qmp-fmt-.-QDict-function.patch 218 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-libqtest-rename-qmp-to-qmp_discard_response.patch 204 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-loader-allow-adding-ROMs-in-done-callbacks.patch 87 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-loader-rename-in_ram-has_mr.patch 97 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-loader-store-FW-CFG-ROM-files-in-RAM.patch 221 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-loader-support-for-unmapped-ROM-blobs.patch 128 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-loader-use-file-path-size-from-fw_cfg.h.patch 74 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-lock-Fix-memory-leaks-in-bdrv_co_do_pwritev.patch 48 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-make-availability-of-Hyper-V-enlightenments-depe.patch 101 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-make-hyperv-hypercall-and-guest-os-id-MSRs-migra.patch 135 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-make-hyperv-vapic-assist-page-migratable.patch 121 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-Rename-readable-flag-to-romd_mode.patch 252 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-Replace-open-coded-memory_region_is_romd.patch 48 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-all-users-of-cpu_physical_memory_get_dirty-us.patch 67 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-cpu_physical_memory_clear_dirty_flag-result-i.patch 52 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-cpu_physical_memory_clear_dirty_range-now-use.patch 56 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-cpu_physical_memory_get_dirty-is-used-as-retu.patch 66 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-cpu_physical_memory_mask_dirty_range-always-c.patch 281 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-cpu_physical_memory_set_dirty_flags-result-is.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-cpu_physical_memory_set_dirty_range-always-di.patch 100 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-cpu_physical_memory_set_dirty_range-now-uses-.patch 67 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-cpu_physical_memory_set_dirty_range-return-vo.patch 44 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-cpu_physical_memory_set_dirty_tracking-should.patch 75 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-create-function-to-set-a-single-dirty-bit.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-make-cpu_physical_memory_get_dirty-the-main-f.patch 91 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-make-cpu_physical_memory_is_dirty-return-bool.patch 80 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-make-cpu_physical_memory_reset_dirty-take-a-l.patch 154 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-make-sure-that-client-is-always-inside-range.patch 60 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-move-bitmap-synchronization-to-its-own-functi.patch 129 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-move-private-types-to-exec.c.patch 89 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-only-resize-dirty-bitmap-when-memory-size-inc.patch 62 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-s-dirty-clean-in-cpu_physical_memory_is_dirty.patch 134 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-s-mask-clear-cpu_physical_memory_mask_dirty_r.patch 65 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-set-single-dirty-flags-when-possible.patch 73 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-split-cpu_physical_memory_-functions-to-its-o.patch 304 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-split-dirty-bitmap-into-three.patch 169 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-syncronize-kvm-bitmap-using-bitmaps-operation.patch 103 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-unfold-cpu_physical_memory_clear_dirty_flag-i.patch 62 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-unfold-cpu_physical_memory_set_dirty-in-its-o.patch 60 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-unfold-cpu_physical_memory_set_dirty_flag.patch 51 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-unfold-memory_region_test_and_clear.patch 60 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-use-bit-2-for-migration.patch 48 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-memory-use-find_next_bit-to-find-dirty-bits.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-mempath-prefault-fix-off-by-one-error.patch 43 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-mempath-prefault-pages-manually-v4.patch 170 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-migration-Fail-migration-on-bdrv_flush_all-error.patch 92 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-migration-Fix-debug-print-type.patch 58 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-migration-Fix-rate-limit.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-migration-fix-free-XBZRLE-decoded_buf-wrong.patch 140 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-migration-fix-spice-migration.patch 114 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-migration-omit-drive-ref-as-we-have-bdrv_ref-now.patch 56 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-migration-ram_handle_compressed.patch 68 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-migration-synchronize-memory-bitmap-64bits-at-a-time.patch 88 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-milkymist-minimac2-Fix-minimac2_read-_write-tracepoi.patch 51 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-mirror-Don-t-close-target.patch 45 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-mirror-Move-base-to-MirrorBlockJob.patch 85 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-misc-Disable-EFI-enabled-roms.patch 2 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-monitor-Cleanup-mon-outbuf-on-write-error.patch 57 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-nbd-use-BlockDriverState-refcnt.patch 89 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-net-Update-netdev-peer-on-link-change.patch 89 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-option-Add-assigned-flag-to-QEMUOptionParameter.patch 92 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-parallels-Fix-catalog-size-integer-overflow-CVE-2014.patch 206 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-parallels-Sanity-check-for-s-tracks-CVE-2014-0142.patch 96 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-Add-RHEL6-e1000-gPXE-image.patch 55 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-Create-pc_compat_rhel-functions.patch 195 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-Disable-RDTSCP-on-AMD-CPU-models.patch 103 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-Disable-RDTSCP-unconditionally-on-rhel6.-machine-.patch 71 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-Enable-x2apic-by-default-on-more-recent-CPU-model.patch 118 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-Fix-rhel6.-3dnow-3dnowext-compat-bits.patch 61 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-Save-size-of-RAM-below-4GB.patch 65 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-Use-cpu64-rhel6-CPU-model-by-default-on-rhel6-mac.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-add-I440FX-QOM-cast-macro.patch 73 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-avoid-duplicate-names-for-ROM-MRs.patch 132 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-disable-pci-info.patch 77 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-don-t-access-fw-cfg-if-NULL.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-drop-virtio-balloon-pci-event_idx-compat-property.patch 72 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-fix-regression-for-64-bit-PCI-memory.patch 140 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-limit-64-bit-hole-to-2G-by-default.patch 555 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-move-IO_APIC_DEFAULT_ADDRESS-to-include-hw-i386-i.patch 69 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-pass-PCI-hole-ranges-to-Guests.patch 234 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-replace-i440fx_common_init-with-i440fx_init.patch 118 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc-use-new-api-to-add-builtin-tables.patch 47 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc_piix-document-gigabyte_align.patch 64 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc_sysfw-allow-flash-pflash-memory-to-be-used-with-K.patch 111 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc_sysfw-do-not-make-it-a-device-anymore.patch 613 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pc_sysfw-remove-the-rom_only-property.patch 167 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pci-add-helper-to-retrieve-the-64-bit-range.patch 109 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pci-assign-cap-number-of-devices-that-can-be-assigne.patch 95 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pci-fix-pci-bridge-fw-path.patch 52 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pci-fix-up-w64-size-calculation-helper.patch 78 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pci-store-PCI-hole-ranges-in-guestinfo-structure.patch 292 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pcie_host-expose-UNMAPPED-macro.patch 67 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pcie_host-expose-address-format.patch 102 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-piix-APIs-for-pc-guest-info.patch 185 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-piix-fix-32bit-pci-hole.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-piix-gigabyte-alignment-for-ram.patch 74 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-piix-use-64-bit-window-programmed-by-guest.patch 67 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-pvpanic-add-API-to-access-io-port.patch 88 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-q35-expose-mmcfg-size-as-a-property.patch 83 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-q35-gigabyle-alignment-for-ram.patch 61 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-q35-make-pci-window-address-size-match-guest-cfg.patch 58 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-q35-use-64-bit-window-programmed-by-guest.patch 67 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-q35-use-macro-for-MCFG-property-name.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-Add-backing-to-BlockStats.patch 84 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-Introduce-enum-BlockJobType.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-add-QMP-input-test-for-large-integers.patch 84 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-add-native-list-coverage-for-QMP-input-visitor-.patch 404 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-add-native-list-coverage-for-QMP-output-visitor.patch 419 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-add-native-list-coverage-for-visitor-serializat.patch 551 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-fix-visitor-serialization-tests-for-numbers-dou.patch 101 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-lack-of-two-commas-in-dict.patch 57 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-make-use-of-new-BlockJobType.patch 122 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-make-visit_type_size-fallback-to-type_int.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi-schema-Update-description-for-NewImageMode.patch 54 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi.py-Decent-syntax-error-reporting.patch 128 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi.py-Fix-diagnosing-non-objects-at-a-schema-s-top.patch 99 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi.py-Fix-schema-parser-to-check-syntax-systematic.patch 267 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi.py-Permit-comments-starting-anywhere-on-the-lin.patch 100 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi.py-Reject-invalid-characters-in-schema-file.patch 128 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi.py-Rename-expr_eval-to-expr-in-parse_schema.patch 65 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qapi.py-Restructure-lexer-and-parser.patch 333 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Add-missing-space-in-error-message.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Avoid-integer-overflow-in-get_refcount-CVE-201.patch 41 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Change-default-for-new-images-to-compat-1.1.patch 56 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Check-backing_file_offset-CVE-2014-0144.patch 95 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Check-bs-drv-in-copy_sectors.patch 53 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Check-header_length-CVE-2014-0144.patch 197 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Check-maximum-L1-size-in-qcow2_snapshot_load_t.patch 137 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Check-new-refcount-table-size-on-growth.patch 92 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Check-refcount-table-size-CVE-2014-0144.patch 116 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Correct-bitmap-size-in-zero-expansion.patch 127 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Don-t-rely-on-free_cluster_index-in-alloc_refc.patch 284 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Fix-L1-allocation-size-in-qcow2_snapshot_load_.patch 101 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Fix-NULL-dereference-in-qcow2_open-error-path-.patch 91 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Fix-backing-file-name-length-check.patch 101 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Fix-copy_sectors-with-VM-state.patch 130 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Fix-new-L1-table-size-check-CVE-2014-0143.patch 41 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Fix-types-in-qcow2_alloc_clusters-and-alloc_cl.patch 94 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Free-only-newly-allocated-clusters-on-error.patch 84 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Implement-bdrv_amend_options.patch 252 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Keep-option-in-qcow2_invalidate_cache.patch 56 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Limit-snapshot-table-size.patch 85 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Protect-against-some-integer-overflows-in-bdrv.patch 74 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Save-refcount-order-in-BDRVQcowState.patch 73 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Validate-active-L1-table-offset-and-size-CVE-2.patch 120 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Validate-refcount-table-offset.patch 135 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Validate-snapshot-table-offset-size-CVE-2014-0.patch 230 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-Zero-initialise-first-cluster-for-new-images.patch 107 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-cache-Empty-cache.patch 80 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-change-default-for-new-images-to-compat-1.1-pa.patch 53 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-check-for-NULL-l2meta.patch 111 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-cluster-Expand-zero-clusters.patch 391 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-fix-dangling-refcount-table-entry.patch 64 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-fix-offset-overflow-in-qcow2_alloc_clusters_at.patch 71 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-link-all-L2-meta-updates-in-preallocate.patch 69 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-refcount-Snapshot-update-for-zero-clusters.patch 120 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2-remove-n_start-and-n_end-of-qcow2_alloc_cluste.patch 166 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qcow2.py-Subcommand-for-changing-header-fields.patch 69 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-Add-SIZE-type-to-qdev-properties.patch 163 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-Do-not-let-the-user-try-to-device_add-when-it.2.patch.patch 61 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-Document-that-pointer-properties-kill-device_ad.patch 65 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-Drop-misleading-qdev_free-function.patch 339 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-Fix-32-bit-compilation-in-print_size.patch 47 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-Use-clz-in-print_size.patch 69 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-Avoid-device_add-crashing-on-non-device.patch 57 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-Avoid-qdev-as-variable-name.patch 107 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-Clean-up-qdev_device_add-variable-namin.patch 101 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-Fix-crash-when-device_add-is-called-wit.patch 71 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-Fix-crash-when-device_add-is-called.2.patch.patch 64 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-Improve-error-message-for-device-nonexi.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-Inline-qdev_init-for-device_add.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-Set-properties-after-parent-is-assigned.patch 91 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-Unref-device-when-device_add-fails.patch 61 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-set-DeviceState-opts-before-calling-rea.patch 62 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qdev-monitor-test-add-device_add-leak-test-cases.patch 154 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-Allow-o-help-with-incomplete-argument-list.patch 160 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-add-support-for-fully-allocated-images.patch.patch.patch 81 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-add-support-for-skipping-zeroes-in-input-du.patch.patch 201 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-amend-Support-multiple-o-options.patch 78 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-conditionally-zero-out-target-on-convert.patch.patch.patch 69 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-convert-Fix-progress-output.patch 116 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-convert-Support-multiple-o-options.patch 115 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-create-Support-multiple-o-options.patch 105 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-decrease-progress-update-interval-on-conver.patch.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-dynamically-adjust-iobuffer-size-during-con.patch.patch 92 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-fix-usage-instruction-for-qemu-img-convert.patch.patch 48 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-img-round-down-request-length-to-an-aligned-sec.patch.patch 107 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-io-Let-open-pass-options-to-block-driver.patch 159 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-io-New-command-sleep.patch 104 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotest-qcow2-image-option-amendment.patch 593 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-033-is-fast.patch.patch 45 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Add-test-for-inactive-L2-overlap.patch 196 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Adjust-test-result-039.patch 68 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Check-qemu-img-command-line-parsing.patch 801 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Extend-041-for-unbacked-mirroring.patch 88 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Filter-out-qemu-io-prompt.patch 225458 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Fix-test-041.patch 102 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-New-test-case-in-061.patch 128 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Preallocated-zero-clusters-in-061.patch 78 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Remaining-error-propagation-adjustments.patch 100 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Snapshotting-zero-clusters.patch 143 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Support-for-bochs-format.patch 146 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Test-progress-output-for-conversion.patch 146 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Test-pwritev-RMW-logic.patch 636 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-Update-test-cases-for-commit-active.patch 162 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-add-.-check-cloop-support.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-add-cloop-input-validation-tests.patch 125 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-add-test-for-qcow2-preallocation-with-d.patch 161 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-make-assert_no_active_block_jobs-common.patch 536 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-iotests-prefill-some-data-to-test-image.patch 64 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-option-has_help_option-and-is_valid_option_list.patch 114 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-progress-Drop-unused-include.patch 43 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu-progress-Fix-progress-printing-on-SIGUSR1.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu_file-Fix-mismerge-of-use-fwrite-correctly.patch 58 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu_file-use-fwrite-correctly.patch 72 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qemu_memalign-Allow-small-alignments.patch 52 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qmp-access-the-local-QemuOptsLists-for-drive-option.patch 214 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qom-Fix-memory-leak-in-object_property_set_link.patch 59 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qom-add-pointer-to-int-property-helpers.patch 144 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qom-cleanup-struct-Error-references.patch 234 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qtest-Use-display-none-by-default.patch 181 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qxl-add-sanity-check.patch 55 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-qxl-replace-pipe-signaling-with-bottom-half.patch 108 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-ram-split-function-that-synchronizes-a-range.patch 98 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-range-add-Range-structure.patch 65 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-range-add-Range-to-typedefs.patch 66 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-range-add-min-max-operations-on-ranges.patch 60 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-raw-Fix-BlockLimits-passthrough.patch 75 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-raw-Probe-required-direct-I-O-alignment.patch 316 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-raw-posix-add-support-for-write_zeroes-on-XFS-and-bl.patch.patch 225 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-raw-posix-implement-write_zeroes-with-MAY_UNMAP-for-.patch.patch.patch.patch 180 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-raw-posix-implement-write_zeroes-with-MAY_UNMAP-for-.patch.patch.patch.patch.patch 98 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-IPv6-over-Ethernet-RoCE-is-broken-in-linux-work.patch 380 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-account-for-the-time-spent-in-MIG_STATE_SETUP-t.patch 158 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-add-documentation.patch 472 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-allow-state-transitions-between-other-states-be.patch 110 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-bugfix-make-IPv6-support-work.patch 143 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-bugfix-ram_control_save_page.patch 57 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-check-if-RDMAControlHeader-len-match-transferre.patch 169 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-clean-up-of-qemu_rdma_cleanup.patch 104 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-constify-ram_chunk_-index-start-end.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-core-logic.patch 3468 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-correct-newlines-in-error-statements.patch 338 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-don-t-use-negative-index-to-array.patch 96 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-export-throughput-w-MigrationStats-QMP.patch 138 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-export-yield_until_fd_readable.patch 139 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-forgot-to-turn-off-the-debugging-flag.patch 57 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-introduce-MIG_STATE_NONE-and-change-MIG_STATE_S.patch 140 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-introduce-capability-x-rdma-pin-all.patch 126 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-introduce-qemu_file_mode_is_not_valid.patch 106 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-introduce-qemu_ram_foreach_block.patch 85 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-introduce-qemu_update_position.patch 120 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-introduce-ram_handle_compressed.patch 111 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-memory-leak-RDMAContext-host.patch 59 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-new-QEMUFileOps-hooks.patch 220 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-proper-getaddrinfo-handling.patch 168 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-qemu_rdma_post_send_control-uses-wrongly-RDMA_W.patch 105 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-remaining-documentation-fixes.patch 94 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-send-pc.ram.patch 152 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-silly-ipv6-bugfix.patch 64 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-update-documentation-to-reflect-new-unpin-suppo.patch 160 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-use-DRMA_WRID_READY.patch 66 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-use-resp.len-after-validation-in-qemu_rdma_regi.patch 75 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rdma-validate-RDMAControlHeader-len.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-refactor-start-address-calculation.patch 56 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-refer-to-FWCfgState-explicitly.patch 268 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-rng-egd-offset-the-point-when-repeatedly-read-from-t.patch 60 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-savevm-Fix-potential-memory-leak.patch 65 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-savevm-fix-wrong-initialization-by-ram_control_load_.patch 59 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scripts-qapi.py-Avoid-syntax-not-supported-by-Python.patch 54 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-Allocate-SCSITargetReq-r-buf-dynamically-CVE-20.patch 166 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-Change-scsi-sense-buf-size-to-252.patch 101 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-Fix-migration-of-scsi-sense-data.patch 119 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-Support-TEST-UNIT-READY-in-the-dummy-LUN0.patch 55 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-bus-fix-transfer-length-and-direction-for-VERIF.patch 75 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-disk-add-UNMAP-limits-to-block-limits-VPD-page.patch 113 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-disk-catch-write-protection-errors-in-UNMAP.patch.patch.patch 58 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-disk-correctly-implement-WRITE-SAME.patch.patch.patch 219 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-disk-fix-VERIFY-emulation.patch 109 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-disk-fix-WRITE-SAME-with-large-non-zero-payload.patch.patch.patch 46 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-scsi-disk-reject-ANCHOR-1-for-UNMAP-and-WRITE-SAME-c.patch.patch.patch 77 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-seccomp-add-kill-to-the-syscall-whitelist.patch 73 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-seccomp-add-mkdir-and-fchmod-to-the-whitelist.patch 62 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-seccomp-add-some-basic-shared-memory-syscalls-to-the.patch 54 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-seccomp-exit-if-seccomp_init-fails.patch 55 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-size-off-by-one.patch 118 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-slavio_misc-Fix-slavio_led_mem_readw-_writew-tracepo.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-ssdt-fix-PBLK-length.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-ssdt-proc-update-generated-file.patch 73 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-support-using-KVM_MEM_READONLY-flag-for-regions.patch 158 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-switch-rhel7-machine-types-to-big-bios.patch 53 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-sysfw-remove-read-only-pc_sysfw_flash_vs_rom_bug_com.patch 84 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-target-i386-Cleanup-foo-feature-handling.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-target-i386-Convert-check-and-enforce-to-static-prop.patch 100 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-target-i386-Convert-hv_relaxed-to-static-property.patch 59 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-target-i386-Convert-hv_spinlocks-to-static-property.patch 112 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-target-i386-Convert-hv_vapic-to-static-property.patch 56 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-target-i386-Copy-cpu64-rhel6-definition-into-qemu64.patch 83 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-target-i386-Move-hyperv_-static-globals-to-X86CPU.patch 375 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-tests-Fix-schema-parser-test-for-in-tree-build.patch 75 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-tests-QAPI-schema-parser-tests.patch 713 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-tests-Use-qapi-schema-test.json-as-schema-parser-tes.patch 119 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-trace-events-Clean-up-after-removal-of-old-usb-host-.patch 87 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-trace-events-Clean-up-with-scripts-cleanup-trace-eve.patch 58 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-trace-events-Drop-unused-events.patch 134 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-trace-events-Fix-up-source-file-comments.patch 605 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-usb-add-microsoft-os-descriptors-compat-property.patch 44 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-usb-add-support-for-microsoft-os-descriptors.patch 490 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-usb-add-vendor-request-defines.patch 67 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-usb-hid-add-microsoft-os-descriptor-support.patch 79 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-usb-move-usb_-hi-lo-helpers-to-header-file.patch 73 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-use-directly-cpu_physical_memory_-api-for-tracki.patch 79 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-use-recommended-max-vcpu-count.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vdi-add-bounds-checks-for-blocks_in_image-and-disk_s.patch 112 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vfio-Destroy-memory-regions.patch 68 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vfio-blacklist-loading-of-unstable-roms.patch 141 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vfio-cap-number-of-devices-that-can-be-assigned.patch 73 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vfio-pci-Fail-initfn-on-DMA-mapping-errors.patch 139 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vfio-pci-Fix-multifunction-on.patch 58 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vfio-pci-Release-all-MSI-X-vectors-when-disabled.patch 67 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vhdx-Bounds-checking-for-block_size-and-logical_sect.patch 64 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-balloon-switch-exit-callback-to-VirtioDeviceC.patch 72 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-blk-switch-exit-callback-to-VirtioDeviceClass.patch 76 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-bus-cleanup-plug-unplug-interface.patch 178 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-bus-remove-vdev-field.patch 256 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-net-add-feature-bit-for-any-header-s-g.patch 128 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-net-broken-RX-filtering-logic-fixed.patch 49 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-net-don-t-update-mac_table-in-error-state.patch 130 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-net-fix-guest-triggerable-buffer-overrun.patch 57 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-net-fix-the-memory-leak-in-rxfilter_notify.patch 66 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-net-only-delete-bh-that-existed.patch 53 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-net-switch-exit-callback-to-VirtioDeviceClass.patch 81 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-pci-add-device_unplugged-callback.patch 81 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-pci-remove-vdev-field.patch 465 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-rng-switch-exit-callback-to-VirtioDeviceClass.patch 78 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-scsi-switch-exit-callback-to-VirtioDeviceClas.patch 137 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio-serial-switch-exit-callback-to-VirtioDeviceCl.patch 76 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-virtio_pci-fix-level-interrupts-with-irqfd.patch 63 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vl-Round-memory-sizes-below-2MiB-up-to-2MiB.patch 50 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vl-make-boot_strict-variable-static-not-used-outside.patch 44 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vmdk-Allow-read-only-open-of-VMDK-version-3.patch 71 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vpc-Validate-block-size-CVE-2014-0142.patch 155 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vpc-vhd-add-bounds-check-for-max_table_entries-and-b.patch 110 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vpc-vhdx-add-get_info.patch.patch.patch 98 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-vvfat-use-bdrv_new-to-allocate-BlockDriverState.patch 46 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-xen_disk-simplify-blk_disconnect-with-refcnt.patch 70 ●●●●● patch | view | raw | blame | history
SOURCES/kvm-xhci-add-support-for-suspend-resume.patch 62 ●●●●● patch | view | raw | blame | history
SPECS/qemu-kvm.spec 2926 ●●●●● patch | view | raw | blame | history
.qemu-kvm.metadata
@@ -1,5 +1,7 @@
a07ce6c2f11c692f70c80cea3345aefd20be8a7b SOURCES/rhel6-e1000.rom
faac4c56f0ef593721edc66af965bac63760965b SOURCES/rhel6-ne2k_pci.rom
ca79836ccce0ffbf25aac4687a3aa64bf281a3c1 SOURCES/rhel6-rtl8139.rom
82eda3fb78a792745e46bcbbea8290cc444ae6bf SOURCES/rhel6-virtio.rom
7c83cf03604d7db8ca5e7c8fce49b59cda240596 SOURCES/bios-256k.bin
f5ddbc9701698bc4adc5e98c63ad438c3b8e8510 SOURCES/rhel6-pcnet.rom
e5a40bb63de8445a465c507ce27e736cff35ec12 SOURCES/qemu-1.5.3.tar.bz2
SOURCES/README.rhel6-gpxe-source
New file
@@ -0,0 +1,9 @@
The ROM images on /usr/share/qemu-kvm/rhel6-*.rom come from the
Red Hat Enterprise Linux 6.4 package gpxe-roms-qemu-0.9.7-6.9.el6.noarch.rpm.
The source code for those images can be downloaded from:
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/gpxe-0.9.7-6.9.el6.src.rpm
For more information on how to obtain source code for Red Hat Enterprise Linux
software, you can refer to Chapter 1. Obtaining Red Hat Enterprise Linux of the
Red Hat Enterprise Linux Installation Guide.
SOURCES/change-path-from-qemu-to-qemu-kvm.patch
@@ -20,8 +20,6 @@
 #define BUILD_SUFFIX "/pc-bios"
 char *os_find_datadir(const char *argv0)
 {
diff --git a/redhat/qemu-kvm.spec.template b/redhat/qemu-kvm.spec.template
index 84088eb..646eb1a 100644
diff --git a/ui/vnc.c b/ui/vnc.c
index dfc7459..3726352 100644
--- a/ui/vnc.c
SOURCES/ksm.service
@@ -6,8 +6,8 @@
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/sysconfig/ksm
ExecStart=/lib/systemd/ksmctl start
ExecStop=/lib/systemd/ksmctl stop
ExecStart=/usr/libexec/ksmctl start
ExecStop=/usr/libexec/ksmctl stop
[Install]
WantedBy=multi-user.target
SOURCES/ksmtuned
@@ -69,10 +69,11 @@
}
committed_memory () {
    # calculate how much memory is committed to running qemu processes
    local progname
    progname=${1:-qemu-kvm}
    ps -C "$progname" -o rsz | awk '{ sum += $1 }; END { print sum }'
    local pidlist
    pidlist=$(pgrep -d ' ' -- '^qemu(-kvm|:.{1,11})$')
    if [ -n "$pidlist" ]; then
        ps -p "$pidlist" -o rsz=
    fi | awk '{ sum += $1 }; END { print 0+sum }'
}
free_memory () {
SOURCES/kvm-Add-back-no-hpet-but-ignore-it.patch
New file
@@ -0,0 +1,69 @@
From 0d436218d32002c29bde5d84a5b41abb915dc753 Mon Sep 17 00:00:00 2001
From: "Dr. David Alan Gilbert (git)" <dgilbert@redhat.com>
Date: Thu, 16 Jan 2014 16:15:05 -0500
Subject: [PATCH 14/14] Add back -no-hpet but ignore it
Message-id: <1389888905-31880-1-git-send-email-dgilbert@redhat.com>
Patchwork-id: 56754
O-Subject: [RHEL-7.0 qemu-kvm PATCH 1/1] Add back -no-hpet but ignore it
Bugzilla: 1044742
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
RH-Acked-by: Jiri Denemark <jdenemar@redhat.com>
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
BZ: 1044742
Brew: https://brewweb.devel.redhat.com/taskinfo?taskID=6886373
Upstream-status: Red Hat only
  Undoes some of bz947441, in that we keep the -no-hpet command line
option, for compatibility with libvirt since it has no way of knowing
that it was removed.
  Since hpet is disabled anyway, keeping the option does no harm.
---
 qemu-options.hx | 2 --
 vl.c            | 2 --
 2 files changed, 4 deletions(-)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 qemu-options.hx | 2 --
 vl.c            | 2 --
 2 files changed, 4 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index d9320b5..49b4bc2 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1280,10 +1280,8 @@ it if your guest OS complains about ACPI problems (PC target machine
 only).
 ETEXI
-#if 0 /* Disabled for Red Hat Enterprise Linux */
 DEF("no-hpet", 0, QEMU_OPTION_no_hpet,
     "-no-hpet        disable HPET\n", QEMU_ARCH_I386)
-#endif
 DEF("acpitable", HAS_ARG, QEMU_OPTION_acpitable,
     "-acpitable [sig=str][,rev=n][,oem_id=str][,oem_table_id=str][,oem_rev=n][,asl_compiler_id=str][,asl_compiler_rev=n][,{data|file}=file1[:file2]...]\n"
diff --git a/vl.c b/vl.c
index b70d107..deb5884 100644
--- a/vl.c
+++ b/vl.c
@@ -3558,11 +3558,9 @@ int main(int argc, char **argv, char **envp)
             case QEMU_OPTION_no_acpi:
                 acpi_enabled = 0;
                 break;
-#if 0 /* Disabled for Red Hat Enterprise Linux */
             case QEMU_OPTION_no_hpet:
                 no_hpet = 1;
                 break;
-#endif
             case QEMU_OPTION_balloon:
                 if (balloon_parse(optarg) < 0) {
                     fprintf(stderr, "Unknown -balloon argument %s\n", optarg);
--
1.8.3.1
SOURCES/kvm-Add-check-for-cache-size-smaller-than-page-size.patch
New file
@@ -0,0 +1,79 @@
From 34f122742b3b75db66c9f2a022179136dbc534e4 Mon Sep 17 00:00:00 2001
From: Orit Wasserman <owasserm@redhat.com>
Date: Tue, 11 Feb 2014 15:20:47 +0100
Subject: [PATCH 13/28] Add check for cache size smaller than page size
RH-Author: Orit Wasserman <owasserm@redhat.com>
Message-id: <1392132047-5103-1-git-send-email-owasserm@redhat.com>
Patchwork-id: 57207
O-Subject: [RHEL7 qemu-kvm PATCH] Add check for cache size smaller than page size
Bugzilla: 1017096
RH-Acked-by: Juan Quintela <quintela@redhat.com>
RH-Acked-by: Dr. David Alan Gilbert (git) <dgilbert@redhat.com>
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
Bugzilla: 1017096
Upstream: merged
Brew:http://brewweb.devel.redhat.com/brew/taskinfo?taskID=7028464
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
(cherry picked from commit c91e681a558fc21073ffc491b5a022d5f340fa0b)
---
 arch_init.c |  4 ++++
 migration.c | 10 +++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 arch_init.c |    4 ++++
 migration.c |   10 +++++++++-
 2 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 31aac84..c3207bf 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -178,6 +178,10 @@ static struct {
 int64_t xbzrle_cache_resize(int64_t new_size)
 {
+    if (new_size < TARGET_PAGE_SIZE) {
+        return -1;
+    }
+
     if (XBZRLE.cache != NULL) {
         return cache_resize(XBZRLE.cache, new_size / TARGET_PAGE_SIZE) *
             TARGET_PAGE_SIZE;
diff --git a/migration.c b/migration.c
index 21f7247..6487fe2 100644
--- a/migration.c
+++ b/migration.c
@@ -474,6 +474,7 @@ void qmp_migrate_cancel(Error **errp)
 void qmp_migrate_set_cache_size(int64_t value, Error **errp)
 {
     MigrationState *s = migrate_get_current();
+    int64_t new_size;
     /* Check for truncation */
     if (value != (size_t)value) {
@@ -482,7 +483,14 @@ void qmp_migrate_set_cache_size(int64_t value, Error **errp)
         return;
     }
-    s->xbzrle_cache_size = xbzrle_cache_resize(value);
+    new_size = xbzrle_cache_resize(value);
+    if (new_size < 0) {
+        error_set(errp, QERR_INVALID_PARAMETER_VALUE, "cache size",
+                  "is smaller than page size");
+        return;
+    }
+
+    s->xbzrle_cache_size = new_size;
 }
 int64_t qmp_query_migrate_cache_size(Error **errp)
--
1.7.1
SOURCES/kvm-Add-support-statement-to-help-output.patch
New file
@@ -0,0 +1,63 @@
From a766091a8693181b77b0b1e3b5de9a05aab25c18 Mon Sep 17 00:00:00 2001
From: Eduardo Habkost <ehabkost@redhat.com>
Date: Wed, 4 Dec 2013 18:53:17 +0100
Subject: [PATCH 01/16] Add support statement to -help output
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
Message-id: <1386183197-27761-1-git-send-email-ehabkost@redhat.com>
Patchwork-id: 55994
O-Subject: [qemu-kvm RHEL7 PATCH] Add support statement to -help output
Bugzilla: 972773
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
RH-Acked-by: knoel@redhat.com
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Bugzilla: 972773
Brew scratch build: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=6676272
Add support statement to -help output, reporting direct qemu-kvm usage
as unsupported by Red Hat, and advising users to use libvirt instead.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 vl.c | 9 +++++++++
 1 file changed, 9 insertions(+)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 vl.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/vl.c b/vl.c
index 4a79f62..b9074c5 100644
--- a/vl.c
+++ b/vl.c
@@ -1993,9 +1993,17 @@ static void version(void)
     printf("QEMU emulator version " QEMU_VERSION QEMU_PKGVERSION ", Copyright (c) 2003-2008 Fabrice Bellard\n");
 }
+static void print_rh_warning(void)
+{
+    printf("\nWARNING: Direct use of qemu-kvm from the command line is not supported by Red Hat.\n"
+             "WARNING: Use libvirt as the stable management interface.\n"
+             "WARNING: Some command line options listed here may not be available in future releases.\n\n");
+}
+
 static void help(int exitcode)
 {
     version();
+    print_rh_warning();
     printf("usage: %s [options] [disk_image]\n\n"
            "'disk_image' is a raw hard disk image for IDE hard disk 0\n\n",
             error_get_progname());
@@ -2010,6 +2018,7 @@ static void help(int exitcode)
            "\n"
            "When using -nographic, press 'ctrl-a h' to get some help.\n");
+    print_rh_warning();
     exit(exitcode);
 }
--
1.7.1
SOURCES/kvm-Documentation-qemu-img-Mention-SIGUSR1-progress-repo.patch
New file
@@ -0,0 +1,49 @@
From 19b8051f791f74ed46a51fff8c74a51bf11dd23d Mon Sep 17 00:00:00 2001
From: Kevin Wolf <kwolf@redhat.com>
Date: Tue, 11 Feb 2014 16:24:44 +0100
Subject: [PATCH 27/28] Documentation: qemu-img: Mention SIGUSR1 progress report
RH-Author: Kevin Wolf <kwolf@redhat.com>
Message-id: <1392135884-10508-4-git-send-email-kwolf@redhat.com>
Patchwork-id: 57224
O-Subject: [RHEL-7.0 qemu-kvm PATCH 3/3] Documentation: qemu-img: Mention SIGUSR1 progress report
Bugzilla: 997878
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
Document the SIGUSR1 behaviour of qemu-img. Also, added compare to the
list of subcommands that support -p.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
(cherry picked from commit 0e3bd9932f862c1c1e4926939b4d0c602ce214ef)
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
---
 qemu-img.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 qemu-img.texi |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/qemu-img.texi b/qemu-img.texi
index d75a780..7c28759 100644
--- a/qemu-img.texi
+++ b/qemu-img.texi
@@ -53,7 +53,9 @@ indicates that target image must be compressed (qcow format only)
 @item -h
 with or without a command shows help and lists the supported formats
 @item -p
-display progress bar (convert and rebase commands only)
+display progress bar (compare, convert and rebase commands only).
+If the @var{-p} option is not used for a command that supports it, the
+progress is reported when the process receives a @code{SIGUSR1} signal.
 @item -q
 Quiet mode - do not print any output (except errors). There's no progress bar
 in case both @var{-q} and @var{-p} options are used.
--
1.7.1
SOURCES/kvm-Don-t-abort-on-memory-allocation-error.patch
New file
@@ -0,0 +1,111 @@
From b75b57e4a5b75f03c5d302ced1287f47de6c9ccc Mon Sep 17 00:00:00 2001
From: Orit Wasserman <owasserm@redhat.com>
Date: Tue, 11 Feb 2014 15:32:37 +0100
Subject: [PATCH 16/28] Don't abort on memory allocation error
RH-Author: Orit Wasserman <owasserm@redhat.com>
Message-id: <1392132757-18587-4-git-send-email-owasserm@redhat.com>
Patchwork-id: 57211
O-Subject: [RHEL7 qemu-kvm PATCH 3/3] Don't abort on memory allocation error
Bugzilla: 1047448
RH-Acked-by: Dr. David Alan Gilbert (git) <dgilbert@redhat.com>
RH-Acked-by: Juan Quintela <quintela@redhat.com>
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
It is better to fail migration in case of failure to
allocate new cache item
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
(cherry picked from commit 89db9987c07977bdb78d5d4b41d65e7acb9a5a2c)
---
 arch_init.c                    |  4 +++-
 include/migration/page_cache.h |  4 +++-
 page_cache.c                   | 16 +++++++++++-----
 3 files changed, 17 insertions(+), 7 deletions(-)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 arch_init.c                    |    4 +++-
 include/migration/page_cache.h |    4 +++-
 page_cache.c                   |   16 +++++++++++-----
 3 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index fc0f569..0aacdac 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -286,7 +286,9 @@ static int save_xbzrle_page(QEMUFile *f, uint8_t *current_data,
     if (!cache_is_cached(XBZRLE.cache, current_addr)) {
         if (!last_stage) {
-            cache_insert(XBZRLE.cache, current_addr, current_data);
+            if (cache_insert(XBZRLE.cache, current_addr, current_data) == -1) {
+                return -1;
+            }
         }
         acct_info.xbzrle_cache_miss++;
         return -1;
diff --git a/include/migration/page_cache.h b/include/migration/page_cache.h
index 87894fe..d156f0d 100644
--- a/include/migration/page_cache.h
+++ b/include/migration/page_cache.h
@@ -60,11 +60,13 @@ uint8_t *get_cached_data(const PageCache *cache, uint64_t addr);
  * cache_insert: insert the page into the cache. the page cache
  * will dup the data on insert. the previous value will be overwritten
  *
+ * Returns -1 on error
+ *
  * @cache pointer to the PageCache struct
  * @addr: page address
  * @pdata: pointer to the page
  */
-void cache_insert(PageCache *cache, uint64_t addr, uint8_t *pdata);
+int cache_insert(PageCache *cache, uint64_t addr, uint8_t *pdata);
 /**
  * cache_resize: resize the page cache. In case of size reduction the extra
diff --git a/page_cache.c b/page_cache.c
index 2920123..250772d 100644
--- a/page_cache.c
+++ b/page_cache.c
@@ -151,7 +151,7 @@ uint8_t *get_cached_data(const PageCache *cache, uint64_t addr)
     return cache_get_by_addr(cache, addr)->it_data;
 }
-void cache_insert(PageCache *cache, uint64_t addr, uint8_t *pdata)
+int cache_insert(PageCache *cache, uint64_t addr, uint8_t *pdata)
 {
     CacheItem *it = NULL;
@@ -162,16 +162,22 @@ void cache_insert(PageCache *cache, uint64_t addr, uint8_t *pdata)
     /* actual update of entry */
     it = cache_get_by_addr(cache, addr);
-    /* free old cached data if any */
-    g_free(it->it_data);
-
+    /* allocate page */
     if (!it->it_data) {
+        it->it_data = g_try_malloc(cache->page_size);
+        if (!it->it_data) {
+            DPRINTF("Error allocating page\n");
+            return -1;
+        }
         cache->num_items++;
     }
-    it->it_data = g_memdup(pdata, cache->page_size);
+    memcpy(it->it_data, pdata, cache->page_size);
+
     it->it_age = ++cache->max_item_age;
     it->it_addr = addr;
+
+    return 0;
 }
 int64_t cache_resize(PageCache *cache, int64_t new_num_pages)
--
1.7.1
SOURCES/kvm-Don-t-abort-on-out-of-memory-when-creating-page-cach.patch
New file
@@ -0,0 +1,97 @@
From f58c7c6f3574f28df445c67a378aec5a33285374 Mon Sep 17 00:00:00 2001
From: Orit Wasserman <owasserm@redhat.com>
Date: Tue, 11 Feb 2014 15:32:36 +0100
Subject: [PATCH 15/28] Don't abort on out of memory when creating page cache
RH-Author: Orit Wasserman <owasserm@redhat.com>
Message-id: <1392132757-18587-3-git-send-email-owasserm@redhat.com>
Patchwork-id: 57210
O-Subject: [RHEL7 qemu-kvm PATCH 2/3] Don't abort on out of memory when creating page cache
Bugzilla: 1047448
RH-Acked-by: Dr. David Alan Gilbert (git) <dgilbert@redhat.com>
RH-Acked-by: Juan Quintela <quintela@redhat.com>
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
(cherry picked from commit a17b2fd3580d1da96e806c8b58e61255e8c57577)
---
 arch_init.c  | 18 ++++++++++++++++--
 page_cache.c | 18 ++++++++++++++----
 2 files changed, 30 insertions(+), 6 deletions(-)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 arch_init.c  |   18 ++++++++++++++++--
 page_cache.c |   18 ++++++++++++++----
 2 files changed, 30 insertions(+), 6 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index c3207bf..fc0f569 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -659,8 +659,22 @@ static int ram_save_setup(QEMUFile *f, void *opaque)
             DPRINTF("Error creating cache\n");
             return -1;
         }
-        XBZRLE.encoded_buf = g_malloc0(TARGET_PAGE_SIZE);
-        XBZRLE.current_buf = g_malloc(TARGET_PAGE_SIZE);
+
+        /* We prefer not to abort if there is no memory */
+        XBZRLE.encoded_buf = g_try_malloc0(TARGET_PAGE_SIZE);
+        if (!XBZRLE.encoded_buf) {
+            DPRINTF("Error allocating encoded_buf\n");
+            return -1;
+        }
+
+        XBZRLE.current_buf = g_try_malloc(TARGET_PAGE_SIZE);
+        if (!XBZRLE.current_buf) {
+            DPRINTF("Error allocating current_buf\n");
+            g_free(XBZRLE.encoded_buf);
+            XBZRLE.encoded_buf = NULL;
+            return -1;
+        }
+
         acct_clear();
     }
diff --git a/page_cache.c b/page_cache.c
index 938a79c..2920123 100644
--- a/page_cache.c
+++ b/page_cache.c
@@ -61,8 +61,12 @@ PageCache *cache_init(int64_t num_pages, unsigned int page_size)
         return NULL;
     }
-    cache = g_malloc(sizeof(*cache));
-
+    /* We prefer not to abort if there is no memory */
+    cache = g_try_malloc(sizeof(*cache));
+    if (!cache) {
+        DPRINTF("Failed to allocate cache\n");
+        return NULL;
+    }
     /* round down to the nearest power of 2 */
     if (!is_power_of_2(num_pages)) {
         num_pages = pow2floor(num_pages);
@@ -75,8 +79,14 @@ PageCache *cache_init(int64_t num_pages, unsigned int page_size)
     DPRINTF("Setting cache buckets to %" PRId64 "\n", cache->max_num_items);
-    cache->page_cache = g_malloc((cache->max_num_items) *
-                                 sizeof(*cache->page_cache));
+    /* We prefer not to abort if there is no memory */
+    cache->page_cache = g_try_malloc((cache->max_num_items) *
+                                     sizeof(*cache->page_cache));
+    if (!cache->page_cache) {
+        DPRINTF("Failed to allocate cache->page_cache\n");
+        g_free(cache);
+        return NULL;
+    }
     for (i = 0; i < cache->max_num_items; i++) {
         cache->page_cache[i].it_data = NULL;
--
1.7.1
SOURCES/kvm-Fix-two-XBZRLE-corruption-issues.patch
New file
@@ -0,0 +1,200 @@
From ccff61f6316a815aa4a538799e089dec7ce754c5 Mon Sep 17 00:00:00 2001
From: Dr. David Alan Gilbert (git) <dgilbert@redhat.com>
Date: Thu, 27 Feb 2014 14:53:37 +0100
Subject: [PATCH 3/6] Fix two XBZRLE corruption issues
RH-Author: Dr. David Alan Gilbert (git) <dgilbert@redhat.com>
Message-id: <1393512817-21040-1-git-send-email-dgilbert@redhat.com>
Patchwork-id: 57921
O-Subject: [RHEL-7.0 qemu-kvm PATCH 1/1] Fix two XBZRLE corruption issues
Bugzilla: 1063417
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
RH-Acked-by: Juan Quintela <quintela@redhat.com>
RH-Acked-by: Amit Shah <amit.shah@redhat.com>
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1063417
Brew: https://brewweb.devel.redhat.com/taskinfo?taskID=7115209
Upstream: 6d3cb1f970ee85361618f7ff02869180394e012d
Push zero'd pages into the XBZRLE cache
    A page that was cached by XBZRLE, zero'd and then XBZRLE'd again
    was being compared against a stale cache value
Don't use 'qemu_put_buffer_async' to put pages from the XBZRLE cache
    Since the cache might change before the data hits the wire
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
(cherry picked from commit 6d3cb1f970ee85361618f7ff02869180394e012d)
---
 arch_init.c                    | 64 ++++++++++++++++++++++++++++++++----------
 include/migration/page_cache.h |  2 +-
 page_cache.c                   |  2 +-
 3 files changed, 51 insertions(+), 17 deletions(-)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 arch_init.c                    |   64 ++++++++++++++++++++++++++++++---------
 include/migration/page_cache.h |    2 +-
 page_cache.c                   |    2 +-
 3 files changed, 51 insertions(+), 17 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index 31bf690..f5d521a 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -122,7 +122,6 @@ static void check_guest_throttling(void);
 #define RAM_SAVE_FLAG_XBZRLE   0x40
 /* 0x80 is reserved in migration.h start with 0x100 next */
-
 static struct defconfig_file {
     const char *filename;
     /* Indicates it is an user config file (disabled by -no-user-config) */
@@ -133,6 +132,7 @@ static struct defconfig_file {
     { NULL }, /* end of list */
 };
+static const uint8_t ZERO_TARGET_PAGE[TARGET_PAGE_SIZE];
 int qemu_read_default_config_files(bool userconfig)
 {
@@ -273,6 +273,34 @@ static size_t save_block_hdr(QEMUFile *f, RAMBlock *block, ram_addr_t offset,
     return size;
 }
+/* This is the last block that we have visited serching for dirty pages
+ */
+static RAMBlock *last_seen_block;
+/* This is the last block from where we have sent data */
+static RAMBlock *last_sent_block;
+static ram_addr_t last_offset;
+static unsigned long *migration_bitmap;
+static uint64_t migration_dirty_pages;
+static uint32_t last_version;
+static bool ram_bulk_stage;
+
+/* Update the xbzrle cache to reflect a page that's been sent as all 0.
+ * The important thing is that a stale (not-yet-0'd) page be replaced
+ * by the new data.
+ * As a bonus, if the page wasn't in the cache it gets added so that
+ * when a small write is made into the 0'd page it gets XBZRLE sent
+ */
+static void xbzrle_cache_zero_page(ram_addr_t current_addr)
+{
+    if (ram_bulk_stage || !migrate_use_xbzrle()) {
+        return;
+    }
+
+    /* We don't care if this fails to allocate a new cache page
+     * as long as it updated an old one */
+    cache_insert(XBZRLE.cache, current_addr, ZERO_TARGET_PAGE);
+}
+
 #define ENCODING_FLAG_XBZRLE 0x1
 static int save_xbzrle_page(QEMUFile *f, uint8_t *current_data,
@@ -329,18 +357,6 @@ static int save_xbzrle_page(QEMUFile *f, uint8_t *current_data,
     return bytes_sent;
 }
-
-/* This is the last block that we have visited serching for dirty pages
- */
-static RAMBlock *last_seen_block;
-/* This is the last block from where we have sent data */
-static RAMBlock *last_sent_block;
-static ram_addr_t last_offset;
-static unsigned long *migration_bitmap;
-static uint64_t migration_dirty_pages;
-static uint32_t last_version;
-static bool ram_bulk_stage;
-
 static inline
 ram_addr_t migration_bitmap_find_and_reset_dirty(MemoryRegion *mr,
                                                  ram_addr_t start)
@@ -512,6 +528,7 @@ static int ram_save_block(QEMUFile *f, bool last_stage)
         } else {
             int ret;
             uint8_t *p;
+            bool send_async = true;
             int cont = (block == last_sent_block) ?
                 RAM_SAVE_FLAG_CONTINUE : 0;
@@ -522,6 +539,7 @@ static int ram_save_block(QEMUFile *f, bool last_stage)
             ret = ram_control_save_page(f, block->offset,
                                offset, TARGET_PAGE_SIZE, &bytes_sent);
+            current_addr = block->offset + offset;
             if (ret != RAM_SAVE_CONTROL_NOT_SUPP) {
                 if (ret != RAM_SAVE_CONTROL_DELAYED) {
                     if (bytes_sent > 0) {
@@ -536,19 +554,35 @@ static int ram_save_block(QEMUFile *f, bool last_stage)
                                             RAM_SAVE_FLAG_COMPRESS);
                 qemu_put_byte(f, 0);
                 bytes_sent++;
+                /* Must let xbzrle know, otherwise a previous (now 0'd) cached
+                 * page would be stale
+                 */
+                xbzrle_cache_zero_page(current_addr);
             } else if (!ram_bulk_stage && migrate_use_xbzrle()) {
-                current_addr = block->offset + offset;
                 bytes_sent = save_xbzrle_page(f, p, current_addr, block,
                                               offset, cont, last_stage);
                 if (!last_stage) {
+                    /* We must send exactly what's in the xbzrle cache
+                     * even if the page wasn't xbzrle compressed, so that
+                     * it's right next time.
+                     */
                     p = get_cached_data(XBZRLE.cache, current_addr);
+
+                    /* Can't send this cached data async, since the cache page
+                     * might get updated before it gets to the wire
+                     */
+                    send_async = false;
                 }
             }
             /* XBZRLE overflow or normal page */
             if (bytes_sent == -1) {
                 bytes_sent = save_block_hdr(f, block, offset, cont, RAM_SAVE_FLAG_PAGE);
-                qemu_put_buffer_async(f, p, TARGET_PAGE_SIZE);
+                if (send_async) {
+                    qemu_put_buffer_async(f, p, TARGET_PAGE_SIZE);
+                } else {
+                    qemu_put_buffer(f, p, TARGET_PAGE_SIZE);
+                }
                 bytes_sent += TARGET_PAGE_SIZE;
                 acct_info.norm_pages++;
             }
diff --git a/include/migration/page_cache.h b/include/migration/page_cache.h
index d156f0d..2d5ce2d 100644
--- a/include/migration/page_cache.h
+++ b/include/migration/page_cache.h
@@ -66,7 +66,7 @@ uint8_t *get_cached_data(const PageCache *cache, uint64_t addr);
  * @addr: page address
  * @pdata: pointer to the page
  */
-int cache_insert(PageCache *cache, uint64_t addr, uint8_t *pdata);
+int cache_insert(PageCache *cache, uint64_t addr, const uint8_t *pdata);
 /**
  * cache_resize: resize the page cache. In case of size reduction the extra
diff --git a/page_cache.c b/page_cache.c
index 250772d..5a763f9 100644
--- a/page_cache.c
+++ b/page_cache.c
@@ -151,7 +151,7 @@ uint8_t *get_cached_data(const PageCache *cache, uint64_t addr)
     return cache_get_by_addr(cache, addr)->it_data;
 }
-int cache_insert(PageCache *cache, uint64_t addr, uint8_t *pdata)
+int cache_insert(PageCache *cache, uint64_t addr, const uint8_t *pdata)
 {
     CacheItem *it = NULL;
--
1.7.1
SOURCES/kvm-Fix-uninitialized-cpuid_data.patch
New file
@@ -0,0 +1,111 @@
From 2f85f6c61990fd4d46e4980128ee8ba2d3cfaa37 Mon Sep 17 00:00:00 2001
From: Vadim Rozenfeld <vrozenfe@redhat.com>
Date: Mon, 3 Mar 2014 12:09:14 +0100
Subject: [PATCH 02/12] kvm: Fix uninitialized cpuid_data
RH-Author: Vadim Rozenfeld <vrozenfe@redhat.com>
Message-id: <1393848564-10511-3-git-send-email-vrozenfe@redhat.com>
Patchwork-id: 57958
O-Subject: [RHEL-7.0 qemu-kvm v4 PATCH 02/12] kvm: Fix uninitialized cpuid_data
Bugzilla: 1057173
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
RH-Acked-by: Juan Quintela <quintela@redhat.com>
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
From: Stefan Weil <sw@weilnetz.de>
This error was reported by valgrind when running qemu-system-x86_64
with kvm:
==975== Conditional jump or move depends on uninitialised value(s)
==975==    at 0x521C38: cpuid_find_entry (kvm.c:176)
==975==    by 0x5235BA: kvm_arch_init_vcpu (kvm.c:686)
==975==    by 0x4D5175: kvm_init_vcpu (kvm-all.c:267)
==975==    by 0x45035B: qemu_kvm_cpu_thread_fn (cpus.c:858)
==975==    by 0xD361E0D: start_thread (pthread_create.c:311)
==975==    by 0xD65E9EC: clone (clone.S:113)
==975==  Uninitialised value was created by a stack allocation
==975==    at 0x5226E4: kvm_arch_init_vcpu (kvm.c:446)
Instead of adding more memset calls for parts of cpuid_data, the existing
calls were removed and cpuid_data is now initialized completely in one
call.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
(cherry picked from commit ef4cbe14342c1f63b3c754e306218f004f4e26c4)
---
 target-i386/kvm.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 target-i386/kvm.c |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index c7fabd7..3a9e376 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -453,11 +453,12 @@ int kvm_arch_init_vcpu(CPUState *cs)
     uint32_t signature[3];
     int r;
+    memset(&cpuid_data, 0, sizeof(cpuid_data));
+
     cpuid_i = 0;
     /* Paravirtualization CPUIDs */
     c = &cpuid_data.entries[cpuid_i++];
-    memset(c, 0, sizeof(*c));
     c->function = KVM_CPUID_SIGNATURE;
     if (!hyperv_enabled(cpu)) {
         memcpy(signature, "KVMKVMKVM\0\0\0", 12);
@@ -471,7 +472,6 @@ int kvm_arch_init_vcpu(CPUState *cs)
     c->edx = signature[2];
     c = &cpuid_data.entries[cpuid_i++];
-    memset(c, 0, sizeof(*c));
     c->function = KVM_CPUID_FEATURES;
     c->eax = env->features[FEAT_KVM];
@@ -480,13 +480,11 @@ int kvm_arch_init_vcpu(CPUState *cs)
         c->eax = signature[0];
         c = &cpuid_data.entries[cpuid_i++];
-        memset(c, 0, sizeof(*c));
         c->function = HYPERV_CPUID_VERSION;
         c->eax = 0x00001bbc;
         c->ebx = 0x00060001;
         c = &cpuid_data.entries[cpuid_i++];
-        memset(c, 0, sizeof(*c));
         c->function = HYPERV_CPUID_FEATURES;
         if (cpu->hyperv_relaxed_timing) {
             c->eax |= HV_X64_MSR_HYPERCALL_AVAILABLE;
@@ -497,7 +495,6 @@ int kvm_arch_init_vcpu(CPUState *cs)
         }
         c = &cpuid_data.entries[cpuid_i++];
-        memset(c, 0, sizeof(*c));
         c->function = HYPERV_CPUID_ENLIGHTMENT_INFO;
         if (cpu->hyperv_relaxed_timing) {
             c->eax |= HV_X64_RELAXED_TIMING_RECOMMENDED;
@@ -508,13 +505,11 @@ int kvm_arch_init_vcpu(CPUState *cs)
         c->ebx = cpu->hyperv_spinlock_attempts;
         c = &cpuid_data.entries[cpuid_i++];
-        memset(c, 0, sizeof(*c));
         c->function = HYPERV_CPUID_IMPLEMENT_LIMITS;
         c->eax = 0x40;
         c->ebx = 0x40;
         c = &cpuid_data.entries[cpuid_i++];
-        memset(c, 0, sizeof(*c));
         c->function = KVM_CPUID_SIGNATURE_NEXT;
         memcpy(signature, "KVMKVMKVM\0\0\0", 12);
         c->eax = 0;
--
1.7.1
SOURCES/kvm-HMP-Disable-drive_add-for-Red-Hat-Enterprise-Linux.patch
New file
@@ -0,0 +1,54 @@
From 8bc60f9c097965e17f1cfa32e66461aacdb11083 Mon Sep 17 00:00:00 2001
Message-Id: <8bc60f9c097965e17f1cfa32e66461aacdb11083.1387385974.git.minovotn@redhat.com>
In-Reply-To: <7cba796b16325e96d01e65bd265b4073ab103157.1387385974.git.minovotn@redhat.com>
References: <7cba796b16325e96d01e65bd265b4073ab103157.1387385974.git.minovotn@redhat.com>
From: Markus Armbruster <armbru@redhat.com>
Date: Tue, 17 Dec 2013 06:46:39 +0100
Subject: [PATCH 5/5] HMP: Disable drive_add for Red Hat Enterprise Linux
RH-Author: Markus Armbruster <armbru@redhat.com>
Message-id: <1387262799-10350-7-git-send-email-armbru@redhat.com>
Patchwork-id: 56297
O-Subject: [PATCH v2 6/6] HMP: Disable drive_add for Red Hat Enterprise Linux
Bugzilla: 889051
RH-Acked-by: Fam Zheng <famz@redhat.com>
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
From: Markus Armbruster <armbru@redhat.com>
Same as in RHEL-6; commit ed45bb8 there.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hmp-commands.hx | 2 ++
 1 file changed, 2 insertions(+)
Signed-off-by: Michal Novotny <minovotn@redhat.com>
---
 hmp-commands.hx | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index bfb565b..32cc33c 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1072,6 +1072,7 @@ using the specified target.
 ETEXI
 #endif
+#if 0 /* Disabled for Red Hat Enterprise Linux */
     {
         .name       = "drive_add",
         .args_type  = "pci_addr:s,opts:s",
@@ -1084,6 +1085,7 @@ ETEXI
         .help       = "add drive to PCI storage controller",
         .mhandler.cmd = drive_hot_add,
     },
+#endif
 STEXI
 @item drive_add
--
1.7.11.7
SOURCES/kvm-HMP-Forward-port-__com.redhat_drive_add-from-RHEL-6.patch
New file
@@ -0,0 +1,110 @@
From c18bb5012af503e6ca0278cc5bd9457d853fa218 Mon Sep 17 00:00:00 2001
Message-Id: <c18bb5012af503e6ca0278cc5bd9457d853fa218.1387385974.git.minovotn@redhat.com>
In-Reply-To: <7cba796b16325e96d01e65bd265b4073ab103157.1387385974.git.minovotn@redhat.com>
References: <7cba796b16325e96d01e65bd265b4073ab103157.1387385974.git.minovotn@redhat.com>
From: Markus Armbruster <armbru@redhat.com>
Date: Tue, 17 Dec 2013 06:46:37 +0100
Subject: [PATCH 3/5] HMP: Forward-port __com.redhat_drive_add from RHEL-6
RH-Author: Markus Armbruster <armbru@redhat.com>
Message-id: <1387262799-10350-5-git-send-email-armbru@redhat.com>
Patchwork-id: 56295
O-Subject: [PATCH v2 4/6] HMP: Forward-port __com.redhat_drive_add from RHEL-6
Bugzilla: 889051
RH-Acked-by: Fam Zheng <famz@redhat.com>
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
From: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 blockdev.c              | 14 ++++++++++++++
 hmp-commands.hx         | 15 +++++++++++++++
 include/sysemu/sysemu.h |  1 +
 vl.c                    |  1 +
 4 files changed, 31 insertions(+)
Signed-off-by: Michal Novotny <minovotn@redhat.com>
---
 blockdev.c              | 14 ++++++++++++++
 hmp-commands.hx         | 15 +++++++++++++++
 include/sysemu/sysemu.h |  1 +
 vl.c                    |  1 +
 4 files changed, 31 insertions(+)
diff --git a/blockdev.c b/blockdev.c
index f6d607c..93fb339 100644
--- a/blockdev.c
+++ b/blockdev.c
@@ -1916,3 +1916,17 @@ QemuOptsList qemu_drive_opts = {
         { /* end of list */ }
     },
 };
+
+QemuOptsList qemu_simple_drive_opts = {
+    .name = "simple-drive",
+    .implied_opt_name = "format",
+    .head = QTAILQ_HEAD_INITIALIZER(qemu_simple_drive_opts.head),
+    .desc = {
+        /*
+         * no elements => accept any
+         * sanity checking will happen later
+         * when setting device properties
+         */
+        { /* end if list */ }
+    }
+};
diff --git a/hmp-commands.hx b/hmp-commands.hx
index c881e01..bfb565b 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1091,6 +1091,21 @@ STEXI
 Add drive to PCI storage controller.
 ETEXI
+    {
+        .name       = RFQDN_REDHAT "drive_add",
+        .args_type  = "simple-drive:O",
+        .params     = "id=name,[file=file][,format=f][,media=d]...",
+        .help       = "Create a drive similar to -device if=none.",
+    .user_print = monitor_user_noop,
+        .mhandler.cmd_new = simple_drive_add,
+    },
+
+STEXI
+@item __com.redhat_drive_add
+@findex __com.redhat_drive_add
+Create a drive similar to -device if=none.
+ETEXI
+
 #if defined(TARGET_I386) && 0 /* Disabled for Red Hat Enterprise Linux */
     {
         .name       = "pci_add",
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 8fbc818..c70d2dd 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -192,6 +192,7 @@ QemuOpts *qemu_get_machine_opts(void);
 bool usb_enabled(bool default_usb);
 extern QemuOptsList qemu_drive_opts;
+extern QemuOptsList qemu_simple_drive_opts;
 extern QemuOptsList qemu_chardev_opts;
 extern QemuOptsList qemu_device_opts;
 extern QemuOptsList qemu_netdev_opts;
diff --git a/vl.c b/vl.c
index da12b90..4a79f62 100644
--- a/vl.c
+++ b/vl.c
@@ -2837,6 +2837,7 @@ int main(int argc, char **argv, char **envp)
     module_call_init(MODULE_INIT_QOM);
     qemu_add_opts(&qemu_drive_opts);
+    qemu_add_opts(&qemu_simple_drive_opts);
     qemu_add_opts(&qemu_chardev_opts);
     qemu_add_opts(&qemu_device_opts);
     qemu_add_opts(&qemu_netdev_opts);
--
1.7.11.7
SOURCES/kvm-Partially-revert-rhel-Drop-cfi.pflash01-and-isa-ide-.patch
New file
@@ -0,0 +1,43 @@
From 5be39a8c30fba163b3f8358c1b7db02facecb538 Mon Sep 17 00:00:00 2001
From: Laszlo Ersek <lersek@redhat.com>
Date: Sat, 11 Jan 2014 17:59:51 +0100
Subject: [PATCH 01/22] Partially revert "rhel: Drop "cfi.pflash01" and "isa-ide" device"
RH-Author: Laszlo Ersek <lersek@redhat.com>
Message-id: <1389463208-6278-2-git-send-email-lersek@redhat.com>
Patchwork-id: 56615
O-Subject: [RHEL-7.0 qemu-kvm PATCH 01/18] Partially revert "rhel: Drop "cfi.pflash01" and "isa-ide" device"
Bugzilla: 1032346
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
RH-Acked-by: Amos Kong <akong@redhat.com>
RH-Acked-by: Andrew Jones <drjones@redhat.com>
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
This reverts the cfi.pflash01 elimination in
commit f6852e27575e095269a47f434d318b5fc8822e0a.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
---
 default-configs/x86_64-softmmu.mak | 1 +
 1 file changed, 1 insertion(+)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 default-configs/x86_64-softmmu.mak |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/default-configs/x86_64-softmmu.mak b/default-configs/x86_64-softmmu.mak
index e7c48ec..7b8b05c 100644
--- a/default-configs/x86_64-softmmu.mak
+++ b/default-configs/x86_64-softmmu.mak
@@ -19,6 +19,7 @@ CONFIG_I8257=y
 CONFIG_IDE_PIIX=y
 CONFIG_PIIX_PCI=y
 CONFIG_I8259=y
+CONFIG_PFLASH_CFI01=y
 CONFIG_TPM_TIS=$(CONFIG_TPM)
 CONFIG_PCI_HOTPLUG=y
 CONFIG_MC146818RTC=y
--
1.7.1
SOURCES/kvm-QEMUBH-make-AioContext-s-bh-re-entrant.patch
New file
@@ -0,0 +1,188 @@
From 0bf037188149824a8ae161ad9dea7d650b6f7346 Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Tue, 21 Jan 2014 11:25:16 -0500
Subject: [PATCH 5/6] QEMUBH: make AioContext's bh re-entrant
Message-id: <1390303517-20167-2-git-send-email-kraxel@redhat.com>
Patchwork-id: 56866
O-Subject: [RHEL-7 qemu-kvm PATCH 1/2] QEMUBH: make AioContext's bh re-entrant
Bugzilla: 1009297
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
From: Liu Ping Fan <qemulist@gmail.com>
BH will be used outside big lock, so introduce lock to protect
between the writers, ie, bh's adders and deleter. The lock only
affects the writers and bh's callback does not take this extra lock.
Note that for the same AioContext, aio_bh_poll() can not run in
parallel yet.
Signed-off-by: Liu Ping Fan <pingfank@linux.vnet.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit dcc772e2f2b7c2a68644133fea2b874f6751a57b)
---
 async.c             | 33 +++++++++++++++++++++++++++++++--
 include/block/aio.h |  7 +++++++
 2 files changed, 38 insertions(+), 2 deletions(-)
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
---
 async.c             | 33 +++++++++++++++++++++++++++++++--
 include/block/aio.h |  7 +++++++
 2 files changed, 38 insertions(+), 2 deletions(-)
diff --git a/async.c b/async.c
index 90fe906..5ce3633 100644
--- a/async.c
+++ b/async.c
@@ -47,11 +47,16 @@ QEMUBH *aio_bh_new(AioContext *ctx, QEMUBHFunc *cb, void *opaque)
     bh->ctx = ctx;
     bh->cb = cb;
     bh->opaque = opaque;
+    qemu_mutex_lock(&ctx->bh_lock);
     bh->next = ctx->first_bh;
+    /* Make sure that the members are ready before putting bh into list */
+    smp_wmb();
     ctx->first_bh = bh;
+    qemu_mutex_unlock(&ctx->bh_lock);
     return bh;
 }
+/* Multiple occurrences of aio_bh_poll cannot be called concurrently */
 int aio_bh_poll(AioContext *ctx)
 {
     QEMUBH *bh, **bhp, *next;
@@ -61,9 +66,15 @@ int aio_bh_poll(AioContext *ctx)
     ret = 0;
     for (bh = ctx->first_bh; bh; bh = next) {
+        /* Make sure that fetching bh happens before accessing its members */
+        smp_read_barrier_depends();
         next = bh->next;
         if (!bh->deleted && bh->scheduled) {
             bh->scheduled = 0;
+            /* Paired with write barrier in bh schedule to ensure reading for
+             * idle & callbacks coming after bh's scheduling.
+             */
+            smp_rmb();
             if (!bh->idle)
                 ret = 1;
             bh->idle = 0;
@@ -75,6 +86,7 @@ int aio_bh_poll(AioContext *ctx)
     /* remove deleted bhs */
     if (!ctx->walking_bh) {
+        qemu_mutex_lock(&ctx->bh_lock);
         bhp = &ctx->first_bh;
         while (*bhp) {
             bh = *bhp;
@@ -85,6 +97,7 @@ int aio_bh_poll(AioContext *ctx)
                 bhp = &bh->next;
             }
         }
+        qemu_mutex_unlock(&ctx->bh_lock);
     }
     return ret;
@@ -94,24 +107,38 @@ void qemu_bh_schedule_idle(QEMUBH *bh)
 {
     if (bh->scheduled)
         return;
-    bh->scheduled = 1;
     bh->idle = 1;
+    /* Make sure that idle & any writes needed by the callback are done
+     * before the locations are read in the aio_bh_poll.
+     */
+    smp_wmb();
+    bh->scheduled = 1;
 }
 void qemu_bh_schedule(QEMUBH *bh)
 {
     if (bh->scheduled)
         return;
-    bh->scheduled = 1;
     bh->idle = 0;
+    /* Make sure that idle & any writes needed by the callback are done
+     * before the locations are read in the aio_bh_poll.
+     */
+    smp_wmb();
+    bh->scheduled = 1;
     aio_notify(bh->ctx);
 }
+
+/* This func is async.
+ */
 void qemu_bh_cancel(QEMUBH *bh)
 {
     bh->scheduled = 0;
 }
+/* This func is async.The bottom half will do the delete action at the finial
+ * end.
+ */
 void qemu_bh_delete(QEMUBH *bh)
 {
     bh->scheduled = 0;
@@ -176,6 +203,7 @@ aio_ctx_finalize(GSource     *source)
     thread_pool_free(ctx->thread_pool);
     aio_set_event_notifier(ctx, &ctx->notifier, NULL, NULL);
     event_notifier_cleanup(&ctx->notifier);
+    qemu_mutex_destroy(&ctx->bh_lock);
     g_array_free(ctx->pollfds, TRUE);
 }
@@ -211,6 +239,7 @@ AioContext *aio_context_new(void)
     ctx = (AioContext *) g_source_new(&aio_source_funcs, sizeof(AioContext));
     ctx->pollfds = g_array_new(FALSE, FALSE, sizeof(GPollFD));
     ctx->thread_pool = NULL;
+    qemu_mutex_init(&ctx->bh_lock);
     event_notifier_init(&ctx->notifier, false);
     aio_set_event_notifier(ctx, &ctx->notifier,
                            (EventNotifierHandler *)
diff --git a/include/block/aio.h b/include/block/aio.h
index 1836793..cc77771 100644
--- a/include/block/aio.h
+++ b/include/block/aio.h
@@ -17,6 +17,7 @@
 #include "qemu-common.h"
 #include "qemu/queue.h"
 #include "qemu/event_notifier.h"
+#include "qemu/thread.h"
 typedef struct BlockDriverAIOCB BlockDriverAIOCB;
 typedef void BlockDriverCompletionFunc(void *opaque, int ret);
@@ -53,6 +54,8 @@ typedef struct AioContext {
      */
     int walking_handlers;
+    /* lock to protect between bh's adders and deleter */
+    QemuMutex bh_lock;
     /* Anchor of the list of Bottom Halves belonging to the context */
     struct QEMUBH *first_bh;
@@ -127,6 +130,8 @@ void aio_notify(AioContext *ctx);
  * aio_bh_poll: Poll bottom halves for an AioContext.
  *
  * These are internal functions used by the QEMU main loop.
+ * And notice that multiple occurrences of aio_bh_poll cannot
+ * be called concurrently
  */
 int aio_bh_poll(AioContext *ctx);
@@ -163,6 +168,8 @@ void qemu_bh_cancel(QEMUBH *bh);
  * Deleting a bottom half frees the memory that was allocated for it by
  * qemu_bh_new.  It also implies canceling the bottom half if it was
  * scheduled.
+ * This func is async. The bottom half will do the delete action at the finial
+ * end.
  *
  * @bh: The bottom half to be deleted.
  */
--
1.8.3.1
SOURCES/kvm-QMP-Document-throttling-parameters-of-__com.redhat_d.patch
New file
@@ -0,0 +1,56 @@
From 112d92118243fa1e430c021c6007ec4fcfcb930d Mon Sep 17 00:00:00 2001
Message-Id: <112d92118243fa1e430c021c6007ec4fcfcb930d.1387385974.git.minovotn@redhat.com>
In-Reply-To: <7cba796b16325e96d01e65bd265b4073ab103157.1387385974.git.minovotn@redhat.com>
References: <7cba796b16325e96d01e65bd265b4073ab103157.1387385974.git.minovotn@redhat.com>
From: Markus Armbruster <armbru@redhat.com>
Date: Tue, 17 Dec 2013 06:46:38 +0100
Subject: [PATCH 4/5] QMP: Document throttling parameters of
 __com.redhat_drive_add
RH-Author: Markus Armbruster <armbru@redhat.com>
Message-id: <1387262799-10350-6-git-send-email-armbru@redhat.com>
Patchwork-id: 56296
O-Subject: [PATCH v2 5/6] QMP: Document throttling parameters of __com.redhat_drive_add
Bugzilla: 889051
RH-Acked-by: Fam Zheng <famz@redhat.com>
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
From: Markus Armbruster <armbru@redhat.com>
The previous commit copied the code from RHEL-6, including the
throttling parameters added in RHEL-6 commit ea4348a "block: Allow IO
throttling fields in __com.redhat_drive_add".  That commit neglected
to update documentation, then in qemu-monitor.hx, now in
qmp-commands.hx.  Update it, so that qmp-commands.txt is complete.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 qmp-commands.hx | 6 ++++++
 1 file changed, 6 insertions(+)
Signed-off-by: Michal Novotny <minovotn@redhat.com>
---
 qmp-commands.hx | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 9e742d5..f6fae33 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -137,6 +137,12 @@ Arguments:
 - "serial": Drive serial number (json-string, optional)
 - "snapshot": Enable snapshot mode (json-bool, optional)
 - "copy-on-read": Enable copy-on-read mode (json-bool, optional)
+- "bps": total throughput limit in bytes per second is specified
+- "bps_rd": read throughput limit in bytes per second is specified
+- "bps_wr": write throughput limit in bytes per second is specified
+- "iops": total I/O operations per second is specified
+- "iops_rd": read I/O operations per second is specified
+- "iops_wr": write I/O operations per second is specified
 Example:
--
1.7.11.7
SOURCES/kvm-QMP-Forward-port-__com.redhat_drive_add-from-RHEL-6.patch
New file
@@ -0,0 +1,203 @@
From 75ad257a1d23dcbde364ad736770d1bd01f157b6 Mon Sep 17 00:00:00 2001
Message-Id: <75ad257a1d23dcbde364ad736770d1bd01f157b6.1387385974.git.minovotn@redhat.com>
In-Reply-To: <7cba796b16325e96d01e65bd265b4073ab103157.1387385974.git.minovotn@redhat.com>
References: <7cba796b16325e96d01e65bd265b4073ab103157.1387385974.git.minovotn@redhat.com>
From: Markus Armbruster <armbru@redhat.com>
Date: Tue, 17 Dec 2013 06:46:36 +0100
Subject: [PATCH 2/5] QMP: Forward-port __com.redhat_drive_add from RHEL-6
RH-Author: Markus Armbruster <armbru@redhat.com>
Message-id: <1387262799-10350-4-git-send-email-armbru@redhat.com>
Patchwork-id: 56294
O-Subject: [PATCH v2 3/6] QMP: Forward-port __com.redhat_drive_add from RHEL-6
Bugzilla: 889051
RH-Acked-by: Fam Zheng <famz@redhat.com>
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
From: Markus Armbruster <armbru@redhat.com>
Code taken from RHEL-6 as of qemu-kvm-0.12.1.2-2.418.el6, backported
and fixed up as follows:
* Update simple_drive_add() for commit 4e89978 "qemu-option:
  qemu_opts_from_qdict(): use error_set()".
* Update simple_drive_add() for commit 2d0d283 "Support default block
  interfaces per QEMUMachine".
* Add comment explaining drive_init() error reporting hacks to
  simple_drive_add().
* qemu-monitor.hx has been split into qmp-commands.hx and
  hmp-commands.hx.  Copy the QMP parts to qmp-commands.hx.  Clean up
  second example slightly.
* Trailing whitespace cleaned up.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 device-hotplug.c          | 73 +++++++++++++++++++++++++++++++++++++++++++++++
 include/sysemu/blockdev.h |  2 ++
 qmp-commands.hx           | 46 +++++++++++++++++++++++++++++
 3 files changed, 121 insertions(+)
Signed-off-by: Michal Novotny <minovotn@redhat.com>
---
 device-hotplug.c          | 73 +++++++++++++++++++++++++++++++++++++++++++++++
 include/sysemu/blockdev.h |  2 ++
 qmp-commands.hx           | 46 +++++++++++++++++++++++++++++
 3 files changed, 121 insertions(+)
diff --git a/device-hotplug.c b/device-hotplug.c
index 103d34a..20f6b7f 100644
--- a/device-hotplug.c
+++ b/device-hotplug.c
@@ -77,3 +77,76 @@ err:
         drive_put_ref(dinfo);
     }
 }
+
+static void check_parm(const char *key, QObject *obj, void *opaque)
+{
+    static const char *valid_keys[] = {
+        "id", "cyls", "heads", "secs", "trans", "media", "snapshot",
+        "file", "cache", "aio", "format", "serial", "rerror", "werror",
+        "readonly", "copy-on-read",
+#ifdef CONFIG_BLOCK_IO_THROTTLING
+        "bps", "bps_rd", "bps_wr", "iops", "iops_rd", "iops_wr",
+#endif
+        NULL
+
+    };
+    int *stopped = opaque;
+    const char **p;
+
+    if (*stopped) {
+        return;
+    }
+
+    for (p = valid_keys; *p; p++) {
+        if (!strcmp(key, *p)) {
+            return;
+        }
+    }
+
+    qerror_report(QERR_INVALID_PARAMETER, key);
+    *stopped = 1;
+}
+
+int simple_drive_add(Monitor *mon, const QDict *qdict, QObject **ret_data)
+{
+    int stopped;
+    Error *local_err = NULL;
+    QemuOpts *opts;
+    DriveInfo *dinfo;
+
+    if (!qdict_haskey(qdict, "id")) {
+        qerror_report(QERR_MISSING_PARAMETER, "id");
+        return -1;
+    }
+
+    stopped = 0;
+    qdict_iter(qdict, check_parm, &stopped);
+    if (stopped) {
+        return -1;
+    }
+
+    opts = qemu_opts_from_qdict(&qemu_drive_opts, qdict, &local_err);
+    if (!opts) {
+        qerror_report_err(local_err);
+        error_free(local_err);
+        return -1;
+    }
+    qemu_opt_set(opts, "if", "none");
+    dinfo = drive_init(opts, current_machine->block_default_type);
+    if (!dinfo) {
+        /*
+         * drive_init() reports some errors with qerror_report_err(),
+         * and some with error_report().  The latter vanish without
+         * trace in monitor_vprintf().  See also the rather optimistic
+         * upstream commit 74ee59a.  Emit a generic error here.  If a
+         * prior error from qerror_report_err() is pending, it'll get
+         * ignored.
+         */
+        qerror_report(QERR_DEVICE_INIT_FAILED,
+                      qemu_opts_id(opts));
+        qemu_opts_del(opts);
+        return -1;
+    }
+
+    return 0;
+}
diff --git a/include/sysemu/blockdev.h b/include/sysemu/blockdev.h
index 1082091..74e1cea 100644
--- a/include/sysemu/blockdev.h
+++ b/include/sysemu/blockdev.h
@@ -67,4 +67,6 @@ void qmp_change_blockdev(const char *device, const char *filename,
                          bool has_format, const char *format, Error **errp);
 void do_commit(Monitor *mon, const QDict *qdict);
 int do_drive_del(Monitor *mon, const QDict *qdict, QObject **ret_data);
+
+int simple_drive_add(Monitor *mon, const QDict *qdict, QObject **ret_data);
 #endif
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 0ae9204..9e742d5 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -106,6 +106,52 @@ Example:
 Note: The "force" argument defaults to false.
 EQMP
+    {
+        .name       = RFQDN_REDHAT "drive_add",
+        .args_type  = "simple-drive:O",
+        .params     = "id=name,[file=file][,format=f][,media=d]...",
+        .help       = "Create a drive similar to -device if=none.",
+    .user_print = monitor_user_noop,
+        .mhandler.cmd_new = simple_drive_add,
+    },
+
+SQMP
+__com.redhat_drive_add
+----------------------
+
+Create a drive similar to -device if=none.
+
+Arguments:
+
+- "id": Drive ID, must be unique (json-string)
+- "file": Disk image (json-string, optional)
+- "format": Disk format (json-string, optional)
+- "aio": How to perform asynchronous disk I/O (json-string, optional)
+- "cache": Host cache use policy (json-string, optional)
+- "cyls", "heads", "secs": Disk geometry (json-int, optional)
+- "trans": BIOS translation mode (json-string, optional)
+- "media": Media type (json-string, optional)
+- "readonly": Open image read-only (json-bool, optional)
+- "rerror": What to do on read error (json-string, optional)
+- "werror": What to do on write error (json-string, optional)
+- "serial": Drive serial number (json-string, optional)
+- "snapshot": Enable snapshot mode (json-bool, optional)
+- "copy-on-read": Enable copy-on-read mode (json-bool, optional)
+
+Example:
+
+1. Add a drive without medium:
+
+-> { "execute": "__com.redhat_drive_add", "arguments": { "id": "foo" } }
+<- {"return": {}}
+
+2. Add a drive with medium:
+
+-> { "execute": "__com.redhat_drive_add",
+     "arguments": { "id": "bar", "file": "tmp.qcow2", "format": "qcow2" } }
+<- {"return": {}}
+
+EQMP
     {
         .name       = RFQDN_REDHAT "drive_del",
--
1.7.11.7
SOURCES/kvm-QMP-Forward-port-__com.redhat_drive_del-from-RHEL-6.patch
New file
@@ -0,0 +1,88 @@
From 7cba796b16325e96d01e65bd265b4073ab103157 Mon Sep 17 00:00:00 2001
Message-Id: <7cba796b16325e96d01e65bd265b4073ab103157.1387385974.git.minovotn@redhat.com>
From: Markus Armbruster <armbru@redhat.com>
Date: Tue, 17 Dec 2013 06:46:35 +0100
Subject: [PATCH 1/5] QMP: Forward-port __com.redhat_drive_del from RHEL-6
RH-Author: Markus Armbruster <armbru@redhat.com>
Message-id: <1387262799-10350-3-git-send-email-armbru@redhat.com>
Patchwork-id: 56292
O-Subject: [PATCH v2 2/6] QMP: Forward-port __com.redhat_drive_del from RHEL-6
Bugzilla: 889051
RH-Acked-by: Fam Zheng <famz@redhat.com>
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
From: Markus Armbruster <armbru@redhat.com>
Upstream has drive_del, but only in HMP.  The backport to RHEL-6 added
it to QMP as well.  Since the QMP command is a downstream extension,
it needs the __com.redhat_ prefix.  Since RHEL-6 doesn't have separate
definition of QMP and HMP commands, both the QMP and the HMP command
got the prefix.
RHEL-7 inherits HMP command drive_del from upstream.  Add QMP command
__com.redhat_drive_del for RHEL-6 compatibility.
If we needed similar compatibility for the HMP command, we'd have to
add __com.redhat_drive_del as alias for drive_del.  But we don't.
Code copied from RHEL-6's qemu-monitor.hx as of
qemu-kvm-0.12.1.2-2.418.el6.  It has a "drive_del" without the prefix
in the documentation.  Fixed here.  Hardly worth fixing in RHEL-6 now.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 qmp-commands.hx | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
Signed-off-by: Michal Novotny <minovotn@redhat.com>
---
 qmp-commands.hx | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
diff --git a/qmp-commands.hx b/qmp-commands.hx
index cedcd17..0ae9204 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -108,6 +108,37 @@ Note: The "force"&nb