[Qemu-devel] [PULL 1/9] docker: Add a glib2-2.22 image

2016-09-08 Thread Fam Zheng
It's a variation of our existing centos6, plus two more lines to downgrade glib2 to version 2.22 which we download from vault.centos.org. Suggested-by: Paolo Bonzini Signed-off-by: Fam Zheng Message-Id: <1470708908-12885-1-git-send-email-f...@redhat.com>

[Qemu-devel] [PULL 2/9] docker.py: don't hang on large docker output

2016-09-08 Thread Fam Zheng
From: Sascha Silbe Unlike Popen.communicate(), subprocess.call() doesn't read from the stdout file descriptor. If the child process produces more output than fits into the pipe buffer, it will block indefinitely. If we don't intend to consume the output, just send it

[Qemu-devel] [PULL 0/9] Docker patches

2016-09-08 Thread Fam Zheng
The following changes since commit 2926375cffce464fde6b4dabaed1e133d549af39: Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2016-09-06 17:18:17 +0100) are available in the git repository at: g...@github.com:famz/qemu tags/docker-pull-request for you to fetch

[Qemu-devel] [PULL 8/9] docker: build debootstrap after cloning

2016-09-08 Thread Fam Zheng
From: Sascha Silbe When using the git version of debootstrap (because no usable version of debootstrap was installed on the host), we need to run 'make' so that devices.tar.gz gets built. Otherwise the first debootstrap stage will fail without printing any error

Re: [Qemu-devel] [PATCH RFC] target-ppc: tlbie should have global effect

2016-09-08 Thread Benjamin Herrenschmidt
On Fri, 2016-09-09 at 10:38 +0530, Nikunj A Dadhania wrote: > One more question, when in gen_check_tlb_flush, don't I need to see > if other CPU has global flag set ? No, you leave it completely alone. You can clear it's local flag as part of the flush (in the MT-TCG case that can be done by the

Re: [Qemu-devel] [PATCH RFC] target-ppc: tlbie should have global effect

2016-09-08 Thread Nikunj A Dadhania
Benjamin Herrenschmidt writes: > On Fri, 2016-09-09 at 10:15 +0530, Nikunj A Dadhania wrote: >> > Benjamin Herrenschmidt writes: >> >> > >> > On Fri, 2016-09-09 at 09:53 +0530, Nikunj A Dadhania wrote: >> > > >> > > tlbie (and H_REMOVE for

Re: [Qemu-devel] [PATCH RFC] target-ppc: tlbie should have global effect

2016-09-08 Thread Benjamin Herrenschmidt
On Fri, 2016-09-09 at 15:00 +1000, Benjamin Herrenschmidt wrote: > > No it doesn't. > > When a "broadcast TLB" op happens, such as tlbie, you set both flags. > The existing one which just means the current CPU needs flushing, that > logic doesnt' change at all. > > The other one means that

Re: [Qemu-devel] [PATCH RFC] target-ppc: tlbie should have global effect

2016-09-08 Thread Benjamin Herrenschmidt
On Fri, 2016-09-09 at 10:15 +0530, Nikunj A Dadhania wrote: > > Benjamin Herrenschmidt writes: > > > > > On Fri, 2016-09-09 at 09:53 +0530, Nikunj A Dadhania wrote: > > > > > > tlbie (and H_REMOVE for pseries) should have a global effect. This is > > > achieved by

Re: [Qemu-devel] [PATCH RFC] target-ppc: tlbie should have global effect

2016-09-08 Thread Nikunj A Dadhania
Benjamin Herrenschmidt writes: > On Fri, 2016-09-09 at 09:53 +0530, Nikunj A Dadhania wrote: >> tlbie (and H_REMOVE for pseries) should have a global effect. This is >> achieved by iterating and setting tlb_need_flush in all the CPUs. >> >> Suggested-by: Benjamin

Re: [Qemu-devel] [PATCH RFC] target-ppc: tlbie should have global effect

2016-09-08 Thread Benjamin Herrenschmidt
On Fri, 2016-09-09 at 09:53 +0530, Nikunj A Dadhania wrote: > tlbie (and H_REMOVE for pseries) should have a global effect. This is > achieved by iterating and setting tlb_need_flush in all the CPUs. > > Suggested-by: Benjamin Herrenschmidt > Signed-off-by: Nikunj A

[Qemu-devel] [PATCH RFC] target-ppc: tlbie should have global effect

2016-09-08 Thread Nikunj A Dadhania
tlbie (and H_REMOVE for pseries) should have a global effect. This is achieved by iterating and setting tlb_need_flush in all the CPUs. Suggested-by: Benjamin Herrenschmidt Signed-off-by: Nikunj A Dadhania -- Note: Haven't changed following

Re: [Qemu-devel] [PATCH v4 0/3] Introduce IOMMUNotifier struct

2016-09-08 Thread no-reply
Hi, Your series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Type: series Message-id: 1473389864-19694-1-git-send-email-pet...@redhat.com Subject: [Qemu-devel] [PATCH v4 0/3] Introduce

Re: [Qemu-devel] [PATCH v9 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-08 Thread Gonglei (Arei)
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Friday, September 09, 2016 11:43 AM > Subject: Re: [PATCH v9 1/2] virtio-crypto: Add virtio crypto device > specification > > On Fri, Sep 09, 2016 at 02:42:41AM +, Gonglei (Arei) wrote: > > Hi Michael,

Re: [Qemu-devel] [PATCH v9 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-08 Thread Michael S. Tsirkin
On Fri, Sep 09, 2016 at 02:42:41AM +, Gonglei (Arei) wrote: > Hi Michael, > > > > -Original Message- > > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > Sent: Friday, September 09, 2016 12:44 AM > > Subject: Re: [PATCH v9 1/2] virtio-crypto: Add virtio crypto device > >

[Qemu-devel] [PATCH 2/3] migrate: Share common MigrationParameters struct

2016-09-08 Thread Eric Blake
It is rather verbose, and slightly error-prone, to repeat the same set of parameters for input (migrate-set-parameters) as for output (query-migrate-parameters), where the only difference is whether the members are optional. We can just document that the optional members will always be present on

[Qemu-devel] [PATCH 3/3] migrate: Use boxed qapi for migrate-set-parameters

2016-09-08 Thread Eric Blake
Now that QAPI makes it easy to pass a struct around, we don't have to declare as many parameters or local variables. Signed-off-by: Eric Blake --- qapi-schema.json | 2 +- hmp.c | 40 ++- migration/migration.c | 65

[Qemu-devel] [PATCH 1/3] migrate: Fix cpu-throttle-increment regression in HMP

2016-09-08 Thread Eric Blake
Commit 69ef1f3 accidentally broke migrate_set_parameter's ability to set the cpu-throttle-increment to anything other than the default, because it forgot to parse the user's string into an integer. CC: qemu-sta...@nongnu.org Signed-off-by: Eric Blake --- hmp.c | 1 + 1 file

[Qemu-devel] [PATCH 0/3] migrate: simplify migrate-set-parameters

2016-09-08 Thread Eric Blake
As promised earlier today, here's a patch series to simplify how one calls into qmp_migrate_set_parameters(). With this in place, Ashijeet's patches for the back-compat functions would look like: void qmp_migrate_set_speed(int64_t valuebw, Error **errp) { MigrationParameters *p = {

Re: [Qemu-devel] [PATCH v4] Move max-bandwidth and downtime-limit into migrate_set_parameter for both hmp and qmp

2016-09-08 Thread Eric Blake
On 09/08/2016 10:59 AM, Ashijeet Acharya wrote: > Mark old-commands for speed and downtime as deprecated. > Move max-bandwidth and downtime-limit into migrate-set-parameters for > setting maximum migration speed and expected downtime limit parameters > respectively. > Change downtime units to

[Qemu-devel] [PATCH v4 2/3] memory: introduce IOMMUOps.notify_flag_changed

2016-09-08 Thread Peter Xu
The new interface can be used to replace the old notify_started() and notify_stopped(). Meanwhile it provides explicit flags so that IOMMUs can know what kind of notifications it is requested for. Signed-off-by: Peter Xu --- hw/i386/intel_iommu.c | 6 --

[Qemu-devel] [PATCH v4 0/3] Introduce IOMMUNotifier struct

2016-09-08 Thread Peter Xu
V4: - change "notifier_caps" into "notifier_flags" [David] - rename IOMMU_NOTIFIER_{CHANGE|INVALIDATION} with MAP/UNMAP [David] - introduce IOMMUOps.notify_flag_changed, to replace notify_started and notify_stopped [David, Paolo] V3: - use QLIST instead of embedding Notifier into IOMMUNotifier

[Qemu-devel] [PATCH v4 3/3] intel_iommu: allow UNMAP notifiers

2016-09-08 Thread Peter Xu
Intel vIOMMU is still lacking of a complete IOMMU notifier mechanism. Before that is achieved, let's open a door for vhost DMAR support, which only requires cache invalidations (UNMAP operations). Meanwhile, converting hw_error() to error_report() and exit(1), to make the error messages clean and

[Qemu-devel] [PATCH v4 1/3] memory: introduce IOMMUNotifier and its caps

2016-09-08 Thread Peter Xu
IOMMU Notifier list is used for notifying IO address mapping changes. Currently VFIO is the only user. However it is possible that future consumer like vhost would like to only listen to part of its notifications (e.g., cache invalidations). This patch introduced IOMMUNotifier and

Re: [Qemu-devel] [PATCH] iothread: Stop threads before main() quits

2016-09-08 Thread Fam Zheng
On Thu, 09/08 11:34, Paolo Bonzini wrote: > > > On 08/09/2016 11:28, Fam Zheng wrote: > > Right after main_loop ends, we release various things but keep iothread > > alive. The latter is not prepared to the sudden change of resources. > > > > Specifically, after bdrv_close_all(), virtio-scsi

Re: [Qemu-devel] [PATCH v9 1/2] virtio-crypto: Add virtio crypto device specification

2016-09-08 Thread Gonglei (Arei)
Hi Michael, > -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Friday, September 09, 2016 12:44 AM > Subject: Re: [PATCH v9 1/2] virtio-crypto: Add virtio crypto device > specification > > On Thu, Sep 08, 2016 at 06:05:14PM +0800, Gonglei wrote: > > The

Re: [Qemu-devel] [PULL v2 00/18] tcg queued patches

2016-09-08 Thread Pranith Kumar
On Thu, Sep 8, 2016 at 7:49 PM, Pranith Kumar wrote: >> On 09/08/2016 10:15 AM, Richard Henderson wrote: >> Ho hum. I think I've mucked something up here too. >> Please ignore this pull. >> > > I think I found the error. It looks like the fence optimization patch > is

Re: [Qemu-devel] [PULL v2 00/18] tcg queued patches

2016-09-08 Thread Pranith Kumar
On Thu, Sep 8, 2016 at 4:38 PM, Richard Henderson wrote: > On 09/08/2016 10:15 AM, Richard Henderson wrote: >> >> Three unrelated patches and Pranith's memory barrier patch sets. >> >> The alignment patch is in support of Sparc's ldf instructions: >> 8 and 16-byte memory

Re: [Qemu-devel] [PATCH v4 RFC] block/vxhs: Initial commit to add Veritas HyperScale VxHS block device support

2016-09-08 Thread ashish mittal
>> Yes, qemu_iio_ioctl(VDISK_AIO_FLUSH) is only a place-holder at present >> in case we later want to add some functionality to it. I have now >> added a comment to this affect to avoid any confusion. >> > > The problem is you don't know which version of the qnio library any given > QEMU binary

[Qemu-devel] [PATCH RFC v1 28/29] target-arc: decode

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/decode.c | 2209 ++- 1 file changed, 2207 insertions(+), 2 deletions(-) diff --git a/target-arc/decode.c b/target-arc/decode.c index 1bb859a..0efc23d 100644 --- a/target-arc/decode.c

[Qemu-devel] [PATCH RFC v1 27/29] target-arc: LP

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/helper.h | 1 + target-arc/op_helper.c | 5 - target-arc/translate-inst.c | 40 target-arc/translate-inst.h | 2 ++ 4 files changed, 47 insertions(+), 1 deletion(-) diff

[Qemu-devel] [PATCH RFC v1 26/29] target-arc: RTIE

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/helper.h | 1 + target-arc/op_helper.c | 21 + target-arc/translate-inst.c | 10 ++ target-arc/translate-inst.h | 2 ++ 4 files changed, 34 insertions(+) diff --git a/target-arc/helper.h

[Qemu-devel] [PATCH RFC v1 29/29] target-arc: sample board

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- MAINTAINERS | 1 + hw/arc/Makefile.objs | 21 ++ hw/arc/sample.c | 80 3 files changed, 102 insertions(+) create mode 100644 hw/arc/Makefile.objs create mode

[Qemu-devel] [PATCH RFC v1 21/29] target-arc: ABSS, ABSSW, NEGS, NEGSW, RND16, SAT16

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 238 target-arc/translate-inst.h | 8 ++ 2 files changed, 246 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 25/29] target-arc: TRAP, SWI

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 105 target-arc/translate-inst.h | 4 ++ 2 files changed, 109 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 22/29] target-arc: ASLS, ASRS

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 57 + target-arc/translate-inst.h | 3 +++ 2 files changed, 60 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 24/29] target-arc: NOP, UNIMP

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 20 target-arc/translate-inst.h | 2 ++ 2 files changed, 22 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index 9d0f195..4c4318f 100644 ---

[Qemu-devel] [PATCH RFC v1 23/29] target-arc: FLAG, BRK, SLEEP

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/helper.h | 1 + target-arc/op_helper.c | 6 + target-arc/translate-inst.c | 61 + target-arc/translate-inst.h | 4 +++ 4 files changed, 72 insertions(+) diff --git

[Qemu-devel] [PATCH RFC v1 17/29] target-arc: B, BL

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 189 target-arc/translate-inst.h | 4 + 2 files changed, 193 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 16/29] target-arc: BBIT0, BBIT1, BR

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 136 target-arc/translate-inst.h | 35 2 files changed, 171 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 20/29] target-arc: ADDS, ADDSDW, SUBS, SUBSDW

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 227 target-arc/translate-inst.h | 4 + 2 files changed, 231 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 15/29] target-arc: MUL64, MULU64, DIVAW

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 105 target-arc/translate-inst.h | 4 ++ 2 files changed, 109 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 18/29] target-arc: J, JL

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 93 + target-arc/translate-inst.h | 3 ++ 2 files changed, 96 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 13/29] target-arc: NORM, NORMW

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/Makefile.objs| 1 + target-arc/helper.h | 3 ++ target-arc/op_helper.c | 91 + target-arc/translate-inst.c | 52 ++ target-arc/translate-inst.h |

[Qemu-devel] [PATCH RFC v1 14/29] target-arc: MPY, MPYH, MPYHU, MPYU

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 129 target-arc/translate-inst.h | 5 ++ 2 files changed, 134 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 06/29] target-arc: EX, LD, ST, SYNC, PREFETCH

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 230 target-arc/translate-inst.h | 10 ++ 2 files changed, 240 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 19/29] target-arc: LR, SR

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/helper.h | 2 + target-arc/op_helper.c | 322 target-arc/translate-inst.c | 26 target-arc/translate-inst.h | 3 + 4 files changed, 353 insertions(+) diff --git

[Qemu-devel] [PATCH RFC v1 11/29] target-arc: BCLR, BMSK, BSET, BTST, BXOR

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 139 target-arc/translate-inst.h | 6 ++ 2 files changed, 145 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 10/29] target-arc: POP, PUSH

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 22 ++ target-arc/translate-inst.h | 3 +++ 2 files changed, 25 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index 7f7e951..2a579f8 100644 ---

[Qemu-devel] [PATCH RFC v1 12/29] target-arc: RLC, RRC

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 57 + target-arc/translate-inst.h | 2 ++ 2 files changed, 59 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 05/29] target-arc: ASL(m), ASR(m), LSR(m), ROR(m)

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 212 target-arc/translate-inst.h | 9 ++ 2 files changed, 221 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 08/29] target-arc: MOV, EXT, SEX, SWAP

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 156 target-arc/translate-inst.h | 7 ++ 2 files changed, 163 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 02/29] target-arc: ADC, ADD, ADD1, ADD2, ADD3

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/Makefile.objs| 1 + target-arc/translate-inst.c | 170 target-arc/translate-inst.h | 30 3 files changed, 201 insertions(+) create mode 100644 target-arc/translate-inst.c

[Qemu-devel] [PATCH RFC v1 09/29] target-arc: NEG, ABS, NOT

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 68 + target-arc/translate-inst.h | 4 +++ 2 files changed, 72 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 07/29] target-arc: MAX, MIN

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 29 + target-arc/translate-inst.h | 3 +++ 2 files changed, 32 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index ac13c86..5404f35 100644 ---

[Qemu-devel] [PATCH RFC v1 01/29] target-arc: initial commit

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- .gitignore | 2 + MAINTAINERS | 5 + arch_init.c | 2 + configure | 5 + default-configs/arc-softmmu.mak | 0 include/sysemu/arch_init.h | 1 +

[Qemu-devel] [PATCH RFC v1 03/29] target-arc: SUB, SUB1, SUB2, SUB3, SBC, RSUB, CMP

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 165 target-arc/translate-inst.h | 8 +++ 2 files changed, 173 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

[Qemu-devel] [PATCH RFC v1 04/29] target-arc: AND, OR, XOR, BIC, TST

2016-09-08 Thread Michael Rolnik
Signed-off-by: Michael Rolnik --- target-arc/translate-inst.c | 119 target-arc/translate-inst.h | 6 +++ 2 files changed, 125 insertions(+) diff --git a/target-arc/translate-inst.c b/target-arc/translate-inst.c index

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

2016-09-08 Thread Michael Rolnik
This series of patches adds ARC target to QEMU. It indends to support - ARCtangent-A5 processor - ARC 600 processor - ARC 700 processor All instructions except ASLS are implemented. Not fully tested yet. However I was able to execute correctly recursive fibonacci calculation. Reset

Re: [Qemu-devel] [PATCH v2 0/8] MIPS Boston board support

2016-09-08 Thread Paul Burton
On 08/09/16 19:58, no-re...@patchew.org wrote: > Hi, > > Your series failed automatic build test. Please find the testing commands and > their output below. If you have docker installed, you can probably reproduce > it > locally. > > Type: series > Message-id:

Re: [Qemu-devel] [PATCH RFC v2 08/22] block/pcache: implement pickup parts of the cache

2016-09-08 Thread Pavel Butsykin
On 02.09.2016 11:59, Kevin Wolf wrote: Am 29.08.2016 um 19:10 hat Pavel Butsykin geschrieben: Implementation of obtaining fragments of the cache belonging to one area of request. This will allow to handle the case when a request is partially hits the cache. Signed-off-by: Pavel Butsykin

Re: [Qemu-devel] [Qemu-stable] [ANNOUNCE] QEMU 2.6.1 Stable released

2016-09-08 Thread Michael Roth
Quoting Stefan Hajnoczi (2016-09-05 12:54:35) > On Fri, Aug 26, 2016 at 01:45:56PM +0200, Peter Lieven wrote: > > Am 25.08.2016 um 19:23 schrieb Michael Roth: > > > Quoting Peter Lieven (2016-08-25 01:38:13) > > > > 7c509d1 virtio: decrement vq->inuse in virtqueue_discard() > > > > 700f26b virtio:

Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support

2016-09-08 Thread Alex Williamson
On Fri, 9 Sep 2016 00:18:10 +0530 Kirti Wankhede wrote: > On 9/8/2016 3:43 AM, Alex Williamson wrote: > > On Wed, 7 Sep 2016 23:36:28 +0530 > > Kirti Wankhede wrote: > > > >> On 9/7/2016 10:14 PM, Alex Williamson wrote: > >>> On Wed, 7 Sep 2016

[Qemu-devel] [Bug 789652] Re: Cannot confirm email address on QEMU Wiki

2016-09-08 Thread T. Huth
QEMU Wiki does not use e-mail addresses, so this is not a bug ** Changed in: qemu Status: New => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/789652 Title: Cannot confirm email

Re: [Qemu-devel] [PATCH 1/3] virtio: Basic implementation of virtio pstore driver

2016-09-08 Thread Kees Cook
On Sun, Sep 4, 2016 at 7:38 AM, Namhyung Kim wrote: > The virtio pstore driver provides interface to the pstore subsystem so > that the guest kernel's log/dump message can be saved on the host > machine. Users can access the log file directly on the host, or on the > guest

Re: [Qemu-devel] DAX can not work on virtual nvdimm device

2016-09-08 Thread Ross Zwisler
On Tue, Sep 06, 2016 at 05:06:20PM +0200, Jan Kara wrote: > On Thu 01-09-16 20:57:38, Ross Zwisler wrote: > > On Wed, Aug 31, 2016 at 04:44:47PM +0800, Xiao Guangrong wrote: > > > On 08/31/2016 01:09 AM, Dan Williams wrote: > > > > > > > > Can you post your exact reproduction steps? This test is

Re: [Qemu-devel] vxhs caching behaviour (was: [PATCH v4 RFC] block/vxhs: Initial commit to add) Veritas HyperScale VxHS block device support

2016-09-08 Thread ashish mittal
Hi Kevin, By design, our writeback cache is on non-volatile SSD device. We do async writes to this cache and also maintain a persistent index map of the data written. This gives us the capability to recover write-back cache if needed. Thanks, Ashish On Thu, Sep 8, 2016 at 7:20 AM, Kevin Wolf

[Qemu-devel] [Bug 722311] Re: Segmentation fault if started without -enable-kvm parameter

2016-09-08 Thread T. Huth
Closing bug according to comment #2 ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/722311 Title: Segmentation fault if started without

Re: [Qemu-devel] [PULL v2 00/18] tcg queued patches

2016-09-08 Thread Richard Henderson
On 09/08/2016 10:15 AM, Richard Henderson wrote: Three unrelated patches and Pranith's memory barrier patch sets. The alignment patch is in support of Sparc's ldf instructions: 8 and 16-byte memory operations that require only 4-byte alignment. It's just as easy to support this kind of

[Qemu-devel] [Bug 830833] Re: sparc emulators fail to boot

2016-09-08 Thread T. Huth
Should be fixed according to the comments from blueswirl ==> setting status to "Fix Released" ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] [Bug 667791] Re: Cygwin build fails due to ui/vnc-etc-tight.c

2016-09-08 Thread T. Huth
Seems like this problem has been fixed here: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=249cdb420a3b68cf6 ... so we can close this bug ticket now. ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which

[Qemu-devel] [PATCH 3/5] ipmi: chassis poweroff should use qemu_system_shutdown_request()

2016-09-08 Thread minyard
From: Cédric Le Goater When issuing a chassis 'powerdown' control command, the routine qemu_system_shutdown_request() should be used to exit the guest. qemu_system_powerdown_request() will initiate a soft shutdown which is not what is required by the IPMI (28.3 Chassis Control

[Qemu-devel] [PATCH 4/5] ipmi: Implement shutdown via ACPI overtemp

2016-09-08 Thread minyard
From: Corey Minyard This is allowed by the IPMI specification for graceful shutdown, so implement it. Signed-off-by: Corey Minyard --- hw/ipmi/ipmi.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hw/ipmi/ipmi.c

[Qemu-devel] [PATCH v6 2/3] libqos: define SPAPR libqos functions

2016-09-08 Thread Laurent Vivier
Define spapr_alloc_init()/spapr_alloc_init_flags()/spapr_alloc_uninit() to allocate and use SPAPR guest memory Define qtest_spapr_vboot()/qtest_spapr_boot()/qtest_spapr_shutdown() to start SPAPR guest with QOSState initialized for it (memory management) Move qtest_irq_intercept_in() from

Re: [Qemu-devel] [PATCH v7 0/4] Add Mediated device support

2016-09-08 Thread Kirti Wankhede
On 9/8/2016 3:43 AM, Alex Williamson wrote: > On Wed, 7 Sep 2016 23:36:28 +0530 > Kirti Wankhede wrote: > >> On 9/7/2016 10:14 PM, Alex Williamson wrote: >>> On Wed, 7 Sep 2016 21:45:31 +0530 >>> Kirti Wankhede wrote: >>> On 9/7/2016 2:58

Re: [Qemu-devel] [PATCH RFC v2 04/22] block/pcache: add pcache debug build

2016-09-08 Thread Eric Blake
On 09/08/2016 11:05 AM, Pavel Butsykin wrote: >>> >>> #ifdef PCACHE_DEBUG >>> # define PCACHE_DEBUG_PRINT 1 >>> #else >>> # define PCACHE_DEBUG_PRINT 0 >>> #endif >>> #define DPRINTF(fmt, ...) \ >>> do { \ >>> if (PCACHE_DEBUG_PRINT) { \ >>> fprintf(stderr, ...

[Qemu-devel] [PATCH 2/5] ipmi_bmc_sim: Remove an unnecessary mutex

2016-09-08 Thread minyard
From: Corey Minyard Get rid of the unnecessary mutex, it was a vestige of something else that was not done. That way we don't have to free it. Signed-off-by: Corey Minyard Reviewed-by: Marc-André Lureau ---

Re: [Qemu-devel] [PATCH 5/6] crypto: increase default pbkdf2 time for luks to 2 seconds

2016-09-08 Thread Eric Blake
On 09/08/2016 11:27 AM, Daniel P. Berrange wrote: > cryptsetup recently increased the default pbkdf2 time to 2 seconds > to partially mitigate improvements in hardware performance wrt > brute-forcing the pbkdf algorithm. This updates QEMU defaults to > match. > > Signed-off-by: Daniel P. Berrange

[Qemu-devel] [PATCH 5/5] ipmi: fix build config variable name for ipmi_bmc_extern.o

2016-09-08 Thread minyard
From: "Daniel P. Berrange" The original commit: commit 67aa56fc03bea44ccf384ea400515a8a58844a50 Author: Corey Minyard Date: Thu Dec 17 12:50:06 2015 -0600 ipmi: Add an external connection simulation interface defined a new variable

Re: [Qemu-devel] [PATCH 4/6] crypto: remove bogus /= 2 for pbkdf iterations

2016-09-08 Thread Eric Blake
On 09/08/2016 11:27 AM, Daniel P. Berrange wrote: > When calculating iterations for pbkdf of the key slot > data, we had a /= 2, which was copied from identical > code in cryptsetup. It was always unclear & undocumented > by cryptsetup had this division and it was recently s/by/why/ ? > removed

[Qemu-devel] [PATCH 1/5] ipmi: Remove hotplug from IPMI BMCs

2016-09-08 Thread minyard
From: Corey Minyard No hotplug support, make sure it doesn't happen. Signed-off-by: Corey Minyard Reviewed-by: Marc-André Lureau --- hw/ipmi/ipmi_bmc_extern.c | 1 + hw/ipmi/ipmi_bmc_sim.c| 1 + 2 files changed, 2

Re: [Qemu-devel] [PATCH 3/6] crypto: use correct derived key size when timing pbkdf

2016-09-08 Thread Eric Blake
On 09/08/2016 11:27 AM, Daniel P. Berrange wrote: > Currently when timing the pbkdf algorithm a fixed key > size of 32 bytes is used. This results in inaccurate > timings for certain hashes depending on their digest > size. For example when using sha1 with aes-256, this > causes us to measure time

[Qemu-devel] [PATCH 0/5] ipmi: Minor fixes

2016-09-08 Thread minyard
These patches are fixes for various small issues. Nothing that's that big of a deal, but they need to be fixed.

[Qemu-devel] [PATCH v6 1/3] qtest: replace strtoXX() by qemu_strtoXX()

2016-09-08 Thread Laurent Vivier
Check the result of qemu_strtoXX() and assert if the string cannot be converted. Signed-off-by: Laurent Vivier Reviewed-by: David Gibson Reviewed-by: Greg Kurz --- v6: - rebase and add Greg's Rb v5: - update log message about

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

2016-09-08 Thread Pavel Pisa
Hello Deniz, thanks much for contribution and testing. I have applied your patches to our QEMU repo https://github.com/CTU-IIG/qemu You find QEMU-2.6.1 based version of our merged patches on "merged-2.6" branch. I have updated and shortly tested all our topic branches with actual QEMU-2.7.0

Re: [Qemu-devel] [PATCH 0/6] crypto: misc tweaks & improvements to pbkdf code

2016-09-08 Thread no-reply
Hi, Your series seems to have some coding style problems. See output below for more information: Type: series Message-id: 1473352047-908-1-git-send-email-berra...@redhat.com Subject: [Qemu-devel] [PATCH 0/6] crypto: misc tweaks & improvements to pbkdf code === TEST SCRIPT BEGIN === #!/bin/bash

Re: [Qemu-devel] [PATCH v4] Move max-bandwidth and downtime-limit into migrate_set_parameter for both hmp and qmp

2016-09-08 Thread Eric Blake
On 09/08/2016 10:59 AM, Ashijeet Acharya wrote: Long subject line; we strive to stay below 70 bytes so that you can prepend commit ids and still stay in an 80-column window. Also, you can look at 'git shortlog -30' to get a feel for average length. Better might be: migrate: move max-bandwidth

[Qemu-devel] [Bug 1587065] Re: btrfs qemu-ga - multiple mounts block fsfreeze

2016-09-08 Thread Alexandre
I also have a path mounted twice, but this time it's devicemapper and not AUFS like tim, so maybe not fs type related. virsh version: Compiled against library: libvirt 1.3.1 Using library: libvirt 1.3.1 Using API: QEMU 1.3.1 Running hypervisor: QEMU 2.5.0 KVM/QEMU Host command:

Re: [Qemu-devel] [PATCH] ipmi: fix build config variable name for ipmi_bmc_extern.o

2016-09-08 Thread Corey Minyard
On 09/05/2016 12:21 PM, Daniel P. Berrange wrote: The original commit: commit 67aa56fc03bea44ccf384ea400515a8a58844a50 Author: Corey Minyard Date: Thu Dec 17 12:50:06 2015 -0600 ipmi: Add an external connection simulation interface defined a new variable

Re: [Qemu-devel] [PATCH 1/9] tests: cris: force inlining

2016-09-08 Thread Eric Blake
On 09/08/2016 01:06 PM, Peter Maydell wrote: >> +++ b/tests/tcg/cris/sys.h >> @@ -3,6 +3,8 @@ >> #define STRINGIFY(x) #x >> #define TOSTRING(x) STRINGIFY(x) >> >> +#define inline inline __attribute__((always_inline)) >> + > > I think redefining C keywords is generally a bad idea. > Can you

Re: [Qemu-devel] [PATCH 1/2] virtio-9p: print error message and exit instead of BUG_ON()

2016-09-08 Thread Michael S. Tsirkin
On Thu, Sep 08, 2016 at 06:26:52PM +0200, Greg Kurz wrote: > On Thu, 8 Sep 2016 18:19:27 +0300 > "Michael S. Tsirkin" wrote: > > > On Thu, Sep 08, 2016 at 05:04:47PM +0200, Cornelia Huck wrote: > > > On Thu, 8 Sep 2016 18:00:28 +0300 > > > "Michael S. Tsirkin"

Re: [Qemu-devel] [PATCH 6/6] crypto: support more hash algorithms for pbkdf

2016-09-08 Thread Eric Blake
On 09/08/2016 11:27 AM, Daniel P. Berrange wrote: > Currently pbkdf is only supported with SHA1 and SHA256. Expand > this to support all algorithms known to QEMU. > > Signed-off-by: Daniel P. Berrange > --- > crypto/pbkdf-gcrypt.c | 12 +- >

Re: [Qemu-devel] [RFC v4 28/28] cputlb: make tlb_flush_by_mmuidx safe for MTTCG

2016-09-08 Thread Richard Henderson
On 08/11/2016 08:24 AM, Alex Bennée wrote: > +for (mmu_idx = 0; mmu_idx < NB_MMU_MODES; mmu_idx++) { > > -tlb_debug("%d\n", mmu_idx); > +if (test_bit(mmu_idx, _idx_bitmask)) { > +tlb_debug("%d\n", mmu_idx); > > -memset(env->tlb_table[mmu_idx], -1,

[Qemu-devel] [PATCH 6/6] crypto: support more hash algorithms for pbkdf

2016-09-08 Thread Daniel P. Berrange
Currently pbkdf is only supported with SHA1 and SHA256. Expand this to support all algorithms known to QEMU. Signed-off-by: Daniel P. Berrange --- crypto/pbkdf-gcrypt.c | 12 +- crypto/pbkdf-nettle.c | 61 ---

Re: [Qemu-devel] [Qemu-ppc] [PATCH v5 3/3] tests: add RTAS command in the protocol

2016-09-08 Thread Greg Kurz
On Thu, 8 Sep 2016 10:30:34 +0200 Laurent Vivier wrote: > Add a first test to validate the protocol: > > - rtas/get-time-of-day compares the time > from the guest with the time from the host. > > Signed-off-by: Laurent Vivier > --- This patch has a

[Qemu-devel] [PATCH 3/6] crypto: use correct derived key size when timing pbkdf

2016-09-08 Thread Daniel P. Berrange
Currently when timing the pbkdf algorithm a fixed key size of 32 bytes is used. This results in inaccurate timings for certain hashes depending on their digest size. For example when using sha1 with aes-256, this causes us to measure time for the master key digest doing 2 sha1 operations per

Re: [Qemu-devel] [PATCH v5 2/3] libqos: define SPAPR libqos functions

2016-09-08 Thread Greg Kurz
On Thu, 8 Sep 2016 10:30:33 +0200 Laurent Vivier wrote: > Define spapr_alloc_init()/spapr_alloc_init_flags()/spapr_alloc_uninit() > > to allocate and use SPAPR guest memory > > Define qtest_spapr_vboot()/qtest_spapr_boot()/qtest_spapr_shutdown() > > to start SPAPR

Re: [Qemu-devel] [PATCH RFC v2 04/22] block/pcache: add pcache debug build

2016-09-08 Thread Pavel Butsykin
On 08.09.2016 18:11, Eric Blake wrote: On 08/29/2016 12:10 PM, Pavel Butsykin wrote: Signed-off-by: Pavel Butsykin --- block/pcache.c | 9 + 1 file changed, 9 insertions(+) diff --git a/block/pcache.c b/block/pcache.c index 74a4bc4..7f221d6 100644 ---

Re: [Qemu-devel] [PATCH 1/6] crypto: make PBKDF iterations configurable for LUKS format

2016-09-08 Thread Eric Blake
On 09/08/2016 11:27 AM, Daniel P. Berrange wrote: > As protection against bruteforcing passphrases, the PBKDF > algorithm is tuned by counting the number of iterations > needed to produce 1 second of running time. If the machine > that the image will be used on is much faster than the > machine

Re: [Qemu-devel] [PATCH v2] iscsi: Fix divide-by-zero regression on raw SG devices

2016-09-08 Thread Holger Schranz
Hi Eric, Am 08.09.2016 um 17:25 schrieb Eric Blake: On 09/08/2016 09:27 AM, Holger Schranz wrote: Hi Eric, Thanks a lot, it seems the patch works. The VM starting. Should I take that as a Tested-by: line? The test was: 1) login as root 2) cd to workdir 3) start virt-viewer: "virt-viewer

Re: [Qemu-devel] [PATCH v2] iscsi: Fix divide-by-zero regression on raw SG devices

2016-09-08 Thread Paolo Bonzini
On 08/09/2016 17:25, Eric Blake wrote: > On 09/08/2016 09:27 AM, Holger Schranz wrote: >> Hi Eric, >> >> Thanks a lot, it seems the patch works. The VM starting. > > Should I take that as a Tested-by: line? > >> Unfortunately we run into the next issue. By the accessing the >> megasas

  1   2   3   >