Re: [Qemu-devel] KVM Forum 2016 videos now online

2016-09-08 Thread Thomas Huth
On 08.09.2016 11:42, Daniel P. Berrange wrote: > On Thu, Sep 08, 2016 at 09:42:33AM +0200, Christian Borntraeger wrote: >> On 09/08/2016 05:28 AM, Pranith Kumar wrote: >>> FYI, >>> >>> The KVM Forum 2016 videos are now online on youtube. You can find them here: >>> >>> https://www.youtube.com/playl

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

2016-09-08 Thread Richard Henderson
On 09/08/2016 05:06 PM, Pranith Kumar wrote: What error are you seeing? Something else entirely. My alpha kernel is crashing. I thought it was something in this patch set, after I rebased, but now I can see it's in HEAD too. I'll have to spend some time tracking it down. r~

Re: [Qemu-devel] [PULL v2 0/4] target-arm queue

2016-09-08 Thread Cédric Le Goater
On 09/08/2016 11:40 AM, Peter Maydell wrote: > On 6 September 2016 at 20:03, Peter Maydell wrote: >> v2 pull: >> * dropped the ast2500 patches >> * fix ast2400 memory controller format string bug >> >> thanks >> -- PMM >> >> >> The following changes since commit 2926375cffce464fde6b4dabaed1e133d

Re: [Qemu-devel] [PATCH COLO-Frame v19 00/22] COarse-grain LOck-stepping(COLO) Virtual Machines for Non-stop Service (FT)

2016-09-08 Thread Hailiang Zhang
ping ? On 2016/9/1 11:24, zhanghailiang wrote: This is the 19th version of COLO frame series. According to the suggestion of Juan and Amit, I dropped parts of the optimization patches to make it easier for review. Besides, I discarded the network related patches since the development of COLO p

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

2016-09-08 Thread Peter Xu
On Thu, Sep 08, 2016 at 09:05:43PM -0700, no-re...@ec2-52-6-146-230.compute-1.amazonaws.com 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: ser

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

2016-09-08 Thread Markus Armbruster
Greg Kurz writes: > 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" wrote: >> > >> > > On Thu, Sep 08, 2016 at 11:12:16AM +0200, Greg Kurz wrot

Re: [Qemu-devel] [PATCH v7 1/4] vfio: Mediated device Core driver

2016-09-08 Thread Jike Song
On 09/08/2016 05:38 PM, Neo Jia wrote: > On Thu, Sep 08, 2016 at 04:09:39PM +0800, Jike Song wrote: >> On 08/25/2016 11:53 AM, Kirti Wankhede wrote: >>> + >>> +/** >>> + * struct parent_ops - Structure to be registered for each parent device to >>> + * register the device to mdev module. >>> + * >>

[Qemu-devel] Weird thing in using QEMU and XV6

2016-09-08 Thread Dwight Makaroff
Hi, When I try to run QEMU over XQuartz on OSX and launch a VM of xv6, the keyboard mappings are all messed up. cr maps to j 2 maps to w all kind of weird things. This is the error message when xv6 starts. $ unknown keycodes `empty_aliases(qwerty)', please report to qemu-devel@nongnu.org

[Qemu-devel] [PULL 5/9] docker: debian-bootstrap.pre: print helpful message if DEB_ARCH/DEB_TYPE unset

2016-09-08 Thread Fam Zheng
From: Sascha Silbe The debian-bootstrap image doesn't choose a default architecture and distribution version, instead the user has to set both DEB_ARCH and DEB_TYPE in the environment. Print a reasonably helpful message if either of them isn't set instead of complaining about "qemu-" being missin

[Qemu-devel] [PULL 4/9] docker: debian-bootstrap.pre: print error messages to stderr

2016-09-08 Thread Fam Zheng
From: Sascha Silbe Send error messages where they belong so they're seen even if stdout is redirected to /dev/null. Signed-off-by: Sascha Silbe Message-Id: <1473192351-601-4-git-send-email-si...@linux.vnet.ibm.com> Signed-off-by: Fam Zheng --- tests/docker/dockerfiles/debian-bootstrap.pre | 8

[Qemu-devel] [PULL 9/9] docker: silence debootstrap when --quiet is given

2016-09-08 Thread Fam Zheng
From: Sascha Silbe If we silence docker when --quiet is given, we should also silence the .pre script (i.e. debootstrap). Only discards stdout, so some diagnostics (e.g. from git clone) are still printed. Most of the verbose output is gone however and this way we still have a chance to see error

[Qemu-devel] [PULL 6/9] docker: print warning if EXECUTABLE is not set when building debootstrap image

2016-09-08 Thread Fam Zheng
From: Sascha Silbe Building the debian-debootstrap image will usually fail if EXECUTABLE isn't set (when using the Makefile). Warn the user in this case so they know why it's failing. Signed-off-by: Sascha Silbe Message-Id: <1473192351-601-6-git-send-email-si...@linux.vnet.ibm.com> Signed-off-b

[Qemu-devel] [PULL 3/9] docker: avoid dependency on 'realpath' package

2016-09-08 Thread Fam Zheng
From: Sascha Silbe The 'realpath' executable is shipped in a separate package that isn't installed by default on some distros. We already use 'readlink -e' (provided by GNU coreutils) in some other part of the code, so let's settle for that instead. Signed-off-by: Sascha Silbe Message-Id: <147

[Qemu-devel] [PULL 7/9] docker: make sure debootstrap is at least 1.0.67

2016-09-08 Thread Fam Zheng
From: Sascha Silbe debootstrap prior to 1.0.67 generated an empty sources.list during foreign bootstraps (Debian#732255 [1]). Fall back to the git checkout if the installed debootstrap version is too old. [1] https://bugs.debian.org/732255 Signed-off-by: Sascha Silbe Message-Id: <1473192351-60

[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> --- tests/docker/dockerfiles/min-glib.do

[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 straight to /dev/null to avo

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

[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 message. Signed-off-by: Sascha Si

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 pseries) should have a global effect. This is >> > >

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 *this

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 iterating and setting tlb_need

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 Herrenschmidt >> Signed-off-by:

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 Dadhania > > -- > > Note: H

[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 POWERPC_MMU_32B and POWERPC_MMU_601 yet. As I am not

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 IO

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

[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 changed, 1 insertion(

[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 = { .h

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 milli

[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 -- hw/ppc/spapr_iommu.c | 14 +

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

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 dat

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 vir

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 causing the error. > > I wil

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 operations that require on

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 wil

[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 +++ b/target-arc/dec

[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 --git a/target-arc/h

[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 b/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 100644 hw/arc/sample.c

[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 d5c739e..2a62f30 100644 --- a/ta

[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 4c4318f..87a00ca 100644 --- a/ta

[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 2a62f30..524b213 100644 --- a/tar

[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 --- a/target-arc/translate-inst.c +

[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 a/target-arc/helper.h b

[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 8288edd..ed2ced0 100644 --- a/tar

[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 c3795fe..8288edd 10064

[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 603a0a8..d5c739e 100644 --- a/tar

[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 92c75ac..c3795fe 100644 --- a/ta

[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 ed2ced0..fd49a16 100644 --- a/targ

[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 | 4 ++ 5 files chan

[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 00785bf..92c75ac 100644 --- a/ta

[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 2032823..ac13c86 100644 --- a/ta

[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 a/target-arc/helper.h

[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 2a579f8..91b7037 100644 --- a/ta

[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 --- a/target-arc/translate-inst.

[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 91b7037..a0d601e 100644 --- a/targ

[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 5192f41..2032823 100644 --- a/ta

[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 5404f35..4d756a9 100644 --- a/ta

[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 create mode 100644

[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 4d756a9..7f7e951 100644 --- a/tar

[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 --- a/target-arc/translat

[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 + target-arc/Makefile

[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 50119bf..7389e5c 100644 --- a/t

[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 7389e5c..5192f41 100644 --- a/t

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

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: 20160908145158.30720-1-paul.bur...@

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

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 21:45:31 +0530 > >>> Kirti Wankhede wrote: >

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

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 at the next boot using

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 wr

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

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 misalignm

[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. https://bugs.launchpad.net/bugs/8308

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

[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 Command): 0h =

[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 b/hw/ipmi/ipmi.c index f91c7b7..5cf1caa 100644 --- a/h

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

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 AM, Alex Williamson wrote: > On Wed, 7 Se

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

[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 --- hw/ipmi/ipmi_bmc_sim.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/hw/ip

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 CONFIG_IPMI_EXTERN, but then went on to mistakely

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 t

[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 insertions(+) diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_ex

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 result checking - add David's Rb v4: - add this patch in the series

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 a

  1   2   3   4   >