Re: [Qemu-devel] [PATCH v6 3/9] vdi: Use QEMU UUID API

2016-09-17 Thread Stefan Weil
On 08/17/16 09:28, Fam Zheng wrote: The UUID operations we need from libuuid is fully supported by QEMU UUID implementation. Use it, and remove the unused code. See Eric's annotation. Signed-off-by: Fam Zheng --- block/vdi.c | 73 ++--

Re: [Qemu-devel] [PATCH] vfio: Fix regression in MSI routing configuration

2016-09-17 Thread Peter Xu
Good to know that we have a solution. :) I think this is a good fix, however I still do not understand why this is happening... Please see below comment. On Thu, Sep 15, 2016 at 04:11:48PM +1000, David Gibson wrote: > d1f6af6 "kvm-irqchip: simplify kvm_irqchip_add_msi_route" was a cleanup > of kv

Re: [Qemu-devel] [PATCH] CAN bus MIOe-3680 PCI (dual SJA1000 channel) emulation added.

2016-09-17 Thread Deniz Eren
Hi Pavel, Thank you for the merge - CAN-bus support for QEMU is very important in my opinion. Most embedded applications utilise CAN and virtualising this interface gives an amazing integration test harness. Best regards, Deniz Sent from my iPhone Deniz Eren +61 400 307 762 > On 9 Sep. 201

[Qemu-devel] [PATCH v8 10/12] uuid: Tighten uuid parse

2016-09-17 Thread Fam Zheng
sscanf is relatively loose (tolerate) on some invalid formats that we should fail instead of generating a wrong uuid structure, like with whitespaces and short strings. Add and use a helper function to first check the format. Signed-off-by: Fam Zheng --- util/uuid.c | 24 +++

[Qemu-devel] [PATCH v8 04/12] vdi: Use QEMU UUID API

2016-09-17 Thread Fam Zheng
The UUID operations we need from libuuid are fully supported by QEMU UUID implementation. Use it, and remove the unused code. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- block/vdi.c | 73 ++--- 1 file changed, 17 insertions(+), 56

[Qemu-devel] [PATCH v8 03/12] vhdx: Use QEMU UUID API

2016-09-17 Thread Fam Zheng
This removes our dependency to libuuid, so that the driver can always be built. Similar to how we handled data plane configure options, --enable-vhdx and --disable-vhdx are also changed to a nop with a message saying it's obsolete. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- block/Mak

[Qemu-devel] [PATCH v8 09/12] vl: Switch qemu_uuid to QemuUUID

2016-09-17 Thread Fam Zheng
Update all qemu_uuid users as well, especially get rid of the duplicated low level g_strdup_printf, sscanf and snprintf calls with QEMU UUID API. Since qemu_uuid_parse is quite tangled with qemu_uuid, its switching to QemuUUID is done here too to keep everything in sync and avoid code churn. Sign

[Qemu-devel] [PATCH v8 11/12] tests: Add uuid tests

2016-09-17 Thread Fam Zheng
Signed-off-by: Fam Zheng --- tests/Makefile.include | 2 + tests/test-uuid.c | 177 + 2 files changed, 179 insertions(+) create mode 100644 tests/test-uuid.c diff --git a/tests/Makefile.include b/tests/Makefile.include index 2f11064..15e7f8

[Qemu-devel] [PATCH v8 12/12] Add UUID files to MAINTAINERS

2016-09-17 Thread Fam Zheng
I understand that we've been keeping eyes on the uncovered files. Since I'm adding some more files I volunteer to look after them in the futuer. Signed-off-by: Fam Zheng --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7d43026..764d2e4 100

[Qemu-devel] [PATCH v8 07/12] tests: No longer dependent on CONFIG_UUID

2016-09-17 Thread Fam Zheng
crypto now uses built-in uuid implementation, so this check is not needed. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- tests/test-crypto-block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-crypto-block.c b/tests/test-crypto-block.c index a38110d..1957

[Qemu-devel] [PATCH v8 08/12] configure: Remove detection code for UUID

2016-09-17 Thread Fam Zheng
All code now uses built-in UUID implementation. Remove the code of libuuid and make --enable-uuid and --disable-uuid only print a message. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- configure | 43 --- 1 file changed, 4 insertions(+), 39 deletio

[Qemu-devel] [PATCH v8 01/12] util: Add UUID API

2016-09-17 Thread Fam Zheng
A number of different places across the code base use CONFIG_UUID. Some of them are soft dependency, some are not built if libuuid is not available, some come with dummy fallback, some throws runtime error. It is hard to maintain, and hard to reason for users. Since UUID is a simple standard with

[Qemu-devel] [PATCH v8 06/12] crypto: Switch to QEMU UUID API

2016-09-17 Thread Fam Zheng
The uuid generation doesn't return error, so update the function signature and calling code accordingly. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- crypto/block-luks.c | 26 +++--- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/crypto/block-luks.c b

[Qemu-devel] [PATCH v8 02/12] uuid: Make null_uuid static

2016-09-17 Thread Fam Zheng
So that it doesn't have to be zeroed at each call. Suggested-by: Eric Blake Signed-off-by: Fam Zheng --- util/uuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/uuid.c b/util/uuid.c index 6815904..f0c1eeb 100644 --- a/util/uuid.c +++ b/util/uuid.c @@ -40,7 +40,7 @@

[Qemu-devel] [PATCH v8 05/12] vpc: Use QEMU UUID API

2016-09-17 Thread Fam Zheng
Previously we conditionally generated footer->uuid, when libuuid was available. Now that we have a built-in implementation, we can switch to it. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- block/vpc.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/block/

[Qemu-devel] [PATCH v8 00/12] UUID clean ups for 2.8

2016-09-17 Thread Fam Zheng
v8: Fix patchew compiling failure on 32 bit mingw, using QEMU_PTR_IS_ALIGNED. v7: Address Eric's comments: 01, 03-09: Add Eric's r-b line. 01: Commit message syntax fix. Remove trailing comma in copyright header. Remove 'glib.h' inclusion. 02: New patch to make null_uui

Re: [Qemu-devel] [PATCH v7 00/12] UUID clean ups for 2.8

2016-09-17 Thread Fam Zheng
On Sat, 09/17 20:16, no-re...@ec2-52-6-146-230.compute-1.amazonaws.com wrote: > /tmp/qemu-test/src/util/uuid.c: In function 'qemu_uuid_bswap': > /tmp/qemu-test/src/util/uuid.c:110:7: error: cast from pointer to integer of > different size [-Werror=pointer-to-int-cast] > assert(QEMU_IS_ALIGNED

[Qemu-devel] [PATCH] Add resolutions via the command-line

2016-09-17 Thread G 3
Add the ability to add resolutions from the command-line. This patch works by looking for a property called 'resolutions' in the options node of OpenBIOS. If it is found all the resolutions are parsed and loaded. Example command-line: -prom-env resolutions=512x342,640x480,800x600,1024x600,12

[Qemu-devel] [PATCH v7 09/12] vl: Switch qemu_uuid to QemuUUID

2016-09-17 Thread Fam Zheng
Update all qemu_uuid users as well, especially get rid of the duplicated low level g_strdup_printf, sscanf and snprintf calls with QEMU UUID API. Since qemu_uuid_parse is quite tangled with qemu_uuid, its switching to QemuUUID is done here too to keep everything in sync and avoid code churn. Sign

[Qemu-devel] [PATCH v7 08/12] configure: Remove detection code for UUID

2016-09-17 Thread Fam Zheng
All code now uses built-in UUID implementation. Remove the code of libuuid and make --enable-uuid and --disable-uuid only print a message. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- configure | 43 --- 1 file changed, 4 insertions(+), 39 deletio

[Qemu-devel] [PATCH v7 06/12] crypto: Switch to QEMU UUID API

2016-09-17 Thread Fam Zheng
The uuid generation doesn't return error, so update the function signature and calling code accordingly. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- crypto/block-luks.c | 26 +++--- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/crypto/block-luks.c b

[Qemu-devel] [PATCH v7 04/12] vdi: Use QEMU UUID API

2016-09-17 Thread Fam Zheng
The UUID operations we need from libuuid are fully supported by QEMU UUID implementation. Use it, and remove the unused code. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- block/vdi.c | 73 ++--- 1 file changed, 17 insertions(+), 56

[Qemu-devel] [PATCH v7 12/12] Add UUID files to MAINTAINERS

2016-09-17 Thread Fam Zheng
I understand that we've been keeping eyes on the uncovered files. Since I'm adding some more files I volunteer to look after them in the futuer. Signed-off-by: Fam Zheng --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7d43026..764d2e4 100

[Qemu-devel] [PATCH v7 03/12] vhdx: Use QEMU UUID API

2016-09-17 Thread Fam Zheng
This removes our dependency to libuuid, so that the driver can always be built. Similar to how we handled data plane configure options, --enable-vhdx and --disable-vhdx are also changed to a nop with a message saying it's obsolete. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- block/Mak

[Qemu-devel] [PATCH v7 07/12] tests: No longer dependent on CONFIG_UUID

2016-09-17 Thread Fam Zheng
crypto now uses built-in uuid implementation, so this check is not needed. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- tests/test-crypto-block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-crypto-block.c b/tests/test-crypto-block.c index a38110d..1957

[Qemu-devel] [PATCH v7 11/12] tests: Add uuid tests

2016-09-17 Thread Fam Zheng
Signed-off-by: Fam Zheng --- tests/Makefile.include | 2 + tests/test-uuid.c | 177 + 2 files changed, 179 insertions(+) create mode 100644 tests/test-uuid.c diff --git a/tests/Makefile.include b/tests/Makefile.include index 2f11064..15e7f8

[Qemu-devel] [PATCH v7 02/12] uuid: Make null_uuid static

2016-09-17 Thread Fam Zheng
So that it doesn't have to be zeroed at each call. Suggested-by: Eric Blake Signed-off-by: Fam Zheng --- util/uuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/uuid.c b/util/uuid.c index 08a7fd3..2e47f4a 100644 --- a/util/uuid.c +++ b/util/uuid.c @@ -40,7 +40,7 @@

[Qemu-devel] [PATCH v7 10/12] uuid: Tighten uuid parse

2016-09-17 Thread Fam Zheng
sscanf is relatively loose (tolerate) on some invalid formats that we should fail instead of generating a wrong uuid structure, like with whitespaces and short strings. Add and use a helper function to first check the format. Signed-off-by: Fam Zheng --- util/uuid.c | 24 +++

[Qemu-devel] [PATCH v7 01/12] util: Add UUID API

2016-09-17 Thread Fam Zheng
A number of different places across the code base use CONFIG_UUID. Some of them are soft dependency, some are not built if libuuid is not available, some come with dummy fallback, some throws runtime error. It is hard to maintain, and hard to reason for users. Since UUID is a simple standard with

[Qemu-devel] [PATCH v7 05/12] vpc: Use QEMU UUID API

2016-09-17 Thread Fam Zheng
Previously we conditionally generated footer->uuid, when libuuid was available. Now that we have a built-in implementation, we can switch to it. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake --- block/vpc.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/block/

[Qemu-devel] [PATCH v7 00/12] UUID clean ups for 2.8

2016-09-17 Thread Fam Zheng
v7: Address Eric's comments: 01, 03-09: Add Eric's r-b line. 01: Commit message syntax fix. Remove trailing comma in copyright header. Remove 'glib.h' inclusion. 02: New patch to make null_uuid. 09: Fix missed qemu_uuid. Also update "qemu_uuid[]" to "qemu_uui

Re: [Qemu-devel] [RFC 00/13] Live memory snapshot based on userfaultfd

2016-09-17 Thread Hailiang Zhang
Hi Andrea, Any comments ? Thanks. On 2016/9/6 11:39, Hailiang Zhang wrote: Hi Andrea, I tested it with the new live memory snapshot with --enable-kvm, it doesn't work. To make things simple, I simplified the codes, only left the codes that can tested the write-protect capability. You can f

Re: [Qemu-devel] [PATCH v6 1/9] util: Add UUID API

2016-09-17 Thread Fam Zheng
On Sat, 09/17 16:29, Eric Blake wrote: > On 08/17/2016 02:28 AM, Fam Zheng wrote: > > A number of different places across the code base use CONFIG_UUID. Some > > of them are soft dependency, some are not built if libuuid is not > > available, some come with dummy fallback, some throws runtime error

Re: [Qemu-devel] [PATCH 2/2] aio: improve aio_poll performance by checking epoll only once

2016-09-17 Thread Yaowei Bai
On Wed, Sep 14, 2016 at 05:40:17PM +0100, Stefan Hajnoczi wrote: > On Wed, Sep 14, 2016 at 07:03:39AM -0400, Yaowei Bai wrote: > > As epoll whether enabled or not is a global setting, we can just > > check it only once rather than checking it with every node iteration. > > Through this we can avoid

[Qemu-devel] [PATCH] linux-user: fix mremap for 64bit targets on 32bit hosts

2016-09-17 Thread Felix Janda
Signed-off-by: Felix Janda --- linux-user/mmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/mmap.c b/linux-user/mmap.c index c4371d9..4882816 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -682,7 +682,7 @@ abi_long target_mremap(abi_ulong old_add

Re: [Qemu-devel] [PATCH v5 7/8] linux-user: Fix syslog() syscall support

2016-09-17 Thread Laurent Vivier
Le 14/09/2016 à 22:20, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > There are currently several problems related to syslog() support. > > For example, if the second argument "bufp" of target syslog() syscall > is NULL, the current implementation always returns error code EFAUL

Re: [Qemu-devel] [PATCH 0/2] pc: fixes broken compat logic

2016-09-17 Thread Longpeng (Mike)
Hi Igor, On 2016/9/14 18:01, Igor Mammedov wrote: > fixes mistakes made by: > > targte-i386: Add virtual L3 cache support > https://www.mail-archive.com/qemu-devel@nongnu.org/msg395418.html > > Igor Mammedov (2): > pc: fix regression introduced by adding 2.8 machine > target-i386: turn of

Re: [Qemu-devel] [PATCH v5 8/8] linux-user: Remove a duplicate item from strace.list

2016-09-17 Thread Laurent Vivier
Le 14/09/2016 à 22:20, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > There is a duplicate item in strace.list. It is benign, but it > shouldn't be there. It is the only duplicate in strace.list. This > patch removes it. > > Signed-off-by: Aleksandar Markovic > --- > linux-use

Re: [Qemu-devel] [PATCH v5 6/8] linux-user: Fix socketcall() syscall support

2016-09-17 Thread Laurent Vivier
Le 14/09/2016 à 22:19, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > do_socketcall() function in Qemu's syscalls.c is implemented to mirror > corespondant implementation of socketcall() in Linux kernel. (see kernel > source file net/socket.c, definition of socketcall). > > Howe

Re: [Qemu-devel] [PATCH v5 5/8] linux-user: Fix msgrcv() and msgsnd() syscalls support

2016-09-17 Thread Laurent Vivier
Le 14/09/2016 à 22:19, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > If syscalls msgrcv() and msgsnd() fail, they return E2BIG, EACCES, > EAGAIN, EFAULT, EIDRM, EINTR, EINVAL, ENOMEM, or ENOMSG. > > By examining negative scenarios of these syscalls for Mips, it was > establishe

Re: [Qemu-devel] [PATCH v5 4/8] linux-user: Add support for ustat() syscall

2016-09-17 Thread Laurent Vivier
Le 14/09/2016 à 22:19, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > This patch implements Qemu user mode ustat() syscall support. > > Syscall ustat() returns information about a mounted filesystem. > > The implementation is similar to the implementations of statfs(), > fstatf

Re: [Qemu-devel] [PATCH v5 3/8] linux-user: Add support for sysfs() syscall

2016-09-17 Thread Laurent Vivier
Le 14/09/2016 à 22:19, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > This patch implements Qemu user mode sysfs() syscall support. > > Syscall sysfs() involves returning information about the filesystem types > currently present in the kernel, and can operate in three distinct

Re: [Qemu-devel] [PATCH v5 2/8] linux-user: Add support for clock_adjtime() syscall

2016-09-17 Thread Laurent Vivier
Le 14/09/2016 à 22:19, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > This patch implements Qemu user mode clock_adjtime() syscall support. > > The implementation is based on invocation of host's clock_adjtime(), and is > very similar to the implementation of adjtimex() syscall

Re: [Qemu-devel] [PATCH v5 1/8] linux-user: Add support for adjtimex() syscall

2016-09-17 Thread Laurent Vivier
Le 17/09/2016 à 20:40, Laurent Vivier a écrit : > > > Le 14/09/2016 à 22:19, Aleksandar Markovic a écrit : >> static inline abi_long target_to_host_timespec(struct timespec *host_ts, >> abi_ulong target_addr) >> { >> @@ -9419,8 +9492,23 @@ abi_

[Qemu-devel] [PULL v2 6/8] blockdev: Modularize nfs block driver

2016-09-17 Thread Max Reitz
From: Colin Lord Modularizes the nfs block driver so that it gets dynamically loaded. Signed-off-by: Colin Lord Reviewed-by: Stefan Hajnoczi Message-id: 1471008424-16465-5-git-send-email-cl...@redhat.com Reviewed-by: Max Reitz Signed-off-by: Max Reitz --- block/Makefile.objs | 1 + configur

[Qemu-devel] [PULL v2 5/8] blockdev: Add dynamic module loading for block drivers

2016-09-17 Thread Max Reitz
From: Marc Mari Extend the current module interface to allow for block drivers to be loaded dynamically on request. The only block drivers that can be converted into modules are the drivers that don't perform any init operation except for registering themselves. In addition, only the protocol dr

[Qemu-devel] [PULL v2 8/8] iotest 055: refactor and speed up

2016-09-17 Thread Max Reitz
From: Vladimir Sementsov-Ogievskiy Source disk is created and filled with test data before each test case. Instead initialize it once for the whole unit. Test disk filling patterns are merged into one pattern. Also TestSetSpeed used different image_len for source and target (by mistake) - this

[Qemu-devel] [PULL v2 1/8] qemu-img: add the 'dd' subcommand

2016-09-17 Thread Max Reitz
From: Reda Sallahi This patch adds a basic dd subcommand analogous to dd(1) to qemu-img. For the start, this implements the bs, if, of and count options and requires both if and of to be specified (no stdin/stdout if not specified) and doesn't support tty, pipes, etc. The image format must be s

[Qemu-devel] [PULL v2 2/8] qemu-img: add skip option to dd

2016-09-17 Thread Max Reitz
From: Reda Sallahi This adds the skip option which allows qemu-img dd to skip a number of blocks before copying the input. A test case was added to test the skip option. Signed-off-by: Reda Sallahi Message-id: 20160810141609.32727-1-fullma...@gmail.com Signed-off-by: Max Reitz --- qemu-img-c

[Qemu-devel] [PULL v2 7/8] commit: get the overlay node before manipulating the backing chain

2016-09-17 Thread Max Reitz
From: Alberto Garcia The 'block-commit' command has a 'top' parameter to specify the topmost node from which the data is going to be copied. [E] <- [D] <- [C] <- [B] <- [A] In this case if [C] is the top node then this is the result: [E] <- [B] <- [A] [B] must be modified so its backing

[Qemu-devel] [PULL v2 4/8] blockdev: Add dynamic generation of module_block.h

2016-09-17 Thread Max Reitz
From: Marc Mari To simplify the addition of new block modules, add a script that generates module_block.h automatically from the modules' source code. This script assumes that the QEMU coding style rules are followed. Signed-off-by: Marc Marí Signed-off-by: Colin Lord Reviewed-by: Stefan Hajn

[Qemu-devel] [PULL v2 3/8] blockdev: prepare iSCSI block driver for dynamic loading

2016-09-17 Thread Max Reitz
From: Colin Lord This commit moves the initialization of the QemuOptsList qemu_iscsi_opts struct out of block/iscsi.c in order to allow the iscsi module to be dynamically loaded. Signed-off-by: Colin Lord Reviewed-by: Fam Zheng Reviewed-by: Stefan Hajnoczi Message-id: 1471008424-16465-2-git-s

[Qemu-devel] [PULL v2 0/8] Block layer patches

2016-09-17 Thread Max Reitz
The following changes since commit e3571ae30cd26d19efd4554c25e32ef64d6a36b3: Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20160916' into staging (2016-09-16 16:54:50 +0100) are available in the git repository at: git://github.com/XanClic/qemu.git tags/pull-block-2016-09-17 for y

Re: [Qemu-devel] [PATCH v6 9/9] tests: Add uuid tests

2016-09-17 Thread Eric Blake
On 08/17/2016 02:28 AM, Fam Zheng wrote: > Signed-off-by: Fam Zheng > --- > tests/Makefile.include | 2 + > tests/test-uuid.c | 173 > + > 2 files changed, 175 insertions(+) > create mode 100644 tests/test-uuid.c > > +}, { /* Double '

Re: [Qemu-devel] [PATCH v6 8/9] vl: Switch qemu_uuid to QemuUUID

2016-09-17 Thread Eric Blake
On 09/17/2016 04:38 PM, Eric Blake wrote: > On 08/17/2016 02:28 AM, Fam Zheng wrote: >> Update all qemu_uuid users as well, especially get rid of the duplicated >> low level g_strdup_printf, sscanf and snprintf calls with QEMU UUID API. >> >> Since qemu_uuid_parse is quite tangled with qemu_uuid, i

Re: [Qemu-devel] [PATCH v6 8/9] vl: Switch qemu_uuid to QemuUUID

2016-09-17 Thread Eric Blake
On 08/17/2016 02:28 AM, Fam Zheng wrote: > Update all qemu_uuid users as well, especially get rid of the duplicated > low level g_strdup_printf, sscanf and snprintf calls with QEMU UUID API. > > Since qemu_uuid_parse is quite tangled with qemu_uuid, it's switching to > QemuUUID is done here too to

Re: [Qemu-devel] [PATCH v6 5/9] crypto: Switch to QEMU UUID API

2016-09-17 Thread Eric Blake
On 08/17/2016 02:28 AM, Fam Zheng wrote: > The uuid generation doesn't return error, so update the function > signature and calling code accordingly. > > Signed-off-by: Fam Zheng > --- > crypto/block-luks.c | 26 +++--- > 1 file changed, 7 insertions(+), 19 deletions(-) > R

Re: [Qemu-devel] [PATCH v6 6/9] tests: No longer dependent on CONFIG_UUID

2016-09-17 Thread Eric Blake
On 08/17/2016 02:28 AM, Fam Zheng wrote: > crypto now uses built-in uuid implementation, so this check is not > needed. > > Signed-off-by: Fam Zheng > --- > tests/test-crypto-block.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Eric Blake -- Eric Blake eblake red

Re: [Qemu-devel] [PATCH v6 7/9] configure: Remove detection code for UUID

2016-09-17 Thread Eric Blake
On 08/17/2016 02:28 AM, Fam Zheng wrote: > All code now uses built-in UUID implementation. Remove the code of > libuuid and make --enable-uuid and --disable-uuid only print a message. > > Signed-off-by: Fam Zheng > --- > configure | 43 --- > 1 file change

Re: [Qemu-devel] [PULL 00/18] Block layer patches

2016-09-17 Thread Max Reitz
On 15.09.2016 18:10, Peter Maydell wrote: > On 14 September 2016 at 17:40, Max Reitz wrote: >> The following changes since commit 507e4ddc3abf67391bcbc9624fd60b969c159b78: >> >> Merge remote-tracking branch 'remotes/mjt/tags/trivial-patches-fetch' into >> staging (2016-09-13 17:55:35 +0100) >>

Re: [Qemu-devel] [PATCH v6 3/9] vdi: Use QEMU UUID API

2016-09-17 Thread Eric Blake
On 08/17/2016 02:28 AM, Fam Zheng wrote: > The UUID operations we need from libuuid is fully supported by QEMU UUID s/is/are/ > implementation. Use it, and remove the unused code. > > Signed-off-by: Fam Zheng > --- > block/vdi.c | 73 > ++---

Re: [Qemu-devel] [PATCH v6 4/9] vpc: Use QEMU UUID API

2016-09-17 Thread Eric Blake
On 08/17/2016 02:28 AM, Fam Zheng wrote: > Previously we conditionally generated footer->uuid, when libuuid was > available. Now that we have a built-in implementation, we can switch to > it. > > Signed-off-by: Fam Zheng > --- > block/vpc.c | 10 +++--- > 1 file changed, 3 insertions(+), 7 d

Re: [Qemu-devel] [PATCH v6 2/9] vhdx: Use QEMU UUID API

2016-09-17 Thread Eric Blake
On 08/17/2016 02:28 AM, Fam Zheng wrote: > This removes our dependency to libuuid, so that the driver can always be > built. > > Similar to how we handled data plane configure options, --enable-vhdx > and --disable-vhdx are also changed to a nop with a message saying it's > obsolete. > > Signed-o

Re: [Qemu-devel] [PATCH v8 07/10] hbitmap: serialization

2016-09-17 Thread Max Reitz
On 02.08.2016 02:12, John Snow wrote: > From: Vladimir Sementsov-Ogievskiy > > Functions to serialize / deserialize(restore) HBitmap. HBitmap should be > saved to linear sequence of bits independently of endianness and bitmap > array element (unsigned long) size. Therefore Little Endian is chosen

Re: [Qemu-devel] [PATCH v6 1/9] util: Add UUID API

2016-09-17 Thread Eric Blake
On 08/17/2016 02:28 AM, Fam Zheng wrote: > A number of different places across the code base use CONFIG_UUID. Some > of them are soft dependency, some are not built if libuuid is not > available, some come with dummy fallback, some throws runtime error. > > It is hard to maintain, and hard to reas

Re: [Qemu-devel] Adding resolutions to the VGA driver

2016-09-17 Thread G 3
On Sep 17, 2016, at 3:59 AM, Michael Tokarev wrote: 16.09.2016 11:37, Michael Fritscher wrote: Am 15.09.2016 um 19:21 schrieb Programmingkid: Following resolutions are also quite common: 1280x960 1280x1024 (Most LCD-Monitors in the 15-17 zoll range had this for a long time, also a standard

[Qemu-devel] [Bug 1624726] Re: Integrator/CP regression after QOM'ification of integratorcp.c

2016-09-17 Thread Jakub Jermar
** Bug watch added: Email to helenos-devel@lists # mailto:helenos-de...@lists.modry.cz ** Also affects: helenos via mailto:helenos-de...@lists.modry.cz Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is sub

[Qemu-devel] [Bug 1624726] [NEW] Integrator/CP regression after QOM'ification of integratorcp.c

2016-09-17 Thread Jakub Jermar
Public bug reported: The following command line no longer works (i.e. the guest does not boot) with QEMU 2.7.0: qemu-system-arm -M integratorcp -m 128M -kernel HelenOS-0.6.0-arm32-integratorcp.boot The HelenOS image can be downloaded here: http://www.helenos.org/releases/HelenOS-0.6.0-arm32

Re: [Qemu-devel] [PATCH v18 00/13] AVR target

2016-09-17 Thread Michael Rolnik
Thank you Richard. On Sat, Sep 17, 2016 at 1:00 AM, Richard Henderson wrote: > This is Michael's v17, with some adjustments of my own: > > (1) Fix the whitespace errors reported by "git am", > (2) Replace the utf-8 characters with normal ascii, > (3) Ditch the separate compilation of translate.

Re: [Qemu-devel] [PATCH v5 1/8] linux-user: Add support for adjtimex() syscall

2016-09-17 Thread Laurent Vivier
Le 14/09/2016 à 22:19, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > This patch implements Qemu user mode adjtimex() syscall support. > > Syscall adjtimex() reads and optionally sets parameters for a clock > adjustment algorithm used in network synchonization or similar scenari

Re: [Qemu-devel] [PATCH RFC v1 00/29] ARC cores

2016-09-17 Thread Michael Rolnik
H Alexey. Thanks. I need some help in getting a small code that exercises interrupts. For several years I wrote FW for ARC based platforms (ARC4 & ARC6), but it seems I forgot some of the things related to interrupts. I compiled FreeRTOS demo from embARC, however I could not find interrupt vector

[Qemu-devel] Parallel vcpu operation with qemu2.6.0 on KVM

2016-09-17 Thread Tech Linux
Hi All I am launching an x86 debian system as guest on my x86 host machine. The host is an 8-core, 2-socket machine booted with RHEL7 with KVM enabled. 2 PCI devices are being emulated on the guest. -I need to verify the concurrent operation of these PCI devices. PCI device A is designed in such a

[Qemu-devel] [PATCH 6/6] tests/tcg: Add tests-tcg hook in Makefile

2016-09-17 Thread Pranith Kumar
Signed-off-by: Pranith Kumar --- tests/Makefile.include | 1 + tests/tcg/Makefile.include | 34 ++ 2 files changed, 35 insertions(+) create mode 100644 tests/tcg/Makefile.include diff --git a/tests/Makefile.include b/tests/Makefile.include index 2f11064..5f3

[Qemu-devel] [PATCH 5/6] tests/tcg: Add and update Makefiles

2016-09-17 Thread Pranith Kumar
Signed-off-by: Pranith Kumar --- tests/tcg/alpha/Makefile | 38 +++-- tests/tcg/arm/Makefile | 28 +- tests/tcg/cris/Makefile | 17 +++-- tests/tcg/i386/Makefile | 23 +- tests/

[Qemu-devel] [PATCH 2/6] tests/tcg: Move arm tests to arch specific folder

2016-09-17 Thread Pranith Kumar
Signed-off-by: Pranith Kumar --- tests/tcg/arm/Makefile| 45 +++ tests/tcg/{ => arm}/hello-arm.c | 0 tests/tcg/{ => arm}/test-arm-iwmmxt.s | 0 3 files changed, 45 insertions(+) create mode 100644 tests/tcg/arm/Makefile rename tests/tcg/{

[Qemu-devel] [PATCH 4/6] tests/tcg: Create and populate misc tests for arch independent tests

2016-09-17 Thread Pranith Kumar
Signed-off-by: Pranith Kumar --- tests/tcg/misc/Makefile | 81 +++ tests/tcg/{ => misc}/linux-test.c | 3 ++ tests/tcg/{ => misc}/sha1.c | 0 tests/tcg/{ => misc}/test-mmap.c | 0 tests/tcg/{ => misc}/test_path.c | 0 tests/tcg/{ => misc}/

[Qemu-devel] [PATCH v3 0/6] Clean up TCG tests

2016-09-17 Thread Pranith Kumar
Hello, This patch series cleans up the tcg tests in tests/tcg folder. The tests have bit-rotten and were not compiling or running. I fixed the Makefiles to make them compile but there are tests which do not pass. The motivation is to add litmus tests to each arch and have them run using the 'mak

[Qemu-devel] [PATCH 1/6] tests/tcg: Move i386 tests to arch specific folder

2016-09-17 Thread Pranith Kumar
Signed-off-by: Pranith Kumar --- tests/tcg/Makefile | 156 tests/tcg/i386/Makefile | 88 ++ tests/tcg/{ => i386}/hello-i386.c | 9 +- tests/tcg/{ => i386}/pi_10.com | Bin tests/tcg/{ => i386}/

[Qemu-devel] [PATCH 3/6] tests/tcg: Move mips test to arch specific folder

2016-09-17 Thread Pranith Kumar
Signed-off-by: Pranith Kumar --- tests/tcg/{ => mips}/hello-mips.c | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/tcg/{ => mips}/hello-mips.c (100%) diff --git a/tests/tcg/hello-mips.c b/tests/tcg/mips/hello-mips.c similarity index 100% rename from tests/tcg/hello-mips.c rena

[Qemu-devel] Help wanted: QEMU Advent Calendar 2016

2016-09-17 Thread Thomas Huth
Hi all! This year, we are celebrating the 10th anniversary of KVM [1] (and the 25th anniversary of Linux), so to contribute to this celebration, we would like to reanimate the QEMU Advent Calendar. If you didn't see the previous QEMU Advent Calendar 2014 yet, have a look at http://www.qemu-a

[Qemu-devel] 答复: Re: [PATCH v2] object: Add 'help' option for all available backends and properties

2016-09-17 Thread Lin Ma
>>> "Daniel P. Berrange" 2016/9/12 星期一 下午 11:56 >>> >On Sun, Sep 11, 2016 at 01:53:01PM +0800, Lin Ma wrote: >> '-object help' prints available user creatable backends. >> '-object $typename,help' prints relevant properties. >> >> Signed-off-by: Lin Ma >> --- >> include/qom/object_interfaces.

[Qemu-devel] 答复: Re: [PATCH v2] object: Add 'help' option for all available backends and properties

2016-09-17 Thread Lin Ma
>>> Markus Armbruster 2016/9/12 星期一 下午 11:42 >>> >Lin Ma writes: > >> '-object help' prints available user creatable backends. >> '-object $typename,help' prints relevant properties. >> >> Signed-off-by: Lin Ma >> --- >> include/qom/object_interfaces.h | 2 + >> qemu-options.hx

Re: [Qemu-devel] Adding resolutions to the VGA driver

2016-09-17 Thread Michael Tokarev
16.09.2016 11:37, Michael Fritscher wrote: Am 15.09.2016 um 19:21 schrieb Programmingkid: Following resolutions are also quite common: 1280x960 1280x1024 (Most LCD-Monitors in the 15-17 zoll range had this for a long time, also a standard VESA Resolution) 1400x1050 1600x1200 (Many LCD-Monitors i