]>
git.proxmox.com Git - pve-qemu-kvm.git/log
Wolfgang Bumiller [Mon, 13 Jul 2015 11:31:50 +0000 (13:31 +0200)]
Merge Alexandre's 2.4 updates for jemalloc.patch
Wolfgang Bumiller [Mon, 13 Jul 2015 11:27:33 +0000 (13:27 +0200)]
part 1 of 2.4 patch update series
Dietmar Maurer [Mon, 27 Jul 2015 08:01:51 +0000 (10:01 +0200)]
update to latest upstream (v2.4.0-rc2 + a few patches)
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>
Dietmar Maurer [Wed, 1 Jul 2015 04:17:08 +0000 (06:17 +0200)]
bump version to 2.3-6
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>
Dietmar Maurer [Fri, 19 Jun 2015 15:08:55 +0000 (17:08 +0200)]
bump version to 2.3-5
Alexandre Derumier [Fri, 19 Jun 2015 12:41:14 +0000 (14:41 +0200)]
use jemalloc as default memory allocator
(jemalloc support patch sent to qemu devel mailing list
http://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg05265.html
)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Wolfgang Bumiller [Thu, 18 Jun 2015 12:16:20 +0000 (14:16 +0200)]
Added patch for vvfat's file.label option
Dietmar Maurer [Thu, 18 Jun 2015 12:06:56 +0000 (14:06 +0200)]
bump version to 2.3-4
Alexandre Derumier [Wed, 17 Jun 2015 07:31:00 +0000 (09:31 +0200)]
remove tcmalloc default memory allocator
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Wed, 10 Jun 2015 15:48:49 +0000 (17:48 +0200)]
avoid compiler warnings
Dietmar Maurer [Wed, 10 Jun 2015 15:43:47 +0000 (17:43 +0200)]
set localstatedir=/var
Dietmar Maurer [Wed, 10 Jun 2015 15:33:44 +0000 (17:33 +0200)]
bump version to 2.3-3
Dietmar Maurer [Wed, 10 Jun 2015 15:32:35 +0000 (17:32 +0200)]
rename previous patch (cleanup)
w.link@proxmox.com [Wed, 10 Jun 2015 13:06:04 +0000 (15:06 +0200)]
add BlockDevice type to prevent warning.
The raw_bsd.c insert a check to warn when mounting BD, what has no device type.
Signed-off-by: w.link@proxmox.com <Wolfgang Link>
Dietmar Maurer [Wed, 10 Jun 2015 08:44:49 +0000 (10:44 +0200)]
bump version to 2.3-2
Alexandre Derumier [Wed, 10 Jun 2015 07:52:47 +0000 (09:52 +0200)]
tcmalloc : add depend on libgoogle-perftools4 not libtcmalloc-minimal4
qemu link to libtcmalloc.so not libtcmalloc_minimal.so
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Sat, 6 Jun 2015 07:28:37 +0000 (09:28 +0200)]
tcmalloc.patch: make it work without bash
Alexandre Derumier [Fri, 5 Jun 2015 11:46:51 +0000 (13:46 +0200)]
enable tcmalloc
This patch is already available in qemu 2.4, and can give an extra boost with librbd
with a lot of iops and reduce iops latencies
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 5 Jun 2015 05:31:25 +0000 (07:31 +0200)]
upload target: remove old debug package
Dietmar Maurer [Fri, 5 Jun 2015 05:04:45 +0000 (07:04 +0200)]
bump version to 2.3-1
Wolfgang Bumiller [Wed, 3 Jun 2015 07:27:31 +0000 (09:27 +0200)]
Update to v2.3.0
keymap.diff: removing last hunk
It only removes spaces, upstream already did that when
adding an assertion to it.
pve-auth.diff & fairsched.diff:
* dropped fairsched and moved vmid code to pve-auth.diff
* adapt pve-auth.diff to new qemu option parsing
virtio-balloon-fix-query.patch:
* merged ram_size -> get_current_ram_size() change
backup-modify-job-api.patch
* move new bdrv_op_unblock(target) into target guard
* fuzz/context fixup
* added NULL target checks to new places where necessary
(bdrv_op_is_blocked is now used on the target in
backup_start)
* annotated some hunks with their function
* applied same backup_start fixup of qmp_drive_backup to
the new qmp_blockdev_backup (introduced in
c29c1dd3 )
disable-efi-enable-pxe-roms.patch: fuzz/context fixup
virtio-balloon-dimmfix1.patch: is now upstream
virtio-balloon-dimmfix2.patch: is now upstream
virtio-balloon-dimmfix3.patch:
merged into virtio-balloon-fix-query.patch
virtio-scsi_fix_assert.patch: is now upstream
backup-add-dir-format.patch,
backup-add-pve-monitor-commands.patch,
internal-snapshot-async.patch:
* Convert bdrv_find to blk_by_name
bdrv_find was dropped and the code now uses blk_by_name
and blk_bs
internal-snapshot-async.patch:
* fuzz/context fixups
* added missing sysemu/block-backend.h for blk_by_name
Dietmar Maurer [Fri, 5 Jun 2015 05:03:18 +0000 (07:03 +0200)]
update qemu sources to 2.3.0
Wolfgang Bumiller [Thu, 21 May 2015 12:08:09 +0000 (14:08 +0200)]
Added patch to make ipv6 life easier.
Copy of the patch notes:
[PATCH] friendlier ai_flag hints for ipv6 hosts
*) Do not use AI_ADDRCONFIG on listening sockets, because this flag
makes it impossible to explicitly listen on '127.0.0.1' if no global
ipv4 address is configured additionally, making this a very
uncomfortable option.
*) Add AI_V4MAPPED hint for connecting sockets for a similar purpose.
If your system is globally only connected via ipv6 you still want to be
able to use '127.0.0.1' and 'localhost'.
Specifically, PVE - unless explicitly asking for insecure mode - uses
loopback addresses with QEMU for live migrations tunneled over SSH.
These fail to start because AI_ADDRCONFIG makes getaddrinfo refuse to
work with '127.0.0.1'.
As for the AI_V4MAPPED flag the situation is similar.
I also want to point out that glibc explicitly sidesteps POSIX standards
when passing 0 as hints by then assuming both AI_V4MAPPED and
AI_ADDRCONFIG (the latter being a rather weird choice IMO), while
according to POSIX.1-2001 it should be assumed 0. (glibc considers its
choice an improvement.)
Since either AI_CANONNAME or AI_PASSIVE are passed in our cases, glibc's
default flags in turn are disabled again unless explicitly added, which
I do with this patch.
Dietmar Maurer [Thu, 2 Apr 2015 04:56:41 +0000 (06:56 +0200)]
fix lintian warnings for debug package
Dietmar Maurer [Thu, 2 Apr 2015 04:46:44 +0000 (06:46 +0200)]
also install/upload debug package by default
spriebe [Wed, 1 Apr 2015 09:24:51 +0000 (11:24 +0200)]
add dbg package / disable strip for qemu
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Stefan Priebe [Mon, 30 Mar 2015 10:34:28 +0000 (12:34 +0200)]
qemu 2.2.1: fix assert while resizing or hot plugging virtio scsi disks
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Dietmar Maurer [Tue, 31 Mar 2015 04:07:29 +0000 (06:07 +0200)]
fix typo
Dietmar Maurer [Wed, 11 Mar 2015 06:50:21 +0000 (07:50 +0100)]
update to 2.2.1
Alexandre Derumier [Mon, 9 Mar 2015 09:57:26 +0000 (10:57 +0100)]
fix ballooning with memory hotplug
patch1 && 2 are already in qemu upstream
patch3 fix proxmox patch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Conflicts:
debian/changelog
Dietmar Maurer [Sat, 28 Feb 2015 07:24:21 +0000 (08:24 +0100)]
depend on latest pve-libspice-server1 packages
Dietmar Maurer [Thu, 26 Feb 2015 11:54:34 +0000 (12:54 +0100)]
fix package dependencies for Debian Jessie
Dietmar Maurer [Tue, 24 Feb 2015 16:39:08 +0000 (17:39 +0100)]
bump version to 2.2-7
Dietmar Maurer [Mon, 29 Dec 2014 06:21:56 +0000 (07:21 +0100)]
bump version to 2.2-6
Dietmar Maurer [Mon, 29 Dec 2014 06:20:34 +0000 (07:20 +0100)]
fix backup_cancel
Dietmar Maurer [Thu, 11 Dec 2014 09:42:37 +0000 (10:42 +0100)]
bump version to 2.2-5
Wolfgang Link [Thu, 11 Dec 2014 09:13:12 +0000 (10:13 +0100)]
implement the command get_link_status to qemu-kve paket. so you can call per QMP. this funktion is not implemented in monitor. this command return the state of the given nic to check it. 1 for up 0 for down -1 for error
Signed-off-by: Wolfgang Link <wolfgang@linksystems.org>
Dietmar Maurer [Wed, 10 Dec 2014 05:20:15 +0000 (06:20 +0100)]
update to qemu v2.2.0
Dietmar Maurer [Fri, 5 Dec 2014 12:28:57 +0000 (13:28 +0100)]
update to qemu v2.2.0-rc5
Alexandre Derumier [Tue, 2 Dec 2014 11:52:54 +0000 (12:52 +0100)]
add numa support
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 28 Nov 2014 10:50:50 +0000 (11:50 +0100)]
bump version to 2.2-2
Alexandre Derumier [Fri, 21 Nov 2014 09:26:02 +0000 (10:26 +0100)]
vmstate snapshot : implement cancelled state V2
currently, if we cancel a active savevm job with savevm-end,
we don't close the vmstate file.
This implement a new state CANCELLED, which is setup if savevm-end is called
when savevm is ACTIVE
then, in the coroutine, if state CANCELLED is detected,
we call save_snapshot_completed() to properly close the file
then qmp_savevm_end to finish the job
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Thu, 20 Nov 2014 11:27:06 +0000 (12:27 +0100)]
run vma_writer_close_stream inside coroutine
Newer qemu (> 2.2.0-rc2) runs pvebackup_complete_cb from main loop,
But vma_writer_close_stream triggers an async write (flush), which
uses qemu_coroutine_yield(). This only works if called from a coroutine.
Dietmar Maurer [Thu, 20 Nov 2014 08:23:17 +0000 (09:23 +0100)]
update to qemu 2.2.0-rc2
Dietmar Maurer [Mon, 13 Oct 2014 08:20:03 +0000 (10:20 +0200)]
bump version to 2.1-10
Alexandre Derumier [Mon, 13 Oct 2014 07:18:03 +0000 (09:18 +0200)]
add support for xfs optimisations
enable support for write_zeroes and discard for images on xfs filesystem
(block/raw-posix.c)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 26 Sep 2014 09:28:57 +0000 (11:28 +0200)]
update to v2.1.2
Dietmar Maurer [Tue, 16 Sep 2014 10:55:09 +0000 (12:55 +0200)]
bump version to 2.1-8
Dietmar Maurer [Tue, 16 Sep 2014 10:52:43 +0000 (12:52 +0200)]
apply patches/hotfix for virtio-net migration problem in 2.1.1
Dietmar Maurer [Thu, 11 Sep 2014 07:27:46 +0000 (09:27 +0200)]
bump version to 2.1-7
Dietmar Maurer [Thu, 11 Sep 2014 07:26:36 +0000 (09:26 +0200)]
update sources to v2.1.1
Dietmar Maurer [Wed, 27 Aug 2014 08:09:02 +0000 (10:09 +0200)]
document why patch does not work
Dietmar Maurer [Tue, 26 Aug 2014 10:56:05 +0000 (12:56 +0200)]
bump version to 2.1-6
Dietmar Maurer [Tue, 26 Aug 2014 10:53:39 +0000 (12:53 +0200)]
gluster: allow to specify a backup server
Dietmar Maurer [Fri, 22 Aug 2014 11:28:47 +0000 (13:28 +0200)]
bump version to 2.1-5
Dietmar Maurer [Fri, 22 Aug 2014 11:27:37 +0000 (13:27 +0200)]
glusterfs: do not log to stdout when daemonized
Dietmar Maurer [Thu, 21 Aug 2014 06:21:19 +0000 (08:21 +0200)]
depend on new libiscsi4 and glusterfs libs
Dietmar Maurer [Thu, 7 Aug 2014 11:31:50 +0000 (13:31 +0200)]
bump version to 2.1-3
Dietmar Maurer [Thu, 7 Aug 2014 11:30:05 +0000 (13:30 +0200)]
snapshot: fix reference counting bug
Dietmar Maurer [Thu, 7 Aug 2014 09:57:43 +0000 (11:57 +0200)]
refresh quilt patch
Dietmar Maurer [Sat, 2 Aug 2014 13:10:08 +0000 (15:10 +0200)]
update to 2.1.0 final
Dietmar Maurer [Wed, 16 Jul 2014 10:19:23 +0000 (12:19 +0200)]
refresh quilt patches
Dietmar Maurer [Wed, 16 Jul 2014 09:55:36 +0000 (11:55 +0200)]
update to v2.1.0-rc2
Dietmar Maurer [Tue, 17 Jun 2014 04:15:58 +0000 (06:15 +0200)]
refresh all quilt patches
Dietmar Maurer [Thu, 12 Jun 2014 11:04:25 +0000 (13:04 +0200)]
update to latest qemu (commit
2a2c4830c0068d70443f3dddc4cc668f0c601b5c )
This fixes virtio-scsi boot problems on windows (seabios update)
Stefan Priebe [Thu, 5 Jun 2014 06:19:43 +0000 (08:19 +0200)]
fix another aio bug 0001-aio-fix-qemu_bh_schedule-bh-ctx-race-condition.patch
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Dietmar Maurer [Wed, 4 Jun 2014 04:11:11 +0000 (06:11 +0200)]
do not use gtk support
We do not want to depend on those libraries for now.
Stefan Priebe [Wed, 28 May 2014 19:48:11 +0000 (21:48 +0200)]
qemu 2.0.0: has a use after free bug in aio completion resulting in segfaults
details in 0001-aio-Fix-use-after-free-in-cancellation-path.patch
Dietmar Maurer [Mon, 5 May 2014 10:32:45 +0000 (12:32 +0200)]
depend on libiscsi2 (>= 1.11.0)
Dietmar Maurer [Mon, 5 May 2014 09:19:26 +0000 (11:19 +0200)]
refresh and enable debian/patches/keymap.diff
Dietmar Maurer [Mon, 5 May 2014 08:06:53 +0000 (10:06 +0200)]
refresh and enable debian/patches/disable-efi-enable-pxe-roms.patch
Dietmar Maurer [Mon, 5 May 2014 07:45:58 +0000 (09:45 +0200)]
refresh and enable debian/patches/backup-vma-allow-empty-backups.patch
Dietmar Maurer [Mon, 5 May 2014 07:44:53 +0000 (09:44 +0200)]
refresh and enable debian/patches/internal-snapshot-async.patch
Dietmar Maurer [Mon, 5 May 2014 07:42:12 +0000 (09:42 +0200)]
refresh and enable debian/patches/backup-vma-remove-async-queue.patch
Dietmar Maurer [Mon, 5 May 2014 07:41:33 +0000 (09:41 +0200)]
refresh and enable debian/patches/backup-vma-correctly-propagate-error.patch
Dietmar Maurer [Mon, 5 May 2014 07:40:44 +0000 (09:40 +0200)]
refresh and enable debian/patches/backup-do-not-return-errors-in-dump-callback.patch
Dietmar Maurer [Mon, 5 May 2014 07:40:01 +0000 (09:40 +0200)]
refresh and enable debian/patches/backup-add-dir-format.patch
Dietmar Maurer [Mon, 5 May 2014 07:32:13 +0000 (09:32 +0200)]
refresh and enable debian/patches/backup-add-pve-monitor-commands.patch
Dietmar Maurer [Mon, 5 May 2014 07:27:52 +0000 (09:27 +0200)]
refresh and enable debian/patches/backup-modify-job-api.patch
Dietmar Maurer [Mon, 5 May 2014 07:15:42 +0000 (09:15 +0200)]
enable debian/patches/backup-vma-restore-tolerate-a-size-difference-up-to-4M.patch
Dietmar Maurer [Mon, 5 May 2014 06:23:23 +0000 (08:23 +0200)]
enable debian/patches/backup-vma-add-dump-config.patch
Dietmar Maurer [Mon, 5 May 2014 06:22:27 +0000 (08:22 +0200)]
refresh and enable debian/patches/backup-add-vma-verify-command.patch
Dietmar Maurer [Mon, 5 May 2014 05:48:21 +0000 (07:48 +0200)]
refresh and enable debian/patches/backup-add-vma-binary.patch
Dietmar Maurer [Mon, 5 May 2014 05:42:47 +0000 (07:42 +0200)]
refresh and enable debian/patches/spice-use-pve-certs.patch
Dietmar Maurer [Mon, 5 May 2014 05:42:19 +0000 (07:42 +0200)]
refresh and enable debian/patches/modify-query-spice.patch
Dietmar Maurer [Mon, 5 May 2014 05:41:07 +0000 (07:41 +0200)]
refresh and enable debian/patches/modify-query-machines.patch
Dietmar Maurer [Mon, 5 May 2014 05:36:14 +0000 (07:36 +0200)]
refresh and enable debian/patches/set-cpu-model-to-kvm64.patch
Dietmar Maurer [Mon, 5 May 2014 05:35:37 +0000 (07:35 +0200)]
refresh and enable debian/patches/virtio-balloon-fix-query.patch
Dietmar Maurer [Mon, 5 May 2014 05:34:25 +0000 (07:34 +0200)]
refresh and enable debian/patches/enable-kvm-by-default.patch
Dietmar Maurer [Mon, 5 May 2014 05:33:41 +0000 (07:33 +0200)]
refresh and enable debian/patches/fix-qemu-img-snapshot-removal.patch
Dietmar Maurer [Mon, 5 May 2014 05:26:17 +0000 (07:26 +0200)]
enable vencrypt-auth-plain.patch
Dietmar Maurer [Mon, 5 May 2014 05:24:47 +0000 (07:24 +0200)]
refresh and enable debian/patches/pve-auth.patch
Dietmar Maurer [Mon, 5 May 2014 05:14:13 +0000 (07:14 +0200)]
refresh debian/patches/fairsched.diff
Dietmar Maurer [Mon, 5 May 2014 05:13:27 +0000 (07:13 +0200)]
refresh debian/patches/adjust-path.diff
Dietmar Maurer [Mon, 5 May 2014 05:03:34 +0000 (07:03 +0200)]
update sources to qemu 2.0 - disabled patches
I will re-enable patches step by step in the following commits.
Bump version to 2.0-1.
Dietmar Maurer [Tue, 22 Apr 2014 04:47:09 +0000 (06:47 +0200)]
bump version to 1.7-8
Dietmar Maurer [Tue, 22 Apr 2014 04:45:12 +0000 (06:45 +0200)]
add virtio-net-fix-guest-triggerable-buffer-overrun-CVE-2014-0150.patch
Dietmar Maurer [Mon, 14 Apr 2014 09:13:47 +0000 (11:13 +0200)]
bump version to 1.7-7