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

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.

[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 ++---

[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

[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

[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.

[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

[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

[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

[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

[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

[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

[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

[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

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] >

[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

[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.

[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

[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

[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 ++---

[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

[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

[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

[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

[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

[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 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

[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

[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

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

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

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

[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

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

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

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:

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,

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

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

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,

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

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 @@

[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

[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,

[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

[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

[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:

[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

[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í

[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:

[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

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 > > +

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,

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

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

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

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

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

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

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. > >

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.

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

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

[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

[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:

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

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

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

[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

[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

[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

[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 |

[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

[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 |

[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

[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

[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 >>

[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 >> --- >>

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

Re: [Qemu-devel] [V17 3/4] hw/i386: Introduce AMD IOMMU

2016-09-17 Thread David Kiarie
On Sat, Sep 17, 2016 at 7:59 AM, David Kiarie wrote: > > > On 16/09/16 21:58, Michael S. Tsirkin wrote: > >> On Wed, Aug 31, 2016 at 07:17:42PM +0300, David Kiarie wrote: >> > Hi Michael, > > + >> +/* issue a PCIe completion packet for devid */ >> +typedef struct