[Qemu-devel] [PATCH v2] configure: Improve help behavior

2014-04-17 Thread Fam Zheng
Old: There are two paths to show help and exit 1, one is with "-h" or "--help", one is with invalid options. New: Show help and exit 0 for --help. On invalid option, don't show the long help and bury the early "ERROR:" line, just give a message pointing to --help. Signed-off-by: Fam Zheng --- c

Re: [Qemu-devel] [PATCH] timer: fix qemu_poll_ns early timeout on windows

2014-04-17 Thread Stefan Weil
Hi, sorry, your patch was too late for QEMU 2.0. It remained unnoticed for two reasons: * Patches for some special version should show this in the subject line: [PATCH for 2.0] instead of [PATCH] * CC'ing the maintainers helps a lot, as you see now :-) More comments below. Am 18.04.2014 04:

Re: [Qemu-devel] [PATCH v2 1/4] vl.c: generalise qemu_get_machine_opts()

2014-04-17 Thread Peter Crosthwaite
On Fri, Apr 18, 2014 at 2:53 PM, Paolo Bonzini wrote: > Il 18/04/2014 00:25, Peter Crosthwaite ha scritto: > >> This "nofail" (i.e. does not return NULL) mechanism driving >> qemu_get_machine_opts() does not need to be specific to machine opts >> - its applicable to other types of opts. Generalise

[Qemu-devel] [PULL] Trivial patches for 2014-04-18

2014-04-17 Thread Michael Tokarev
nd the changed patch as a reply to this message. Please consider pulling. The following changes since commit 2d03b49c3f225994c4b0b46146437d8c887d6774: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140417-1' into staging (2014-04-17 21:37:26 +0100) are avai

[Qemu-devel] [PATCH v3] doc: grammify "allows to"

2014-04-17 Thread Michael Tokarev
English language grammar does not allow usage of the word "allows" directly followed by an infinitive, declaring constructs like "something allows to do somestuff" un-grammatical. Often it is possible to just insert "one" between "allows" and "to" to make the construct grammatical, but usually it

Re: [Qemu-devel] [PATCH] configure: Exit with code 0 with --help

2014-04-17 Thread Michael Tokarev
18.04.2014 10:25, Fam Zheng wrote: > There are two paths to show help and exit, one is with "-h" or "--help", > one is with invalid options. > > Only "exit 1" with the latter case. I'd rather put `exit 1' right in invalid option case, instead of jumping to help. Because help output is huge, and

Re: [Qemu-devel] [PATCH 08/35] qdev: hotplug for buss-less devices

2014-04-17 Thread Igor Mammedov
On Fri, 18 Apr 2014 00:03:57 +1000 Peter Crosthwaite wrote: > On Thu, Apr 17, 2014 at 7:40 PM, Igor Mammedov wrote: > > On Thu, 17 Apr 2014 09:46:28 +1000 > > Peter Crosthwaite wrote: > > > >> On Fri, Apr 4, 2014 at 11:36 PM, Igor Mammedov wrote: > >> > Adds get_hotplug_handler() method to mac

[Qemu-devel] [PATCH] configure: Exit with code 0 with --help

2014-04-17 Thread Fam Zheng
There are two paths to show help and exit, one is with "-h" or "--help", one is with invalid options. Only "exit 1" with the latter case. Signed-off-by: Fam Zheng --- configure | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 69b9f56..b195ef

[Qemu-devel] [PATCH] qemu-img: Exit with code 0 if there is no error

2014-04-17 Thread Fam Zheng
Signed-off-by: Fam Zheng --- qemu-img.c | 68 +++--- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 8455994..756ccb1 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -58,7 +58,7 @@ static void format

[Qemu-devel] memory access trace from qemu

2014-04-17 Thread Pete Stevenson
Hi All - I would like to generate a trace of all memory accesses (i.e. read or write, physical address, and data content/payload). The end goal is to use this trace to drive a separate memory system simulator. Ideally, the trace would also provide core-id and a timestamp (but I am not as optimis

Re: [Qemu-devel] [PATCH v2 1/4] vl.c: generalise qemu_get_machine_opts()

2014-04-17 Thread Paolo Bonzini
Il 18/04/2014 00:25, Peter Crosthwaite ha scritto: This "nofail" (i.e. does not return NULL) mechanism driving qemu_get_machine_opts() does not need to be specific to machine opts - its applicable to other types of opts. Generalise and re-implement qemu_get_machine_opts() as a caller of the gener

Re: [Qemu-devel] About SIG_IPI handler

2014-04-17 Thread Paolo Bonzini
Il 17/04/2014 01:51, Jan Kiszka ha scritto: On 2014-04-17 07:46, Shiru Ren wrote: Hi, all I’m trying to figure out how do_savevm works in QEMU. But there is one thing has bothered me quite a lot. I found that vm_stop invoke qemu_cpu_kick_thread to send SIG_IPI to a vcpu thread, and I have under

Re: [Qemu-devel] Should we have a 2.0-rc3 ?

2014-04-17 Thread Paolo Bonzini
Il 14/04/2014 09:25, Peter Maydell ha scritto: (More generally it feels like either the code using this needs to be able to cope with "might only get TARGET_PAGE_SIZE" semantics, or we need to fix the Xen code paths so that they provide the whole requested section as well. The patch looks more li

Re: [Qemu-devel] Change of TEXT_OFFSET for multi_v7_defconfig

2014-04-17 Thread Nicolas Pitre
On Thu, 17 Apr 2014, Rob Herring wrote: > Here's a simple test of what I was trying to point out. I took a > working kernel with TEXT_OFFSET of 0x8000 and booted it on QEMU using > the "virt" machine which RAM normally starts at 0x4000. Then > varying the RAM base, I get these results: > > 0x

[Qemu-devel] [PATCH v2 4/4] nvram: fw_cfg: Fix -boot options in nvram/fw_cfg

2014-04-17 Thread Peter Crosthwaite
When accessing boot options, we query whatever options come first in the boot opts list. This is wrong. Use qemu_get_boot_opts() to fix these bugs. This change is similar to and based on 36ad0e9. We also take to opportunity to remove the now unneeded null boot-opts conditional, removing a level

[Qemu-devel] [PATCH v2 3/4] vl.c: Use qemu_get_boot_opts

2014-04-17 Thread Peter Crosthwaite
To simplfiy and make consistent with surrounding code using qemu_get_machine_opts(). Create a new local variable name boot_opts for consistency as well. Signed-off-by: Peter Crosthwaite --- vl.c | 39 +++ 1 file changed, 19 insertions(+), 20 deletions(-) dif

[Qemu-devel] [PATCH v2 2/4] vl.c: Add qemu_get_boot_opts()

2014-04-17 Thread Peter Crosthwaite
Same basic idea as qemu_get_machine_opts(). Signed-off-by: Peter Crosthwaite --- include/sysemu/sysemu.h | 1 + vl.c| 11 +++ 2 files changed, 12 insertions(+) diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index ba5c7f8..d41748d 100644 --- a/includ

[Qemu-devel] [PATCH v2 1/4] vl.c: generalise qemu_get_machine_opts()

2014-04-17 Thread Peter Crosthwaite
This "nofail" (i.e. does not return NULL) mechanism driving qemu_get_machine_opts() does not need to be specific to machine opts - its applicable to other types of opts. Generalise and re-implement qemu_get_machine_opts() as a caller of the generalisation. Signed-off-by: Peter Crosthwaite --- v

[Qemu-devel] [PATCH v2 0/4] Introduce qemu_get_boot_opts()

2014-04-17 Thread Peter Crosthwaite
Hi Markus, This series introduces qemu_get_boot_opts(), in much the same way as was done for qemu_get_machine_opts(). As usual, I have out-of-scope and out-of-tree usages :) But P3 does clean up the three existing instances of the long-and-awkward form of this query and makes the one in vl.c cons

Re: [Qemu-devel] Change of TEXT_OFFSET for multi_v7_defconfig

2014-04-17 Thread Rob Herring
On Thu, Apr 17, 2014 at 4:35 PM, Russell King - ARM Linux wrote: > On Thu, Apr 17, 2014 at 04:18:45PM -0500, Rob Herring wrote: >> The problem here is more than just the TEXT_OFFSET changed. From what >> I've heard, there are some QC chips which need much more reserved RAM >> than the 2MB discusse

Re: [Qemu-devel] [PATCH] timer: fix qemu_poll_ns early timeout on windows

2014-04-17 Thread Sangho Park
Hi, maintainers. Could you check this patch? http://www.mail-archive.com/qemu-devel@nongnu.org/msg227161.html Thanks ps) We've checked the http://wiki.qemu.org/Contribute/SubmitAPatch. Yet, if we made any violation or mistake, let us know. We will appreciate your favor. -Original Message---

Re: [Qemu-devel] [PATCH v2] vmdk: Fix "%x" to PRIx32 in format strings for cid

2014-04-17 Thread Fam Zheng
On Thu, 04/17 06:00, Eric Blake wrote: > On 04/17/2014 04:43 AM, Fam Zheng wrote: > > Signed-off-by: Fam Zheng > > > > --- > > v2: PRIx32 -> SCNx32. (Kevin) > > > > Signed-off-by: Fam Zheng > > --- > > > +++ b/block/vmdk.c > > @@ -262,7 +262,7 @@ static uint32_t vmdk_read_cid(BlockDriverState

[Qemu-devel] [Bug 1223467] Re: Unable to use USB as hda in Windows

2014-04-17 Thread Will
I found some newer Windows binaries at http://qemu.weilnetz.de/ and can confirm I do not see the issue any more. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1223467 Title: Unable to use USB as hd

Re: [Qemu-devel] Regression (?) due to c4177479 ('spapr: make sure RMA is in first mode of first memory node')

2014-04-17 Thread Nishanth Aravamudan
On 18.04.2014 [08:46:55 +1000], Benjamin Herrenschmidt wrote: > On Fri, 2014-04-18 at 08:43 +1000, Alexey Kardashevskiy wrote: > > On 04/18/2014 06:25 AM, Nishanth Aravamudan wrote: > > > Hi Alexey, > > > > > > Prior to the $SUBJECT commit, we could present memoryless node0s to > > > guests. Now,

Re: [Qemu-devel] Regression (?) due to c4177479 ('spapr: make sure RMA is in first mode of first memory node')

2014-04-17 Thread Benjamin Herrenschmidt
On Fri, 2014-04-18 at 08:43 +1000, Alexey Kardashevskiy wrote: > On 04/18/2014 06:25 AM, Nishanth Aravamudan wrote: > > Hi Alexey, > > > > Prior to the $SUBJECT commit, we could present memoryless node0s to > > guests. Now, we indicate that we don't have the requisite 128M for the > > RMA if node

Re: [Qemu-devel] Regression (?) due to c4177479 ('spapr: make sure RMA is in first mode of first memory node')

2014-04-17 Thread Alexey Kardashevskiy
On 04/18/2014 06:25 AM, Nishanth Aravamudan wrote: > Hi Alexey, > > Prior to the $SUBJECT commit, we could present memoryless node0s to > guests. Now, we indicate that we don't have the requisite 128M for the > RMA if node 0 has no memory. Note that a memoryless node0 is possible > under PowerVM (

[Qemu-devel] [PATCH v5 02/12] qcow2: Implement bdrv_make_empty()

2014-04-17 Thread Max Reitz
Implement bdrv_make_empty() by making all clusters in the image fall through to the backing file (via the now modified discard). Signed-off-by: Max Reitz --- block/qcow2.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/block/qcow2.c b/block/qcow2.c index 1e7b7d5..4d7

[Qemu-devel] [PATCH v5 10/12] iotests: Add _filter_qemu_img_map

2014-04-17 Thread Max Reitz
As different image formats most probably map guest addresses to different host addresses, add a filter to filter the host addresses out; also, the image filename should be filtered. Signed-off-by: Max Reitz --- tests/qemu-iotests/common.filter | 7 +++ 1 file changed, 7 insertions(+) diff -

Re: [Qemu-devel] [PATCH] xilinx: Fix typo in comment (Marvel -> Marvell)

2014-04-17 Thread Peter Crosthwaite
On Fri, Apr 18, 2014 at 3:32 AM, Stefan Weil wrote: > Signed-off-by: Stefan Weil Reviewed-by: Peter Crosthwaite > --- > hw/net/xilinx_axienet.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/net/xilinx_axienet.c b/hw/net/xilinx_axienet.c > index 839d97c..6dc665

[Qemu-devel] [PATCH v5 04/12] blockjob: Add "ready" field

2014-04-17 Thread Max Reitz
When a block job signals readiness, this is currently reported only through QMP. If qemu wants to use block jobs for internal tasks, there needs to be another way to correctly detect when a block job may be completed. For this reason, introduce a bool "ready" which is set when the block job may be

[Qemu-devel] [PATCH v5 11/12] iotests: Add test for backing-chain commits

2014-04-17 Thread Max Reitz
Add a test for qemu-img commit on backing chains with more than two images. This test also checks whether the images above the base image are emptied and does therefore not work for qed and vmdk which requires it to be separate from 020. Signed-off-by: Max Reitz --- tests/qemu-iotests/089 |

[Qemu-devel] [PATCH v5 09/12] qemu-img: Specify backing file for commit

2014-04-17 Thread Max Reitz
Introduce a new parameter for qemu-img commit which may be used to explicitly specify the backing file into which an image should be committed if the backing chain has more than a single layer. Signed-off-by: Max Reitz Reviewed-by: Eric Blake Reviewed-by: Fam Zheng --- qemu-img-cmds.hx | 4 ++

[Qemu-devel] [PATCH v5 07/12] qemu-img: Empty images after commit

2014-04-17 Thread Max Reitz
After the top image has been committed into an image in its backing chain, all images above that base image should be emptied to restore the old qemu-img commit behavior. Signed-off-by: Max Reitz --- qemu-img.c | 87 +++--- 1 file changed,

[Qemu-devel] [PATCH v5 12/12] iotests: Omit length/offset test in 040 and 041

2014-04-17 Thread Max Reitz
As the length of a mirror block job no longer directly depends on the size of the block device, drop the related checks from this test. As 041 uses the wait_until_completed function from iotests.py, that check has to be dropped there as well which in turn affects test 055. On the other hand, a blo

[Qemu-devel] [PATCH v5 05/12] block/mirror: Improve progress report

2014-04-17 Thread Max Reitz
Instead of taking the total length of the block device as the block job's length, use the number of dirty sectors. The progress is now the number of sectors mirrored to the target block device. Note that this may result in the job's length increasing during operation, which is however in fact desir

[Qemu-devel] [PATCH v5 08/12] qemu-img: Enable progress output for commit

2014-04-17 Thread Max Reitz
Implement progress output for the commit command by querying the progress of the block job. Signed-off-by: Max Reitz --- qemu-img-cmds.hx | 4 ++-- qemu-img.c | 24 ++-- qemu-img.texi| 2 +- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/qemu-img-

[Qemu-devel] [PATCH v5 06/12] qemu-img: Implement commit like QMP

2014-04-17 Thread Max Reitz
qemu-img should use QMP commands whenever possible in order to ensure feature completeness of both online and offline image operations. As qemu-img itself has no access to QMP (since this would basically require just everything being linked into qemu-img), imitate QMP's implementation of block-comm

[Qemu-devel] [PATCH v5 03/12] blockjob: Introduce block_job_complete_sync()

2014-04-17 Thread Max Reitz
Implement block_job_complete_sync() by doing the exact same thing as block_job_cancel_sync() does, only with calling block_job_complete() instead of block_job_cancel(). Signed-off-by: Max Reitz --- blockjob.c | 39 --- include/block/blockjob.h |

[Qemu-devel] [PATCH v5 01/12] qcow2: Allow "full" discard

2014-04-17 Thread Max Reitz
Normally, discarded sectors should read back as zero. However, there are cases in which a sector (or rather cluster) should be discarded as if they were never written in the first place, that is, reading them should fall through to the backing file again. Signed-off-by: Max Reitz --- block/qcow2

[Qemu-devel] [PATCH v5 00/12] qemu-img: Implement commit like QMP

2014-04-17 Thread Max Reitz
qemu-img should use QMP commands whenever possible in order to ensure feature completeness of both online and offline image operations. For the "commit" command, this is relatively easy, so implement it first (in the hope that indeed others will follow). As qemu-img does not have access to QMP (du

Re: [Qemu-devel] [PATCHv2] block: introduce BDRV_O_SEQUENTIAL

2014-04-17 Thread Peter Lieven
Am 28.03.2014 um 11:02 schrieb Peter Lieven : > On 21.03.2014 13:06, Paolo Bonzini wrote: >> Il 21/03/2014 12:49, Peter Lieven ha scritto: >>> A 10G logical volume was created and filled with random data. >>> Then the logical volume was exported via qemu-img convert to an iscsi >>> target. >>> B

Re: [Qemu-devel] Change of TEXT_OFFSET for multi_v7_defconfig

2014-04-17 Thread Russell King - ARM Linux
On Thu, Apr 17, 2014 at 04:18:45PM -0500, Rob Herring wrote: > The problem here is more than just the TEXT_OFFSET changed. From what > I've heard, there are some QC chips which need much more reserved RAM > than the 2MB discussed here. Changing the TEXT_OFFSET is a hack that > doesn't scale. You m

Re: [Qemu-devel] [QEMU v6 PATCH 00/17] SMBIOS: build full tables in QEMU

2014-04-17 Thread Gabriel L. Somlo
On Thu, Apr 17, 2014 at 10:31:15AM +0200, Gerd Hoffmann wrote: > > OK, so right now I'm parsing the "version" argument to what is > > currently smbios_set_type1_defaults() (and will become > > smbios_set_defaults() after patching). > > No, don't parse stuff please. Have a look at pc_piix.c, how >

Re: [Qemu-devel] [PULL 00/51] target-arm queue

2014-04-17 Thread Peter Maydell
ing changes since commit 851627352c52b5beebf119785885391fa05a44c5: > > Update version for v2.0.0-rc3 release (2014-04-14 17:45:11 +0100) > > are available in the git repository at: > > git://git.linaro.org/people/pmaydell/qemu-arm.git > tags/pull-target-ar

Re: [Qemu-devel] Change of TEXT_OFFSET for multi_v7_defconfig

2014-04-17 Thread Rob Herring
On Thu, Apr 17, 2014 at 3:16 PM, Russell King - ARM Linux wrote: > On Thu, Apr 17, 2014 at 04:06:16PM -0400, Nicolas Pitre wrote: >> On Thu, 17 Apr 2014, Rob Herring wrote: >> > Better yet, we should adopt the arm64 Image header which has this and >> > other fields for arm Image files. We're going

[Qemu-devel] Regression (?) due to c4177479 ('spapr: make sure RMA is in first mode of first memory node')

2014-04-17 Thread Nishanth Aravamudan
Hi Alexey, Prior to the $SUBJECT commit, we could present memoryless node0s to guests. Now, we indicate that we don't have the requisite 128M for the RMA if node 0 has no memory. Note that a memoryless node0 is possible under PowerVM (but not predictably present) so I was hoping to use KVM to test

[Qemu-devel] [PATCH 22/40] target-alpha: Convert gen_ext_h/l to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 66 +++- 1 file changed, 26 insertions(+), 40 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 5c6db61..c606183 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH 00/40] target-alpha queue

2014-04-17 Thread Richard Henderson
These have been queued for 2.1. The alpha translator was written before the tcg optimizer, and it believed that it should constant fold everything by hand. There are a few idioms that are still worth special casing wrt the zero register, but for the most part these all go away. The result is fan

[Qemu-devel] [PATCH 36/40] target-alpha: Use extract to get insn fields

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 49 ++-- 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 7947a1a..2c77136 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH 37/40] target-alpha: Use non-local temps for zero/sink

2014-04-17 Thread Richard Henderson
These values are no longer live across branches. Signed-off-by: Richard Henderson --- target-alpha/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 2c77136..c5f2a8d 100644 --- a/target-alpha/translate.c

[Qemu-devel] [PATCH 03/40] target-alpha: Introduce REQUIRE_REG_31

2014-04-17 Thread Richard Henderson
We were missing quite a few checks for Ra or Rb required to be 31. Further, the one place we did check we also checked for no literal operand and the Handbook says nothing about that. Signed-off-by: Richard Henderson --- target-alpha/translate.c | 70 ++---

[Qemu-devel] [Bug 1309140] [NEW] Ctrl + Alt + 1/2 do not work when the GTK+ interface is used

2014-04-17 Thread bugreport1
Public bug reported: . ** Affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1309140 Title: Ctrl + Alt + 1/2 do not work when the GTK+ int

[Qemu-devel] [Bug 1309034] [NEW] A way not to grab keyboards or mice

2014-04-17 Thread Yuuki Harano
Public bug reported: I set up the window manager to move windows with Alt-Btn1, and to iconify windows with Shift-Btn1. But since qemu grabs keyboards and mice, I can't move or iconify the qemu window. I tried not to grab anything, by inserting return, just beginnig of ui/sdl.c:sdl_grab_start() a

[Qemu-devel] [PATCH 05/40] target-alpha: Convert opcode 0x11 to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 126 ++- 1 file changed, 37 insertions(+), 89 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 93bdc64..b378e90 100644 --- a/target-alpha/translate.c +++

Re: [Qemu-devel] Change of TEXT_OFFSET for multi_v7_defconfig

2014-04-17 Thread Peter Maydell
On 17 April 2014 21:49, Christopher Covington wrote: > In any case, when performing boot debugging I'm not as interested in > traditional self-hosted bootloaders as I am external loaders, like those built > into software models (QEMU, Fast Models, etc.) or available to JTAG scripts > (OpenOCD, Tra

Re: [Qemu-devel] Change of TEXT_OFFSET for multi_v7_defconfig

2014-04-17 Thread Christopher Covington
On 04/17/2014 03:48 PM, Nicolas Pitre wrote: > On Thu, 17 Apr 2014, Christopher Covington wrote: > >> On 04/16/2014 07:21 PM, Nicolas Pitre wrote: >>> On Wed, 16 Apr 2014, Christopher Covington wrote: >> Thank you for the suggestion. This approach also came to mind, but it would require

[Qemu-devel] [PATCH 07/40] target-alpha: Convert opcode 0x13 to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 49 ++-- 1 file changed, 10 insertions(+), 39 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 4299104..4a4876b 100644 --- a/target-alpha/translate.c +++

Re: [Qemu-devel] [PULL 41/51] allwinner-a10-pit: avoid generation of spurious interrupts

2014-04-17 Thread Peter Maydell
On 17 April 2014 11:33, Peter Maydell wrote: > From: Beniamino Galvani > diff --git a/include/hw/timer/allwinner-a10-pit.h > b/include/hw/timer/allwinner-a10-pit.h > index 15efab8..a48d3c7 100644 > --- a/include/hw/timer/allwinner-a10-pit.h > +++ b/include/hw/timer/allwinner-a10-pit.h > @@ -35,1

Re: [Qemu-devel] Change of TEXT_OFFSET for multi_v7_defconfig

2014-04-17 Thread Jason Gunthorpe
On Thu, Apr 17, 2014 at 02:33:43PM -0400, Christopher Covington wrote: > On 04/16/2014 07:21 PM, Nicolas Pitre wrote: > > On Wed, 16 Apr 2014, Christopher Covington wrote: > > >> Thank you for the suggestion. This approach also came to mind, but it would > >> require new documentation and tooling

[Qemu-devel] [PATCH v2] Add QEMU logo (SVG file)

2014-04-17 Thread Stefan Weil
The "Q" of the logo is already included in pc-bios/qemu_logo_no_text.svg. This file now adds the complete logo as it was designed by Benoît Canet. Benoît licensed it under CC-BY 3.0, see http://lists.gnu.org/archive/html/qemu-devel/2012-02/msg02865.html. Unneeded borders from Benoît's original lo

[Qemu-devel] [PATCH 35/40] target-alpha: Convert mfpr/mtpr to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 52 ++-- 1 file changed, 19 insertions(+), 33 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index c57e606..7947a1a 100644 --- a/target-alpha/translate.c +++

Re: [Qemu-devel] Change of TEXT_OFFSET for multi_v7_defconfig

2014-04-17 Thread Russell King - ARM Linux
On Thu, Apr 17, 2014 at 04:06:16PM -0400, Nicolas Pitre wrote: > On Thu, 17 Apr 2014, Rob Herring wrote: > > Better yet, we should adopt the arm64 Image header which has this and > > other fields for arm Image files. We're going to have to deal with raw > > Image (and Image.gz) in bootloaders for a

Re: [Qemu-devel] [PULL for-2.1 00/25] tcg-aarch64 improvements

2014-04-17 Thread Peter Maydell
On 16 April 2014 17:17, Richard Henderson wrote: > Thanks for the patience during 5 iterations of this patch set, > but it's all reviewed now awaiting the opening of version 2.1. > > > r~ > > > The following changes since commit 851627352c52b5beebf119785885391fa05a44c5: > > Update version for v2

[Qemu-devel] [PATCH 24/40] target-alpha: Convert gen_zap/not to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 41 +++-- 1 file changed, 11 insertions(+), 30 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 5e52674..cdece84 100644 --- a/target-alpha/translate.c +++ b/targ

Re: [Qemu-devel] Change of TEXT_OFFSET for multi_v7_defconfig

2014-04-17 Thread Nicolas Pitre
On Thu, 17 Apr 2014, Rob Herring wrote: > On Wed, Apr 16, 2014 at 2:14 PM, Nicolas Pitre > wrote: > > On Wed, 16 Apr 2014, Christopher Covington wrote: > > > >> On 04/15/2014 06:44 AM, Daniel Thompson wrote: > >> > Hi Folks > > [snip] > > >> Or could we patch up the linker script to set zero-b

[Qemu-devel] [PATCH 16/40] target-alpha: Convert gen_load/store_mem to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 67 +--- 1 file changed, 29 insertions(+), 38 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 519ccf3..a72f10f 100644 --- a/target-alpha/translate.c +++

Re: [Qemu-devel] [PULL 00/02] seccomp: adding new syscalls to the whitelist

2014-04-17 Thread Peter Maydell
On 14 April 2014 19:00, Eduardo Otubo wrote: > The following changes since commit 750036a848ea913ba6343718ffa70da98f7eef6b: > > Merge remote-tracking branch 'remotes/afaerber/tags/prep-for-upstream' into > staging (2014-03-12 17:53:37 +) > > are available in the git repository at: > > git

[Qemu-devel] trunk reopened for 2.1 development

2014-04-17 Thread Peter Maydell
Thanks to everybody who helped in getting the 2.0 release out of the door; I have reopened the trunk for 2.1 development and am processing a few of the pull requests that we've got lined up already. -- PMM

[Qemu-devel] [PATCH 40/40] target-alpha: Remove cpu_unique, cpu_sysval, cpu_usp

2014-04-17 Thread Richard Henderson
Technically, these variables could have been referenced both via offsets from env and as TCG registers, which would be illegal. Of course, that could only be done from PALcode, and ours doesn't do that. But honestly, these are used infrequently enough that they don't really need to be TCG register

[Qemu-devel] [PATCH 39/40] target-alpha: Tidy alpha_translate_init

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 78 ++-- 1 file changed, 43 insertions(+), 35 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index d5de9bc..80a40d2 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH 34/40] target-alpha: Convert gen_cpys et al to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 100 --- 1 file changed, 24 insertions(+), 76 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 59ae23d..c57e606 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH 31/40] target-alpha: Convert gen_bcond to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 24 ++-- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index ec5b523..31136f9 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate

[Qemu-devel] [PATCH 29/40] target-alpha: Convert gen_ieee_input to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 32 +--- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index ef04872..f6ebf54 100644 --- a/target-alpha/translate.c +++ b/target-alpha/

Re: [Qemu-devel] Change of TEXT_OFFSET for multi_v7_defconfig

2014-04-17 Thread Nicolas Pitre
On Thu, 17 Apr 2014, Christopher Covington wrote: > On 04/16/2014 07:21 PM, Nicolas Pitre wrote: > > On Wed, 16 Apr 2014, Christopher Covington wrote: > > >> Thank you for the suggestion. This approach also came to mind, but it would > >> require new documentation and tooling in the JTAG scripts

[Qemu-devel] [PATCH 38/40] target-alpha: Don't issue goto_tb under singlestep

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index c5f2a8d..d5de9bc 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -426,7 +426,8 @@ s

[Qemu-devel] [PATCH 33/40] target-alpha: Convert gen_fcvtlq/ql to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/fpu_helper.c | 7 + target-alpha/helper.h | 1 + target-alpha/translate.c | 78 +-- 3 files changed, 36 insertions(+), 50 deletions(-) diff --git a/target-alpha/fpu_helper.c b/target-alpha/fp

[Qemu-devel] [PATCH 28/40] target-alpha: Convert MVIOP2 to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index cff79ef..ef04872 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.

[Qemu-devel] [PATCH 27/40] target-alpha: Convert ARITH3 to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 108 +-- 1 file changed, 39 insertions(+), 69 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index bb84d8c..cff79ef 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH 32/40] target-alpha: Convert gen_fcmov to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 44 ++-- 1 file changed, 14 insertions(+), 30 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 31136f9..7515ed3 100644 --- a/target-alpha/translate.c +++ b/t

[Qemu-devel] [PATCH 26/40] target-alpha: Convert FARITH3 to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 65 +--- 1 file changed, 12 insertions(+), 53 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 858deb3..bb84d8c 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH 30/40] target-alpha: Convert most ieee insns to source/sink

2014-04-17 Thread Richard Henderson
This one fixes a bug, previously noted as supressing exceptions in the (unlikely) case the destination register was $f31. Signed-off-by: Richard Henderson --- target-alpha/translate.c | 69 1 file changed, 17 insertions(+), 52 deletions(-) diff -

[Qemu-devel] [PATCH 18/40] target-alpha: Convert gen_cmp to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 40 +--- 1 file changed, 5 insertions(+), 35 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 289a703..026372d 100644 --- a/target-alpha/translate.c +++ b/target

[Qemu-devel] [PATCH 25/40] target-alpha: Convert FARITH2 to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 43 +++ 1 file changed, 11 insertions(+), 32 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index cdece84..858deb3 100644 --- a/target-alpha/translate.c +++ b/ta

[Qemu-devel] [PATCH 20/40] target-alpha: Convert gen_cmov to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 66 1 file changed, 22 insertions(+), 44 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 0fbb1f2..23fb551 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH 23/40] target-alpha: Convert gen_ins_h/l to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 111 +-- 1 file changed, 50 insertions(+), 61 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index c606183..5e52674 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH 19/40] target-alpha: Convert ARITH3_EX to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 49 ++-- 1 file changed, 6 insertions(+), 43 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 026372d..0fbb1f2 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH 17/40] target-alpha: Convert gen_store_conditional to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index a72f10f..289a703 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -376,11 +376,7

[Qemu-devel] [PATCH 21/40] target-alpha: Convert gen_msk_h/l to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 47 +++ 1 file changed, 19 insertions(+), 28 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 23fb551..5c6db61 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH v2] mac99: Added FW_CFG_PPC_BUSFREQ to match CLOCKFREQ and TBFREQ already there

2014-04-17 Thread BALATON Zoltan
While there, also moved the hard coded value for CLOCKFREQ to a #define. Signed-off-by: BALATON Zoltan --- v2: Also include mac_oldworld that I missed in the first version and fix commit message hw/ppc/mac_newworld.c | 5 - hw/ppc/mac_oldworld.c | 5 - include/hw/ppc/ppc.h | 2 ++

[Qemu-devel] [PATCH 15/40] target-alpha: Convert opcode 0x1F to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 30 ++ 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 3c198eb..519ccf3 100644 --- a/target-alpha/translate.c +++ b/target-alpha/tr

[Qemu-devel] [PATCH 14/40] target-alpha: Convert opcode 0x1E to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 6664304..3c198eb 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -2962,6 +2962,

[Qemu-devel] [PATCH 12/40] target-alpha: Convert opcode 0x1B to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 32 +--- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index d3fbcb4..3a0cf6f 100644 --- a/target-alpha/translate.c +++ b/target-alpha/

[Qemu-devel] [PATCH 10/40] target-alpha: Convert opcode 0x18 to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index e783e80..3340916 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -

[Qemu-devel] [PATCH 01/40] target-alpha: fix the braces

2014-04-17 Thread Richard Henderson
From: Paolo Bonzini Conform to coding style, and avoid further occurrences of bugs due to misplaced braces. Signed-off-by: Paolo Bonzini Signed-off-by: Richard Henderson --- target-alpha/translate.c | 313 +++ 1 file changed, 180 insertions(+), 133

[Qemu-devel] [PATCH 09/40] target-alpha: Convert opcode 0x17 to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 41 - 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 2afda77..e783e80 100644 --- a/target-alpha/translate.c +++ b/targ

[Qemu-devel] [PATCH 13/40] target-alpha: Convert opcode 0x1C to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 73 +--- 1 file changed, 19 insertions(+), 54 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 3a0cf6f..6664304 100644 --- a/target-alpha/translate.c +++

[Qemu-devel] [PATCH 11/40] target-alpha: Convert opcode 0x1A to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 3340916..d3fbcb4 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -2735,6 +27

[Qemu-devel] [PATCH 02/40] target-alpha: Introduce REQUIRE_TB_FLAG

2014-04-17 Thread Richard Henderson
The methods by which we check for cpu features varied wildly across the function. Using a nice macro cleans this up. Signed-off-by: Richard Henderson --- target-alpha/translate.c | 317 --- 1 file changed, 133 insertions(+), 184 deletions(-) diff --g

[Qemu-devel] [PATCH 08/40] target-alpha: Convert opcode 0x14 to source/sink

2014-04-17 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 44 ++-- 1 file changed, 18 insertions(+), 26 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 4a4876b..2afda77 100644 --- a/target-alpha/translate.c +++ b/t

[Qemu-devel] [PATCH 04/40] target-alpha: Introduce functions for source/sink

2014-04-17 Thread Richard Henderson
This will allow cleaner handling of $31 and $f31. Convert opcodes 0x08, 0x09, 0x10 as examples. Signed-off-by: Richard Henderson --- target-alpha/translate.c | 396 +++ 1 file changed, 163 insertions(+), 233 deletions(-) diff --git a/target-alpha/tran

  1   2   3   >