]> git.proxmox.com Git - pve-qemu.git/log
pve-qemu.git
3 years agoFix dirty-bitmap PBS backup with multiple drives
Stefan Reiter [Tue, 14 Jul 2020 08:45:16 +0000 (10:45 +0200)]
Fix dirty-bitmap PBS backup with multiple drives

"PVE backup: rename incremental to use-dirty-bitmap" merged two
variables (use_dirty_bitmap and incremental) into one, but they served
two different purposes. Rename the original use_dirty_bitmap to
"expect_only_dirty" so the new one doesn't conflict, and rework "PVE:
use proxmox_backup_check_incremental" around that semantic.

In practice, this had the effect that only one disk at a time would
have a bitmap added, as after the first "use_dirty_bitmap" would be set
to one and the rest would behave as if the QMP parameter of the same
name was unset.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
3 years agobump version to 5.0.0-10
Wolfgang Bumiller [Fri, 10 Jul 2020 11:33:44 +0000 (13:33 +0200)]
bump version to 5.0.0-10

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agofix backup qmp parameters to pass along encryption info
Wolfgang Bumiller [Fri, 10 Jul 2020 11:31:50 +0000 (13:31 +0200)]
fix backup qmp parameters to pass along encryption info

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agobump version to 5.0.0-9
Thomas Lamprecht [Thu, 9 Jul 2020 11:18:48 +0000 (13:18 +0200)]
bump version to 5.0.0-9

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/control: update build-dependency of libproxmox-backup-qemu0-dev
Thomas Lamprecht [Thu, 9 Jul 2020 11:17:29 +0000 (13:17 +0200)]
d/control: update build-dependency of libproxmox-backup-qemu0-dev

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoPBS patches: block driver, adapat encrypt/compress param, add query-proxmox-support...
Thomas Lamprecht [Thu, 9 Jul 2020 11:15:49 +0000 (13:15 +0200)]
PBS patches: block driver, adapat encrypt/compress param, add query-proxmox-support QMP cmd

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 5.0.0-8
Thomas Lamprecht [Mon, 6 Jul 2020 20:58:53 +0000 (22:58 +0200)]
bump version to 5.0.0-8

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agofixup: proxmox_backup_check_incremental is negated
Thomas Lamprecht [Mon, 6 Jul 2020 20:58:30 +0000 (22:58 +0200)]
fixup: proxmox_backup_check_incremental is negated

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 5.0.0-7
Thomas Lamprecht [Mon, 6 Jul 2020 20:19:12 +0000 (22:19 +0200)]
bump version to 5.0.0-7

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoupdate/add PBS integration patches
Thomas Lamprecht [Mon, 6 Jul 2020 20:13:10 +0000 (22:13 +0200)]
update/add PBS integration patches

* rename "incremental" param to "use-dirty-bitmap", avoids confusion
  as the backup can be incrementally also with that param set to
  false.
* use new proxmox_backup_check_incremental
* fix setting dirty counter and adapt to new connect API semantic

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 5.0.0-6
Thomas Lamprecht [Fri, 3 Jul 2020 15:00:59 +0000 (17:00 +0200)]
bump version to 5.0.0-6

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agopbs: query-backup: set reused field also for dirty-bitmap
Thomas Lamprecht [Fri, 3 Jul 2020 17:25:31 +0000 (19:25 +0200)]
pbs: query-backup: set reused field also for dirty-bitmap

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agodebian/patches: squash some followup patches and regroup a bit more together
Thomas Lamprecht [Thu, 2 Jul 2020 11:07:28 +0000 (13:07 +0200)]
debian/patches: squash some followup patches and regroup a bit more together

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agofixup: qemu submodule should be at v5.0.0
Thomas Lamprecht [Thu, 2 Jul 2020 11:33:11 +0000 (13:33 +0200)]
fixup: qemu submodule should be at v5.0.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobackup: improve QAPI info and remove all dirty-bitmaps on failed drive-job
Thomas Lamprecht [Thu, 2 Jul 2020 11:03:44 +0000 (13:03 +0200)]
backup: improve QAPI info and remove all dirty-bitmaps on failed drive-job

effectively two commits merged as one:
https://pve.proxmox.com/pipermail/pve-devel/2020-July/044185.html
https://pve.proxmox.com/pipermail/pve-devel/2020-July/044194.html

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 5.0.0-5
Thomas Lamprecht [Tue, 30 Jun 2020 09:29:33 +0000 (11:29 +0200)]
bump version to 5.0.0-5

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/control: build depend on newer libproxmox-backup-qemu0-dev
Thomas Lamprecht [Tue, 30 Jun 2020 09:01:25 +0000 (11:01 +0200)]
d/control: build depend on newer libproxmox-backup-qemu0-dev

to ensure we have the new 'incremental' parameter for the
proxmox_backup_register_image and proxmox_backup_register_image_async
functions available

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoadd incremental backup patches
Dietmar Maurer [Tue, 30 Jun 2020 08:28:24 +0000 (10:28 +0200)]
add incremental backup patches

and fix typo: s/BPS/PBS/

3 years agofix #2794: Include legacy-igd passthrough fix
Stefan Reiter [Thu, 18 Jun 2020 14:36:52 +0000 (16:36 +0200)]
fix #2794: Include legacy-igd passthrough fix

See https://bugs.launchpad.net/qemu/+bug/1882784

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
3 years agoFix backup for not 64k-aligned storages
Thomas Lamprecht [Wed, 24 Jun 2020 14:21:39 +0000 (16:21 +0200)]
Fix backup for not 64k-aligned storages

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Roland Kammerer <roland.kammerer@linbit.com>
3 years agopbs-restore: flush verbose log before calling into library
Thomas Lamprecht [Tue, 2 Jun 2020 11:20:56 +0000 (13:20 +0200)]
pbs-restore: flush verbose log before calling into library

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 5.0.0-4
Thomas Lamprecht [Sat, 30 May 2020 13:25:42 +0000 (15:25 +0200)]
bump version to 5.0.0-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agopbs-restore: be more verbose if asked to
Thomas Lamprecht [Sat, 30 May 2020 14:06:01 +0000 (16:06 +0200)]
pbs-restore: be more verbose if asked to

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agosmall cleanups for pbs-restore
Thomas Lamprecht [Sat, 30 May 2020 13:24:11 +0000 (15:24 +0200)]
small cleanups for pbs-restore

Add trailing newline to two error messages, and drop an extra
unconditional `qdict_put_str(options, "driver", format);`
Besides that it's just formatting.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoinstall pbs-restore to usr/bin
Thomas Lamprecht [Sat, 30 May 2020 11:54:08 +0000 (13:54 +0200)]
install pbs-restore to usr/bin

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 5.0.0-3
Thomas Lamprecht [Wed, 27 May 2020 12:42:06 +0000 (14:42 +0200)]
bump version to 5.0.0-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agofix vmstate-snapshots with iothread=1
Thomas Lamprecht [Wed, 27 May 2020 12:40:46 +0000 (14:40 +0200)]
fix vmstate-snapshots with iothread=1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 5.0.0-2
Thomas Lamprecht [Mon, 4 May 2020 13:23:37 +0000 (15:23 +0200)]
bump version to 5.0.0-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoadd optional buffer size to QEMUFile
Wolfgang Bumiller [Mon, 4 May 2020 12:35:01 +0000 (14:35 +0200)]
add optional buffer size to QEMUFile

and use 4M for our savevm-async buffer size

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agoexperimentally move savevm-async back into a coroutine
Wolfgang Bumiller [Mon, 4 May 2020 12:35:00 +0000 (14:35 +0200)]
experimentally move savevm-async back into a coroutine

Move qemu_savevm_state_{header,setup} into the main loop and
the rest of the iteration into a coroutine. The former need
to lock the iothread (and we can't unlock it in the
coroutine), and the latter can't deal with being in a
separate thread, so a coroutine it must be.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agobump version to 5.0.0-1
Thomas Lamprecht [Wed, 29 Apr 2020 07:54:19 +0000 (09:54 +0200)]
bump version to 5.0.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 5.0.0~rc3-2
Thomas Lamprecht [Fri, 17 Apr 2020 07:11:27 +0000 (09:11 +0200)]
bump version to 5.0.0~rc3-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoavoid using QemuRecMutex inside coroutines, QemuMutex to lock outside
Thomas Lamprecht [Fri, 17 Apr 2020 06:17:59 +0000 (08:17 +0200)]
avoid using QemuRecMutex inside coroutines, QemuMutex to lock outside

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 5.0.0~rc3-1
Thomas Lamprecht [Thu, 16 Apr 2020 13:21:52 +0000 (15:21 +0200)]
bump version to 5.0.0~rc3-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agod/control: build deps; switch libcap to libcap-ng, add libattr
Thomas Lamprecht [Thu, 16 Apr 2020 14:53:09 +0000 (16:53 +0200)]
d/control: build deps; switch libcap to libcap-ng, add libattr

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopve backup: avoid using recursive mutex
Thomas Lamprecht [Thu, 16 Apr 2020 13:20:20 +0000 (15:20 +0200)]
pve backup: avoid using recursive mutex

Release the lock on qemu_coroutine_yield, so coroutines don't
deadlock.

Originally-by: Stefan Reiter <s.reiter@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agorebase patches onto v5.0.0-rc3
Thomas Lamprecht [Thu, 16 Apr 2020 13:19:31 +0000 (15:19 +0200)]
rebase patches onto v5.0.0-rc3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 5.0.0~rc2-1
Thomas Lamprecht [Wed, 8 Apr 2020 07:44:16 +0000 (09:44 +0200)]
bump version to 5.0.0~rc2-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoimport QEMU 5.0.0-rc2 and rebase patches
Thomas Lamprecht [Tue, 7 Apr 2020 14:53:19 +0000 (16:53 +0200)]
import QEMU 5.0.0-rc2 and rebase patches

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 4.2.0-2
Thomas Lamprecht [Wed, 25 Mar 2020 11:20:15 +0000 (12:20 +0100)]
bump version to 4.2.0-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopatches: move upstream cherry picked to extra folder, like we did in the past
Thomas Lamprecht [Mon, 23 Mar 2020 09:16:35 +0000 (10:16 +0100)]
patches: move upstream cherry picked to extra folder, like we did in the past

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoadd bitmap drive-mirror patches
Fabian Grünbichler [Tue, 17 Mar 2020 07:55:24 +0000 (08:55 +0100)]
add bitmap drive-mirror patches

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agovma_writer: Display more error information
Dominic Jäger [Thu, 19 Mar 2020 10:47:45 +0000 (11:47 +0100)]
vma_writer: Display more error information

Also print the reason why the function vma_writer_register_stream failed to
help debug errors like in [0].

[0] https://forum.proxmox.com/threads/backup-error-vma_writer_register_stream-drive-scsi0-failed-pve-6-1-7.65925/

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
Reviewed-by: Stefan Reiter <s.reiter@proxmox.com>
4 years agoslirp: re-add security patches
Oguz Bektas [Thu, 12 Mar 2020 12:21:41 +0000 (13:21 +0100)]
slirp: re-add security patches

the first two patches were mistakenly left out during the 4.2 qemu
rebase.

also adds another patch for issue CVE-2019-14378 (heap-based BOF)

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
4 years agofixup backup with io-threads
Dietmar Maurer [Thu, 12 Mar 2020 09:30:18 +0000 (10:30 +0100)]
fixup backup with io-threads

4 years agobump version to 4.2.0-1
Thomas Lamprecht [Wed, 11 Mar 2020 06:24:45 +0000 (07:24 +0100)]
bump version to 4.2.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoupdate submodule and patches for 4.2.0
Thomas Lamprecht [Tue, 10 Mar 2020 14:12:50 +0000 (15:12 +0100)]
update submodule and patches for 4.2.0

The long overdue nice rebase+cleanup was done by Dietmar

Originally-by: Dietmar Maurer <dietmar@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 4.1.1-4
Thomas Lamprecht [Fri, 6 Mar 2020 15:33:14 +0000 (16:33 +0100)]
bump version to 4.1.1-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agosecurity patches for libslirp CVE-2020-8608
Oguz Bektas [Thu, 6 Feb 2020 14:25:49 +0000 (15:25 +0100)]
security patches for libslirp CVE-2020-8608

original commits and email can be found here[0]

A out-of-bounds heap buffer access issue was found in the SLiRP
networking implementation of the QEMU emulator. It occurs in tcp_emu()
routine while emulating IRC and other protocols due to unsafe usage of
snprintf(3) function.

A user/process could use this flaw to crash the Qemu process on the host
resulting in DoS or potentially execute arbitrary code with privileges
of the QEMU process on the host.

[0]: https://seclists.org/oss-sec/2020/q1/64

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoadd patch for CVE-2019-20382 (vnc disconnect memory leak)
Oguz Bektas [Thu, 5 Mar 2020 12:29:13 +0000 (13:29 +0100)]
add patch for CVE-2019-20382 (vnc disconnect memory leak)

oss-security email can be found here[0]

upstream commit here[1]

this effects our vncproxy. dominik and me tested if the issue is present
on our branch and it appears that it is.
in essence when we disconnect from a vnc connection, the memory isn't
free'd afterwards which causes the qemu process to use more and more
memory with each disconnect, which could lead to a dos scenario.

we tested the patch and it seems to mitigate the problem.

[0]: https://seclists.org/oss-sec/2020/q1/105
[1]: https://git.qemu.org/?p=qemu.git;a=commitdiff;h=6bf21f3d83e95bcc4ba35a7a07cc6655e8b010b0

Tested-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
4 years agofix changelog release
Thomas Lamprecht [Tue, 18 Feb 2020 10:26:27 +0000 (11:26 +0100)]
fix changelog release

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 4.1.1-3
Dietmar Maurer [Tue, 18 Feb 2020 09:56:59 +0000 (10:56 +0100)]
bump version to 4.1.1-3

4 years agoimprove qemu backup by reducing lock contention
Dietmar Maurer [Tue, 18 Feb 2020 09:47:21 +0000 (10:47 +0100)]
improve qemu backup by reducing lock contention

- reducing lock contention by using CoRwLock
- correctly call aio_wait_kick()

4 years agofollowup: fix indentation
Thomas Lamprecht [Sat, 25 Jan 2020 15:17:23 +0000 (16:17 +0100)]
followup: fix indentation

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofix hmp info backup command
Tim Marx [Thu, 23 Jan 2020 10:32:15 +0000 (11:32 +0100)]
fix hmp info backup command

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agocorrect link to vma spec to new repository url
Tim Marx [Mon, 13 Jan 2020 11:59:16 +0000 (12:59 +0100)]
correct link to vma spec to new repository url

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agogrammar fix: s/does not exists/does not exist/g
Thomas Lamprecht [Fri, 13 Dec 2019 11:10:51 +0000 (12:10 +0100)]
grammar fix: s/does not exists/does not exist/g

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 4.1.1-2
Thomas Lamprecht [Fri, 29 Nov 2019 08:05:43 +0000 (09:05 +0100)]
bump version to 4.1.1-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofix #2478: record python3-minimal as build dependency
Thomas Lamprecht [Tue, 26 Nov 2019 12:07:51 +0000 (13:07 +0100)]
fix #2478: record python3-minimal as build dependency

Suggested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofix #2486: include fix for disk hot-resize regression (w/ iothread=1)
Stefan Reiter [Mon, 25 Nov 2019 11:38:15 +0000 (12:38 +0100)]
fix #2486: include fix for disk hot-resize regression (w/ iothread=1)

See: https://lists.nongnu.org/archive/html/qemu-devel/2019-09/msg03201.html

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
4 years agofixup patch author
Thomas Lamprecht [Mon, 25 Nov 2019 10:49:06 +0000 (11:49 +0100)]
fixup patch author

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 4.1.1-1
Thomas Lamprecht [Thu, 21 Nov 2019 07:25:42 +0000 (08:25 +0100)]
bump version to 4.1.1-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoallow to pass PVE version to machine
Thomas Lamprecht [Mon, 25 Nov 2019 08:12:41 +0000 (09:12 +0100)]
allow to pass PVE version to machine

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agohandle virtio-balloon cfg size compat with our 4.0 machines
Thomas Lamprecht [Fri, 22 Nov 2019 09:07:23 +0000 (10:07 +0100)]
handle virtio-balloon cfg size compat with our 4.0 machines

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoupdate diffs/indexes from patches
Thomas Lamprecht [Fri, 22 Nov 2019 09:05:29 +0000 (10:05 +0100)]
update diffs/indexes from patches

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoUpdate and rebase to QEMU 4.1.1
Stefan Reiter [Wed, 20 Nov 2019 14:45:37 +0000 (15:45 +0100)]
Update and rebase to QEMU 4.1.1

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
4 years agoApply fixups for 4.1
Stefan Reiter [Wed, 20 Nov 2019 14:45:36 +0000 (15:45 +0100)]
Apply fixups for 4.1

* Fix VMA tool build
* Change PVE code to new blockjob API
* Acquire missing lock for block_job_add_bdrv

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
4 years agoUpdate and rebase to QEMU 4.1
Stefan Reiter [Wed, 20 Nov 2019 14:45:35 +0000 (15:45 +0100)]
Update and rebase to QEMU 4.1

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
4 years agobump version to 4.0.1-5
Wolfgang Bumiller [Mon, 4 Nov 2019 13:24:55 +0000 (14:24 +0100)]
bump version to 4.0.1-5

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agofix backup speed regression
Wolfgang Bumiller [Mon, 4 Nov 2019 13:23:17 +0000 (14:23 +0100)]
fix backup speed regression

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 4.0.1-4
Thomas Lamprecht [Wed, 30 Oct 2019 16:14:06 +0000 (17:14 +0100)]
bump version to 4.0.1-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agovarious small pve backup co-routine related fixes
Thomas Lamprecht [Wed, 30 Oct 2019 15:03:56 +0000 (16:03 +0100)]
various small pve backup co-routine related fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 4.0.1-3
Thomas Lamprecht [Thu, 24 Oct 2019 06:50:26 +0000 (08:50 +0200)]
bump version to 4.0.1-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobackup: add various cleanups
Thomas Lamprecht [Thu, 24 Oct 2019 06:49:05 +0000 (08:49 +0200)]
backup: add various cleanups

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 4.0.1-2
Thomas Lamprecht [Wed, 23 Oct 2019 07:16:19 +0000 (09:16 +0200)]
bump version to 4.0.1-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agorun backup related code inside co-routines and improve locking
Thomas Lamprecht [Wed, 23 Oct 2019 07:14:42 +0000 (09:14 +0200)]
run backup related code inside co-routines and improve locking

Patches-by: Dietmar Maurer <dietmar@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 4.0.1-1
Thomas Lamprecht [Mon, 21 Oct 2019 15:09:53 +0000 (17:09 +0200)]
bump version to 4.0.1-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoupdate sources for v4.0.1
Thomas Lamprecht [Mon, 21 Oct 2019 15:08:28 +0000 (17:08 +0200)]
update sources for v4.0.1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofix #1071: use correct AioContext to cope with IOThreads
Dietmar Maurer [Mon, 21 Oct 2019 10:22:35 +0000 (12:22 +0200)]
fix #1071: use correct AioContext to cope with IOThreads

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
4 years agoWrite recognized CPUID flags into static file
Thomas Lamprecht [Thu, 17 Oct 2019 11:37:02 +0000 (13:37 +0200)]
Write recognized CPUID flags into static file

located at /usr/share/kvm/recognized-CPUID-flags-x86_64

It's a simple one flag per line list of all flags the build of QEMU
can understand for x86_64 CPUs.

It will be used in qemu-server for the custom CPU model feature.

For now, only x86_64 is implemented, since aarch64 doesn't print any flags when
called this way.

Co-developed-by: Stefan Reiter <s.reiter@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 4.0.0-7
Wolfgang Bumiller [Thu, 10 Oct 2019 09:04:20 +0000 (11:04 +0200)]
bump version to 4.0.0-7

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agodisable oob again
Wolfgang Bumiller [Thu, 10 Oct 2019 09:03:20 +0000 (11:03 +0200)]
disable oob again

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 4.0.0-6
Wolfgang Bumiller [Wed, 2 Oct 2019 08:11:54 +0000 (10:11 +0200)]
bump version to 4.0.0-6

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agomerge monitor oob fixup
Wolfgang Bumiller [Wed, 2 Oct 2019 08:10:27 +0000 (10:10 +0200)]
merge monitor oob fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 4.0.0-5
Wolfgang Bumiller [Tue, 6 Aug 2019 10:49:22 +0000 (12:49 +0200)]
bump version to 4.0.0-5

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agofix #2269: build: adapt to glusterfs changes
Fabian Grünbichler [Tue, 6 Aug 2019 09:13:47 +0000 (11:13 +0200)]
fix #2269: build: adapt to glusterfs changes

build-depend on Buster's re-introduced libglusterfs-dev, and depend on
either libglusterfs0 / libgfFOO (Debian repos) or glusterfs-common
(upstream community repos), until the latter gets fixed upstream.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 years agobump version to 4.0.0-4
Wolfgang Bumiller [Mon, 5 Aug 2019 09:22:46 +0000 (11:22 +0200)]
bump version to 4.0.0-4

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agomerge fix for CVE-2019-14378
Wolfgang Bumiller [Mon, 5 Aug 2019 09:22:09 +0000 (11:22 +0200)]
merge fix for CVE-2019-14378

merge: slirp: Fix heap overflow in ip_reass on big packet input

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 4.0.0-3
Wolfgang Bumiller [Thu, 11 Jul 2019 07:34:27 +0000 (09:34 +0200)]
bump version to 4.0.0-3

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agoupdate live migration patches
Wolfgang Bumiller [Thu, 11 Jul 2019 07:29:20 +0000 (09:29 +0200)]
update live migration patches

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
4 years agobump version to 4.0.0-2
Thomas Lamprecht [Thu, 4 Jul 2019 14:22:17 +0000 (16:22 +0200)]
bump version to 4.0.0-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agovirtio-balloon: use smaller config on older guests
Thomas Lamprecht [Thu, 4 Jul 2019 14:14:32 +0000 (16:14 +0200)]
virtio-balloon: use smaller config on older guests

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofix qemu PKGVERSION
Thomas Lamprecht [Tue, 2 Jul 2019 11:32:06 +0000 (13:32 +0200)]
fix qemu PKGVERSION

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 4.0.0-1
Thomas Lamprecht [Thu, 6 Jun 2019 10:59:30 +0000 (12:59 +0200)]
bump version to 4.0.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobuildsys: ensure docs (man pages) are build
Thomas Lamprecht [Tue, 25 Jun 2019 09:39:32 +0000 (11:39 +0200)]
buildsys: ensure docs (man pages) are build

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agodebian/rules: disable building with SDL integration
Thomas Lamprecht [Mon, 17 Jun 2019 13:42:35 +0000 (15:42 +0200)]
debian/rules: disable building with SDL integration

This was added once by accident, we do not really need it for Proxmox
VE, it could bring some value for testing but here one can build qemu
oneself too.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoupdate patches for v4.0.0
Thomas Lamprecht [Thu, 6 Jun 2019 10:58:15 +0000 (12:58 +0200)]
update patches for v4.0.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoupdate qemu submodule to v4.0.0
Thomas Lamprecht [Thu, 6 Jun 2019 10:58:33 +0000 (12:58 +0200)]
update qemu submodule to v4.0.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 3.0.1-62
Thomas Lamprecht [Fri, 14 Jun 2019 18:54:44 +0000 (20:54 +0200)]
bump version to 3.0.1-62

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agod/control: add libcurl4-gnutls-dev to build dependencies
Thomas Lamprecht [Fri, 14 Jun 2019 11:38:32 +0000 (13:38 +0200)]
d/control: add libcurl4-gnutls-dev to build dependencies

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>