Re: [Qemu-devel] [PATCH v5 1/1] crypto: add virtio-crypto driver

2016-12-03 Thread kbuild test robot
Hi Gonglei, [auto build test ERROR on cryptodev/master] [also build test ERROR on v4.9-rc7 next-20161202] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Gonglei/crypto-add-virtio-crypto-driver/2

[Qemu-devel] [PULL 1/4] target-mips: Fix Loongson pandn instruction.

2016-12-03 Thread Yongbok Kim
From: Heiher pandn FD, FS, FT Operation: FD = ((NOT FS) AND FT) Signed-off-by: Heiher Signed-off-by: Fuxin Zhang Reviewed-by: Yongbok Kim Signed-off-by: Yongbok Kim --- target-mips/translate.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/target-mips/translate.c b/

[Qemu-devel] [PULL 3/4] target-mips: Fix Loongson multimedia instructions.

2016-12-03 Thread Yongbok Kim
From: Heiher Needed to emit FPU exception on Loongson multimedia instructions executing if Status:CU1 is clear. or FPR changes may be missed on Linux. Signed-off-by: Heiher Signed-off-by: Fuxin Zhang Reviewed-by: Yongbok Kim Signed-off-by: Yongbok Kim --- target-mips/translate.c | 1 + 1 fi

[Qemu-devel] [PULL 2/4] target-mips: Fix Loongson multimedia 'or' instruction.

2016-12-03 Thread Yongbok Kim
From: Heiher Signed-off-by: Heiher Signed-off-by: Fuxin Zhang Reviewed-by: Yongbok Kim Signed-off-by: Yongbok Kim --- target-mips/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-mips/translate.c b/target-mips/translate.c index 5ad97c7..e26f742 100644 --

[Qemu-devel] [PULL 0/4] target-mips queue

2016-12-03 Thread Yongbok Kim
Hi, This is pull-req for target-mips. Regards, Yongbok The following changes since commit bd8ef5060dd2124a54578241da9a572faf7658dd: Merge remote-tracking branch 'dgibson/tags/ppc-for-2.8-20161201' into staging (2016-12-01 13:39:29 +) are available in the git repository at: git://gith

[Qemu-devel] [PULL 4/4] target-mips: fix bad shifts in {dextp|dextpdp}

2016-12-03 Thread Yongbok Kim
Fixed issues in the MIPSDSP64 instructions dextp and dextpdp. Shifting can go out of 32 bit range. https://bugs.launchpad.net/qemu/+bug/1631625 Reported-by: Thomas Huth Reported-by: Jia Liu Signed-off-by: Yongbok Kim Reviewed-by: Thomas Huth --- target-mips/dsp_helper.c | 4 ++-- 1 file chan

Re: [Qemu-devel] [PATCH 2/7] target-ppc: Implement unsigned quadword left/right shift and unit tests

2016-12-03 Thread Richard Henderson
On 12/02/2016 09:00 PM, Jose Ricardo Ziviani wrote: +++ b/include/qemu/host-utils.h @@ -29,6 +29,33 @@ #include "qemu/bswap.h" #ifdef CONFIG_INT128 +static inline void urshift(uint64_t *plow, uint64_t *phigh, uint32_t shift) +{ +__uint128_t val = ((__uint128_t)*phigh << 64) | *plow; +v

Re: [Qemu-devel] [RFC] target-ppc/fpu_helper.c: Use C99 code to speed up floating point unit

2016-12-03 Thread Richard Henderson
On 12/03/2016 09:07 AM, Programmingkid wrote: Yes it would be. The commit message never stated why he wanted to switch to floating point softfloat routines. These are my guesses: ... - Different hosts produced different results and instead wanted consistency? This is the correct answer. Ther

Re: [Qemu-devel] [PATCH v4 14/64] target-arm: Use new deposit and extract ops

2016-12-03 Thread Richard Henderson
On 12/01/2016 09:19 AM, Alex Bennée wrote: In fact we seem to have subtly reversed the test here but ri <= si is not exactly equivalent to si >= ri. My version is as follows: /* Recognize simple(r) extractions. */ if (si >= ri) { /* Wd = Wn */ len = (si - ri) + 1;

[Qemu-devel] [PATCH] qcow2: Discard/zero clusters by byte count

2016-12-03 Thread Eric Blake
Passing a byte offset, but sector count, when we ultimately want to operate on cluster granularity, is madness. Clean up the interfaces to take byte offset and count. Rename qcow2_discard_clusters() and qcow2_zero_clusters() to the shorter qcow2_discard() and qcow2_zero() to make sure backports d

[Qemu-devel] [PATCH for-2.8] qcow2: Don't strand clusters near 2G intervals during commit

2016-12-03 Thread Eric Blake
The qcow2_make_empty() function is reached during 'qemu-img commit', in order to clear out ALL clusters of an image. However, if the image cannot use the fast code path (true if the image is format 0.10, or if the image contains a snapshot), the cluster size is larger than 512, and the image is la

Re: [Qemu-devel] [RFC] target-ppc/fpu_helper.c: Use C99 code to speed up floating point unit

2016-12-03 Thread Programmingkid
On Dec 3, 2016, at 3:44 AM, Paolo Bonzini wrote: > > > On 03/12/2016 06:59, Programmingkid wrote: >> The floating point code used in fpu_helper.c can be sped up by using >> the IEEE 754 support added to the C99 standard. To test this code out >> simply set and unset the I_NEED_SPEED macro. The

Re: [Qemu-devel] New wiki page: http://wiki.qemu.org/Hosts

2016-12-03 Thread Programmingkid
On Dec 3, 2016, at 3:57 AM, Thomas Huth wrote: > On 02.12.2016 23:59, Programmingkid wrote: >> I thought we could use a Hosts page to sort all the host documentation we >> have. It is located here: http://wiki.qemu.org/Hosts > > Since it's documentation, shouldn't this rather go to > /Documenta

Re: [Qemu-devel] New wiki page: http://wiki.qemu.org/Hosts

2016-12-03 Thread Programmingkid
On Dec 3, 2016, at 3:41 AM, Paolo Bonzini wrote: > > > On 02/12/2016 23:59, Programmingkid wrote: >> I thought we could use a Hosts page to sort all the host documentation we >> have. It is located here: http://wiki.qemu.org/Hosts >> >> Here is what I have so far: >> >> AIX >> Darwin >> Free

[Qemu-devel] [PATCH v2 1/1] virtio crypto device specification: asymmetric crypto service

2016-12-03 Thread Xin Zeng
This patch introduces asymmetric crypto service into virtio crypto device spec. The asymmetric crypto service can be referred as signature, verification, encryption, decryption, key generation and key exchange. This patch depends on virtio crypto device spec patch: https://lists.gnu.org/archive/htm

Re: [Qemu-devel] [PATCH v1 1/1] virtio crypto device specification: asymmetric crypto service

2016-12-03 Thread Zeng, Xin
Hi, Lei: Thanks for the comments. On Wednesday, November 30, 2016 9:25 AM, Gonglei (Arei) wrote: > > > > > > \subsection{Device ID}\label{sec:Device Types / Crypto Device / Device ID} > > @@ -44,7 +44,9 @@ struct virtio_crypto_config { > > le32 mac_algo_l; > > le32 mac_algo_h; > >

Re: [Qemu-devel] [PATCH v3] doc: Add NBD_CMD_BLOCK_STATUS extension

2016-12-03 Thread Alex Bligh
> On 2 Dec 2016, at 20:39, John Snow wrote: > > OK. We do certainly support multiple bitmaps being active at a time in > QEMU, but I had personally always envisioned that you'd associate them > one-at-a-time when starting the NBD export of a particular device. > > I don't have a use case in my

Re: [Qemu-devel] [PATCH] target-mips: fix bad shifts in {dextp|dextpdp}

2016-12-03 Thread Thomas Huth
On 30.11.2016 17:44, Yongbok Kim wrote: > Fixed issues in the MIPSDSP64 instructions dextp and dextpdp. > Shifting can go out of 32 bit range. > > https://bugs.launchpad.net/qemu/+bug/1631625 > > Reported-by: Thomas Huth > Reported-by: Jia Liu > Signed-off-by: Yongbok Kim > --- > target-mips/

Re: [Qemu-devel] [PATCH 02/20] blockjob: introduce .drain callback for jobs

2016-12-03 Thread Paolo Bonzini
- Original Message - > From: "Vladimir Sementsov-Ogievskiy" > To: "Paolo Bonzini" , qemu-devel@nongnu.org > Cc: kw...@redhat.com, f...@redhat.com, stefa...@redhat.com > Sent: Friday, December 2, 2016 3:01:30 PM > Subject: Re: [Qemu-devel] [PATCH 02/20] blockjob: introduce .drain callback

Re: [Qemu-devel] New wiki page: http://wiki.qemu.org/Hosts

2016-12-03 Thread Thomas Huth
On 02.12.2016 23:59, Programmingkid wrote: > I thought we could use a Hosts page to sort all the host documentation we > have. It is located here: http://wiki.qemu.org/Hosts Since it's documentation, shouldn't this rather go to /Documentation/Hosts instead of /Hosts ? Thomas

Re: [Qemu-devel] [Xen-devel] [PATCH v2 4/4] 9pfs: introduce init_out/in_iov_from_pdu

2016-12-03 Thread Greg Kurz
On Fri, 2 Dec 2016 11:02:44 -0800 (PST) Stefano Stabellini wrote: > On Fri, 2 Dec 2016, Greg Kurz wrote: > > On Mon, 28 Nov 2016 13:27:24 -0800 > > Stefano Stabellini wrote: > > > > > Not all 9pfs transports share memory between request and response. For > > > those who don't, it is necessary

Re: [Qemu-devel] [RFC] target-ppc/fpu_helper.c: Use C99 code to speed up floating point unit

2016-12-03 Thread Paolo Bonzini
On 03/12/2016 06:59, Programmingkid wrote: > The floating point code used in fpu_helper.c can be sped up by using > the IEEE 754 support added to the C99 standard. To test this code out > simply set and unset the I_NEED_SPEED macro. The program to test out > each version of the helper_fmadd() fun

Re: [Qemu-devel] New wiki page: http://wiki.qemu.org/Hosts

2016-12-03 Thread Paolo Bonzini
On 02/12/2016 23:59, Programmingkid wrote: > I thought we could use a Hosts page to sort all the host documentation we > have. It is located here: http://wiki.qemu.org/Hosts > > Here is what I have so far: > > AIX > Darwin > FreeBSD, NetBSD, OpenBSD > Linux > Mac OS X > Solaris > Windows > S