]> git.proxmox.com Git - pve-qemu-kvm.git/log
pve-qemu-kvm.git
7 years agoFix CVE-2016-4037
Wolfgang Bumiller [Mon, 25 Apr 2016 13:08:05 +0000 (15:08 +0200)]
Fix CVE-2016-4037

usb: Infinite loop vulnerability in usb_ehci using siTD process

8 years agobump version to 2.5-13
Dietmar Maurer [Thu, 14 Apr 2016 15:07:13 +0000 (17:07 +0200)]
bump version to 2.5-13

8 years agoFix 'i386: leakage of stack memory to guest in kvmvapic.c'
Wolfgang Bumiller [Thu, 14 Apr 2016 13:17:21 +0000 (15:17 +0200)]
Fix 'i386: leakage of stack memory to guest in kvmvapic.c'

8 years agobump version to 2.5-12
Dietmar Maurer [Wed, 13 Apr 2016 06:47:29 +0000 (08:47 +0200)]
bump version to 2.5-12

8 years agoFix #934: assume raw for /dev paths in vma extract
Wolfgang Bumiller [Tue, 12 Apr 2016 12:06:03 +0000 (14:06 +0200)]
Fix #934: assume raw for /dev paths in vma extract

8 years agoupdate changelog
Dietmar Maurer [Fri, 1 Apr 2016 10:03:14 +0000 (12:03 +0200)]
update changelog

8 years agoAdded: target-i386: do not read/write MSR_TSC_AUX from KVM if CPUID
Wolfgang Bumiller [Fri, 1 Apr 2016 08:18:34 +0000 (10:18 +0200)]
Added: target-i386: do not read/write MSR_TSC_AUX from KVM if CPUID

Fixes a freezing problelm when migrating from older qemu.

8 years agobump version to 2.5-11
Dietmar Maurer [Fri, 1 Apr 2016 08:09:59 +0000 (10:09 +0200)]
bump version to 2.5-11

8 years agoadd qemu 2.5.1 sources
Dietmar Maurer [Fri, 1 Apr 2016 08:08:58 +0000 (10:08 +0200)]
add qemu 2.5.1 sources

8 years agoupdate to 2.5.1
Wolfgang Bumiller [Fri, 1 Apr 2016 07:56:26 +0000 (09:56 +0200)]
update to 2.5.1

And removing the now unnecessary patches.

8 years agobump version to 2.5-10
Dietmar Maurer [Mon, 21 Mar 2016 08:48:11 +0000 (09:48 +0100)]
bump version to 2.5-10

8 years agoadd the zeroinit block driver filter
Wolfgang Bumiller [Fri, 18 Mar 2016 11:17:39 +0000 (12:17 +0100)]
add the zeroinit block driver filter

8 years agobump version to 2.5-9
Dietmar Maurer [Mon, 7 Mar 2016 16:08:42 +0000 (17:08 +0100)]
bump version to 2.5-9

8 years agoFix CVE-2016-2841, CVE-2016-2857, CVE-2016-2858
Wolfgang Bumiller [Mon, 7 Mar 2016 10:07:17 +0000 (11:07 +0100)]
Fix CVE-2016-2841, CVE-2016-2857, CVE-2016-2858

CVE-2016-2841: net: ne2000: check ring buffer control registers
CVE-2016-2857: net: check packet payload length
CVE-2016-2858: rng: add request queue support to rng-random

8 years agobump version to 2.5-8
Dietmar Maurer [Wed, 24 Feb 2016 15:28:56 +0000 (16:28 +0100)]
bump version to 2.5-8

8 years agoFix CVE-2016-2538
Wolfgang Bumiller [Wed, 24 Feb 2016 12:56:30 +0000 (13:56 +0100)]
Fix CVE-2016-2538

usb: check RNDIS message length
usb: check RNDIS buffer offsets & length

8 years agovma: better driver guessing for bdrv_open
Wolfgang Bumiller [Wed, 24 Feb 2016 12:56:16 +0000 (13:56 +0100)]
vma: better driver guessing for bdrv_open

8 years agobump version to 2.5-7
Dietmar Maurer [Fri, 19 Feb 2016 08:32:29 +0000 (09:32 +0100)]
bump version to 2.5-7

8 years agoadd fw_cfg-unbreak-migration-compatibility-for-2.4 patch
Alexandre Derumier [Fri, 19 Feb 2016 08:13:13 +0000 (09:13 +0100)]
add fw_cfg-unbreak-migration-compatibility-for-2.4 patch

This should fix migration from qemu 2.5 (machine 2.4) to qemu 2.4

http://lists.nongnu.org/archive/html/qemu-devel/2016-02/msg04310.html
https://forum.proxmox.com/threads/cant-live-migrate-after-dist-upgrade.26097/

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 2.5-6
Dietmar Maurer [Thu, 18 Feb 2016 08:45:04 +0000 (09:45 +0100)]
bump version to 2.5-6

8 years agoFix CVE-2016-2392
Wolfgang Bumiller [Wed, 17 Feb 2016 10:25:37 +0000 (11:25 +0100)]
Fix CVE-2016-2392

usb: check USB configuration descriptor object

8 years agoFix CVE-2016-2391: usb: ohci avoid multiple eof timers
Wolfgang Bumiller [Tue, 16 Feb 2016 15:18:55 +0000 (16:18 +0100)]
Fix CVE-2016-2391: usb: ohci avoid multiple eof timers

8 years agobump version to 2.5-5
Dietmar Maurer [Mon, 8 Feb 2016 10:38:38 +0000 (11:38 +0100)]
bump version to 2.5-5

8 years agoFix #885: vma-writer: don't bail out on zero length files
Wolfgang Bumiller [Mon, 8 Feb 2016 07:40:19 +0000 (08:40 +0100)]
Fix #885: vma-writer: don't bail out on zero length files

8 years agobump version to 2.5-4
Dietmar Maurer [Mon, 1 Feb 2016 16:16:36 +0000 (17:16 +0100)]
bump version to 2.5-4

8 years agoFix CVE-2016-2197 and CVE-2016-2198
Wolfgang Bumiller [Mon, 1 Feb 2016 09:57:25 +0000 (10:57 +0100)]
Fix CVE-2016-2197 and CVE-2016-2198

CVE-2016-2197: ide: ahci: add check before calling dma_memory_unmap
CVE-2016-2198: usb: ehci: add capability mmio write function

8 years agobump version to 2.5-3
Dietmar Maurer [Fri, 22 Jan 2016 08:09:53 +0000 (09:09 +0100)]
bump version to 2.5-3

8 years agoFix CVE-2016-1981
Wolfgang Bumiller [Fri, 22 Jan 2016 07:54:49 +0000 (08:54 +0100)]
Fix CVE-2016-1981

e1000: eliminate infinite loops on out-of-bounds transfer start

8 years agobump version to 2.5-2
Dietmar Maurer [Wed, 20 Jan 2016 07:41:16 +0000 (08:41 +0100)]
bump version to 2.5-2

8 years agoAdded CVE-2016-1922 and tlscreds use-after-free fix
Wolfgang Bumiller [Mon, 18 Jan 2016 10:21:29 +0000 (11:21 +0100)]
Added CVE-2016-1922 and tlscreds use-after-free fix

vnc: clear vs->tlscreds after unparenting it
CVE-2016-1922: i386: avoid null pointer dereference

8 years agobump version to 2.5
Wolfgang Bumiller [Mon, 18 Jan 2016 10:21:28 +0000 (11:21 +0100)]
bump version to 2.5

--disable-smartcard-nss is now --disable-smartcard

--enable-vnc-tls is gone
--enable-gnutls was added instead

8 years agoadding 2.5 pve patches and left-over extra fixes
Wolfgang Bumiller [Mon, 18 Jan 2016 10:21:27 +0000 (11:21 +0100)]
adding 2.5 pve patches and left-over extra fixes

8 years agomoving all old patches to the old/ directory
Wolfgang Bumiller [Mon, 18 Jan 2016 10:21:26 +0000 (11:21 +0100)]
moving all old patches to the old/ directory

8 years agoTwo more fixes
Wolfgang Bumiller [Mon, 11 Jan 2016 08:52:18 +0000 (09:52 +0100)]
Two more fixes

New version for CVE-2015-8619:
  hmp: fix sendkey out of bounds write (CVE-2015-8619)

And:
CVE-2016-1568: ide: ahci: reset ncq object to unused on error

8 years agobump version to 2.4-21
Dietmar Maurer [Mon, 11 Jan 2016 14:23:40 +0000 (15:23 +0100)]
bump version to 2.4-21

8 years agoclose #849: iproute is a transitional package for iproute2
Wolfgang Bumiller [Mon, 11 Jan 2016 08:51:27 +0000 (09:51 +0100)]
close #849: iproute is a transitional package for iproute2

8 years agobump version to 2.4-20
Dietmar Maurer [Fri, 8 Jan 2016 11:43:42 +0000 (12:43 +0100)]
bump version to 2.4-20

8 years agoRemoving wrong CVE-2015-8619
Wolfgang Bumiller [Fri, 8 Jan 2016 09:21:53 +0000 (10:21 +0100)]
Removing wrong CVE-2015-8619

It's not required and breaks 'sendkey' of combined keys such
as "ctrl-f1".

8 years agobump version to 2.4-19
Dietmar Maurer [Thu, 7 Jan 2016 10:13:20 +0000 (11:13 +0100)]
bump version to 2.4-19

8 years agoSeveral fixes
Wolfgang Bumiller [Thu, 7 Jan 2016 08:59:21 +0000 (09:59 +0100)]
Several fixes

CVE-2015-8613 scsi: initialise info object with appropriate size
CVE-2015-8619 hmp: avoid redundant null termination of buffer
CVE-2015-8666 acpi: fix buffer overrun on migration
CVE-2015-8701 net: rocker: fix an incorrect array bounds check
CVE-2015-8743 net: ne2000: fix bounds check in ioport operations
CVE-2015-8744 net/vmxnet3: Refine l2 header validation
CVE-2015-8745 vmxnet3: Support reading IMR registers on bar0

8 years agobump version to 2.4-18
Dietmar Maurer [Fri, 18 Dec 2015 08:13:00 +0000 (09:13 +0100)]
bump version to 2.4-18

8 years agofixes for CVEs 2015-7549, 2015-8858 and for vmxnet3
Wolfgang Bumiller [Tue, 15 Dec 2015 14:53:29 +0000 (15:53 +0100)]
fixes for CVEs 2015-7549, 2015-8858 and for vmxnet3

The third one has no number assigned yet but was reviewed
and is queued for 2.6 and probably also 2.5.1.

8 years agoset RELEASE=4.1
Dietmar Maurer [Wed, 9 Dec 2015 11:16:31 +0000 (12:16 +0100)]
set RELEASE=4.1

8 years agobump version to 2.4-17
Dietmar Maurer [Wed, 9 Dec 2015 11:12:22 +0000 (12:12 +0100)]
bump version to 2.4-17

8 years agoadded fix for CVE-2015-8504
Wolfgang Bumiller [Wed, 9 Dec 2015 08:46:48 +0000 (09:46 +0100)]
added fix for CVE-2015-8504

8 years agobump version to 2.4-16
Dietmar Maurer [Tue, 1 Dec 2015 08:52:06 +0000 (09:52 +0100)]
bump version to 2.4-16

8 years agoadded fixes for CVE-2015-7504 and CVE-2015-7512
Wolfgang Bumiller [Mon, 30 Nov 2015 12:18:47 +0000 (13:18 +0100)]
added fixes for CVE-2015-7504 and CVE-2015-7512

Affected components: pcnet (so not exposed via our GUI)

The patches were tagged for 2.5 but the code they're
modifying is still the same as it was in 2.4. They apply
and work.

8 years agorefactor qmp_backup
Wolfgang Link [Thu, 26 Nov 2015 10:23:38 +0000 (11:23 +0100)]
refactor qmp_backup

8 years agoadd firewall config to qmp_backup
Wolfgang Link [Thu, 26 Nov 2015 09:31:31 +0000 (10:31 +0100)]
add firewall config to qmp_backup

now it is possible to backup the firewall setting with qemu live backup

8 years agobump version to 2.4-15
Dietmar Maurer [Thu, 26 Nov 2015 06:57:06 +0000 (07:57 +0100)]
bump version to 2.4-15

8 years agochanged OVMF bios file permissions to 0644
Dietmar Maurer [Thu, 26 Nov 2015 06:55:50 +0000 (07:55 +0100)]
changed OVMF bios file permissions to 0644

8 years agoadd ovmf uefi roms V2
Alexandre Derumier [Sat, 21 Nov 2015 07:52:50 +0000 (08:52 +0100)]
add ovmf uefi roms V2

src : https://www.kraxel.org/repos/jenkins/edk2/edk2.git-ovmf-x64-0-20151117.b1317.g386cdfb.noarch.rpm

https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF

changelog:

add OVMF-pure-efi.fd instead OVMF-CODE-pure-efi.fd to have virtio support

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoadd reference to bug report
Dietmar Maurer [Mon, 9 Nov 2015 15:38:55 +0000 (16:38 +0100)]
add reference to bug report

8 years agobump version to 2.4-14
Dietmar Maurer [Mon, 9 Nov 2015 05:27:11 +0000 (06:27 +0100)]
bump version to 2.4-14

8 years agosavevm async : setup raw format by default fo vmstate file
Alexandre Derumier [Mon, 9 Nov 2015 02:58:07 +0000 (03:58 +0100)]
savevm async : setup raw format by default fo vmstate file

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 2.4-13
Dietmar Maurer [Fri, 6 Nov 2015 08:47:36 +0000 (09:47 +0100)]
bump version to 2.4-13

8 years agoupdate qemu to 2.4.1
Dietmar Maurer [Fri, 6 Nov 2015 08:46:18 +0000 (09:46 +0100)]
update qemu to 2.4.1

8 years agobump version to 2.4-12
Dietmar Maurer [Fri, 23 Oct 2015 07:42:37 +0000 (09:42 +0200)]
bump version to 2.4-12

8 years agodefine QEMU_PKGVERSION
Dietmar Maurer [Fri, 23 Oct 2015 07:41:40 +0000 (09:41 +0200)]
define QEMU_PKGVERSION

8 years agobump version to 2.4-11
Dietmar Maurer [Thu, 22 Oct 2015 06:47:22 +0000 (08:47 +0200)]
bump version to 2.4-11

8 years agoupdate ipxe binaries, re-enable efi pxe ROMs
Dietmar Maurer [Thu, 22 Oct 2015 06:45:31 +0000 (08:45 +0200)]
update ipxe binaries, re-enable efi pxe ROMs

8 years agobump version to 2.4-10
Dietmar Maurer [Tue, 13 Oct 2015 15:06:44 +0000 (17:06 +0200)]
bump version to 2.4-10

8 years agopve-qemu-kvm : block: mirror - fix full sync mode when target does not support zeroes...
Alexandre Derumier [Tue, 13 Oct 2015 13:55:01 +0000 (15:55 +0200)]
pve-qemu-kvm : block: mirror - fix full sync mode when target does not support zeroes init

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 2.4-9
Dietmar Maurer [Wed, 30 Sep 2015 07:34:34 +0000 (09:34 +0200)]
bump version to 2.4-9

8 years agoqemu :disable smm support
Alexandre Derumier [Wed, 30 Sep 2015 07:24:01 +0000 (09:24 +0200)]
qemu :disable smm support

kernel 4.2 and qemu 2.4 machine introduce support for SMM
(system management support).

this is needed to manage uefi inside guest.

But it seem to hang on a lot of servers.

So for now, disable the feature in qemu side.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoupdate to qemu 2.4.0.1, bump version to 2.4-8
Dietmar Maurer [Wed, 23 Sep 2015 04:45:57 +0000 (06:45 +0200)]
update to qemu 2.4.0.1, bump version to 2.4-8

8 years agobump version to 2.4-7
Dietmar Maurer [Sun, 20 Sep 2015 08:08:11 +0000 (10:08 +0200)]
bump version to 2.4-7

8 years agosavevm-async: move global_state_store to the end
Wolfgang Bumiller [Fri, 18 Sep 2015 11:56:26 +0000 (13:56 +0200)]
savevm-async: move global_state_store to the end

The migration process does it in the end, and since we work
asynchronously it makes more sense for us, too. (This also
seems to fix some size and performance issues that regular
'savevm' is currently still experiencing.)

8 years agobump version to 2.4-6
Dietmar Maurer [Tue, 15 Sep 2015 07:07:57 +0000 (09:07 +0200)]
bump version to 2.4-6

8 years agofix snapshot/rollback of running vm
Wolfgang Bumiller [Mon, 14 Sep 2015 13:33:59 +0000 (15:33 +0200)]
fix snapshot/rollback of running vm

updating the internal-snapshot-async.patch:
-) qemu now needs a savevm state header
-) global_state_store needs to be called before storing the
vmstate as of 560d027b.
-) migration_incoming_state_new must be called before
loading the vmstate as of bca7856a.

Fixes #694

8 years agobump version to 2.4-5
Dietmar Maurer [Wed, 9 Sep 2015 09:27:32 +0000 (11:27 +0200)]
bump version to 2.4-5

8 years agofix for empty vma archives (config only)
Dietmar Maurer [Wed, 9 Sep 2015 09:25:25 +0000 (11:25 +0200)]
fix for empty vma archives (config only)

We need to run the event loop correctly.

8 years agobump version to 2.4-4
Dietmar Maurer [Sat, 5 Sep 2015 08:15:17 +0000 (10:15 +0200)]
bump version to 2.4-4

8 years agoupdate qemu sources with reverted commit b8eb5512
Dietmar Maurer [Sat, 5 Sep 2015 08:12:18 +0000 (10:12 +0200)]
update qemu sources with reverted commit b8eb5512

8 years agofix q35 pci passthrough
Alexandre Derumier [Wed, 2 Sep 2015 04:49:33 +0000 (06:49 +0200)]
fix q35 pci passthrough

revert commit b8eb5512fd8a115f164edbbe897cdf8884920ccb

bug report:
http://forum.proxmox.com/threads/23346-Proxmox-4b1-q35-machines-failing-to-reboot-problems-with-PCI-passthrough

https://lists.gnu.org/archive/html/qemu-devel/2015-08/msg03281.html
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoadd depend on libjpeg62-turbo
Alexandre Derumier [Wed, 2 Sep 2015 04:49:32 +0000 (06:49 +0200)]
add depend on libjpeg62-turbo

previously on wheezy, we build qemu with libjpeg8. (qemu depend on libsdl, which depend on libjpeg)
But this package is missing is jessie (because of a last minute bug).

But that mean that upgrading from wheezy to jessie, keep the old wheezy libjpeg8. (and libjpeg8-dev).

So, it's better to add explicit depencines on libjpeg-dev and libjpeg62-turbo.  (like the official qemu debian package)
to force the upgrade of the libs.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 2.4-3
Dietmar Maurer [Thu, 13 Aug 2015 15:06:59 +0000 (17:06 +0200)]
bump version to 2.4-3

8 years agoadd mirror-fix-coroutine-reentrance.patch
Alexandre Derumier [Thu, 13 Aug 2015 13:16:12 +0000 (15:16 +0200)]
add mirror-fix-coroutine-reentrance.patch

This fix a regression introduced by qemu commit dcfb3beb ("mirror: Do zero
write on target if sectors not allocated").

This patch is not in final qemu 2.4 released.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoadd v2.4.0 sources
Dietmar Maurer [Thu, 13 Aug 2015 15:02:12 +0000 (17:02 +0200)]
add v2.4.0 sources

8 years agoinclude BSD license to avoid lintian warning
Dietmar Maurer [Sat, 8 Aug 2015 13:24:47 +0000 (15:24 +0200)]
include BSD license to avoid lintian warning

8 years agobump version to 2.4-2, update to upstream v2.4.0-rc4
Dietmar Maurer [Sat, 8 Aug 2015 13:16:09 +0000 (15:16 +0200)]
bump version to 2.4-2, update to upstream v2.4.0-rc4

8 years agoupdate to v2.4.0-rc3, bump version to 2.4-1
Dietmar Maurer [Thu, 30 Jul 2015 07:44:03 +0000 (09:44 +0200)]
update to v2.4.0-rc3, bump version to 2.4-1

8 years agobump version to 2.3-8
Dietmar Maurer [Wed, 29 Jul 2015 08:07:38 +0000 (10:07 +0200)]
bump version to 2.3-8

8 years agoupdate to latest upstream
Dietmar Maurer [Wed, 29 Jul 2015 08:06:33 +0000 (10:06 +0200)]
update to latest upstream

8 years agoremove mirror-sleep patches (now upstream)
Dietmar Maurer [Mon, 27 Jul 2015 08:24:13 +0000 (10:24 +0200)]
remove mirror-sleep patches (now upstream)

8 years agotarget-x86_64.conf was finally removed in 1b93c9a1
Wolfgang Bumiller [Tue, 14 Jul 2015 09:06:16 +0000 (11:06 +0200)]
target-x86_64.conf was finally removed in 1b93c9a1

8 years agowhitelist get_link_status to return a built-in
Wolfgang Bumiller [Mon, 13 Jul 2015 14:01:59 +0000 (16:01 +0200)]
whitelist get_link_status to return a built-in

Seems like a better approach than to encapsulate it in a
LinkStatus type.
Also fixed its example.

8 years agoadapt to nested-pause change: 751ebd76e6
Wolfgang Bumiller [Mon, 13 Jul 2015 13:39:47 +0000 (15:39 +0200)]
adapt to nested-pause change: 751ebd76e6

8 years agoupdate backup/blockdev patches
Wolfgang Bumiller [Mon, 13 Jul 2015 13:27:55 +0000 (15:27 +0200)]
update backup/blockdev patches

8 years agoerror_set updates according to 81e5f78a9f
Wolfgang Bumiller [Mon, 13 Jul 2015 12:37:30 +0000 (14:37 +0200)]
error_set updates according to 81e5f78a9f

also error_report was moved to another header

8 years agoMerged Alexandre's qmp-schema.json related updates
Wolfgang Bumiller [Mon, 13 Jul 2015 11:43:34 +0000 (13:43 +0200)]
Merged Alexandre's qmp-schema.json related updates

8 years agoupdating mirror-sleep patches again
Wolfgang Bumiller [Mon, 13 Jul 2015 11:36:04 +0000 (13:36 +0200)]
updating mirror-sleep patches again

8 years agomirror: Speed up bitmap initial scanning
Alexandre Derumier [Fri, 10 Jul 2015 14:21:43 +0000 (16:21 +0200)]
mirror: Speed up bitmap initial scanning

https://www.mail-archive.com/qemu-devel@nongnu.org/msg309500.html

replace my old mirror-sleep2.patch,

Fam Zheng from redhat has finally fix it in a better way.

mirror-sleep1.patch && mirror-sleep2.patch are not yet in qemu 2.4 master

mirror-sleep2 patch reference : http://patchwork.ozlabs.org/patch/471656/

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agoMerge Alexandre's 2.4 updates for jemalloc.patch
Wolfgang Bumiller [Mon, 13 Jul 2015 11:31:50 +0000 (13:31 +0200)]
Merge Alexandre's 2.4 updates for jemalloc.patch

8 years agopart 1 of 2.4 patch update series
Wolfgang Bumiller [Mon, 13 Jul 2015 11:27:33 +0000 (13:27 +0200)]
part 1 of 2.4 patch update series

8 years agoupdate to latest upstream (v2.4.0-rc2 + a few patches)
Dietmar Maurer [Mon, 27 Jul 2015 08:01:51 +0000 (10:01 +0200)]
update to latest upstream (v2.4.0-rc2 + a few patches)

8 years agomirror sleep : set sleep to SLICE_TIME/10 (10ms)
Alexandre Derumier [Thu, 2 Jul 2015 05:31:58 +0000 (07:31 +0200)]
mirror sleep : set sleep to SLICE_TIME/10 (10ms)

Current make too much sleep because

if (now - last_pause_ns > SLICE_TIME) {
         last_pause_ns = now;
         block_job_sleep_ns(&s->common, QEMU_CLOCK_REALTIME, SLICE_TIME);

so, we sleep SLICE_TIME, then at next iteration if lastpause("SLICE_TIME") > SLICE_TIME, we sleep again.
So, it almost always sleep at each iteration.

This patch set the sleep value to  SLICE_TIME/10.

I have benched it, I have very scanning speed without impacting vm performance.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 2.3-6
Dietmar Maurer [Wed, 1 Jul 2015 04:17:08 +0000 (06:17 +0200)]
bump version to 2.3-6

8 years agoqemu : add drive-mirror sleep patches
Alexandre Derumier [Wed, 1 Jul 2015 04:01:41 +0000 (06:01 +0200)]
qemu : add drive-mirror sleep patches

Currently when drive-mirror is starting,
the vm and qmp it's hanging on bitmap scanning phase (mainly with raw, nfs and block raw driver).

This patch do regular pause between each iteration

The initial patch from qemu mailing is working,but pause time is really too short,
so we still hang qmp hangs and qemu big slowdown.

I increase it to SLICE_TIME, which is 100ms by default

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
8 years agobump version to 2.3-5
Dietmar Maurer [Fri, 19 Jun 2015 15:08:55 +0000 (17:08 +0200)]
bump version to 2.3-5