[Qemu-devel] Question about memory micro operations in Qemu 0.12.x

2010-03-26 Thread coo...@gmail.com
Hello. in qemu 0.9.x there was a special file with micro-operations, which implemented access to memory. For example for arm architecture it was op_mem.h file. I was able to add some printfs to this functions and get information about memory accesses. My question is : how memory access microo

Re: [Qemu-devel] Multi process. using threads in qemu

2010-03-26 Thread Samuel Thibault
Alexandre Muller, le Fri 26 Mar 2010 21:26:52 -0300, a écrit : > 1 - The is a known discussion about it? Yes. The basic answer is: this is hard. You'd need to keep the memory coherency etc. > 2 - There is a patch or a dirty and quick way to do it? (I not worried about > safety) Use kvm. In that

[Qemu-devel] Multi process. using threads in qemu

2010-03-26 Thread Alexandre Muller
Hi Qemu developers, I use the Qemu emulator for years, and recently I experienced things that made me think. Specially in how to speed up the emulator (for example if I have a 32 bit x86 with 2 ou more processors emulating 64 bit processor). First I noticed that even my virtual machine was very sl

Re: [Qemu-devel] How do I build mips64-linux-user?

2010-03-26 Thread Rob Landley
On Thursday 25 March 2010 19:04:46 Rob Landley wrote: > If I do the standard "./configure --disable-werror", it builds qemu-mips > and qemu-system-mips64, but no qemu-mips64. If I tell it "./configure > --disable- werror --target-list-mips64-linux-user", configure completes but > the build breaks

Re: [Qemu-devel] [PATCH][RESEND] Serial: DOS Plus regression

2010-03-26 Thread Roy Tam
2010/3/27 Aurelien Jarno : > On Thu, Mar 25, 2010 at 08:58:13PM +0800, Roy Tam wrote: >> The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents >> booting Digital Research DOSPlus. Following patch partially reverts >> that commit and makes DOSPlus booting in QEMU again. > > I guess that th

Re: [Qemu-devel] [PATCH 1/4] linux-user: add pselect syscall

2010-03-26 Thread Paul Brook
>This patch adds support for the pselect syscall in linux-user emulation >and also adds several support functions required to translate the >timespec structs between the target and the host. IIUC the whole point of the pselect is that it should be atomic. By emulating this in a non-atomic fasion

Re: [Qemu-devel] TBL register permissions for PPC

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 03:31:25AM +0300, Dmitry Ilyevsky wrote: > On Thu, Mar 25, 2010 at 10:53 AM, Alexander Graf wrote: > > > > On 24.03.2010, at 22:56, Dmitry Ilyevsky wrote: > > > >> > >> Hello All, > >> > >> Please review patch for TBL SPR read access for generic PPC. > >> > >> Description:

Re: [Qemu-devel] [PATCH 0/3] Fix S390x target v2

2010-03-26 Thread Aurelien Jarno
On Thu, Mar 25, 2010 at 02:58:59PM +0100, Alexander Graf wrote: > We're in a bad situation with the S390 qemu target. It only works with KVM, > so people can't test it when they don't have access to a real S390 machine. > > While trying to build and use s390x-softmmu again I stumbled across a coup

Re: [Qemu-devel] [PATCH] Compile ide/core only once

2010-03-26 Thread Aurelien Jarno
On Wed, Mar 24, 2010 at 10:53:19PM +0200, Blue Swirl wrote: > Make win2k install hack unconditional as it is still restricted to > x86 only in vl.c. > > Replace TARGET_PAGE_SIZE with 4096 because that figure is already > used later. I don't really know this part of the code, but I would go for ar

Re: [Qemu-devel] [PATCH] Compile ide/core only once

2010-03-26 Thread Aurelien Jarno
On Wed, Mar 24, 2010 at 10:53:19PM +0200, Blue Swirl wrote: > Make win2k install hack unconditional as it is still restricted to > x86 only in vl.c. > > Replace TARGET_PAGE_SIZE with 4096 because that figure is already > used later. This patch has been mangled by your mailer and does not apply co

Re: [Qemu-devel] [PATCH 1/3] Compile some MIPS devices only once

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 11:37:08PM +0200, Blue Swirl wrote: > On 3/26/10, Aurelien Jarno wrote: > > On Thu, Mar 25, 2010 at 10:24:12PM +0200, Blue Swirl wrote: > > > Move CPU specific declarations to a separate file. > > > > > > This basically looks ok, but I haven't been able to test it as the p

Re: [Qemu-devel] [PATCH 06/48] Get rid of AREG1 and AREG2.

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 04:06:27PM +, Riku Voipio wrote: > From: Filip Navara > > Signed-Off-By: Riku Voipio > Signed-off-by: Filip Navara > --- > dyngen-exec.h | 26 -- > tcg/arm/tcg-target.h|2 -- > tcg/hppa/tcg-target.h |2 -- > tcg/i386

Re: [Qemu-devel] [PATCH] remove remaining occurrences AREG[1-9] and TCG_AREG[1-9]

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 19, 2010 at 11:31:15AM +0100, Paolo Bonzini wrote: > Signed-off-by: Paolo Bonzini > --- > dyngen-exec.h | 26 -- > tcg/arm/tcg-target.h|2 -- > tcg/hppa/tcg-target.h |2 -- > tcg/i386/tcg-target.h |2 -- > tcg/mips/tcg-target.h

Re: [Qemu-devel] [PATCH][RESEND] Serial: DOS Plus regression

2010-03-26 Thread Aurelien Jarno
On Thu, Mar 25, 2010 at 08:58:13PM +0800, Roy Tam wrote: > The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents > booting Digital Research DOSPlus. Following patch partially reverts > that commit and makes DOSPlus booting in QEMU again. I guess that this patch has been introduced to fix

Re: [Qemu-devel] [PATCH 2/4] linux-user: Add the syscall id for pselect6 on ARM

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 03:25:10PM +, Riku Voipio wrote: > From: Michael Casadevall > > As this is now supported in newer linux kernels. > > Signed-off-by: Michael Casadevall > Signed-off-by: Riku Voipio > --- > linux-user/arm/syscall_nr.h |2 +- > 1 files changed, 1 insertions(+), 1

Re: [Qemu-devel] [PATCH 1/4] linux-user: add pselect syscall

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 03:25:09PM +, Riku Voipio wrote: > From: Michael Casadevall > > This patch adds support for the pselect syscall in linux-user emulation > and also adds several support functions required to translate the > timespec structs between the target and the host. > > Signed-o

Re: [Qemu-devel] [PATCH 3/4] Add inotify_init1 syscall support

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 03:25:11PM +, Riku Voipio wrote: > From: Riku Voipio > > New syscall which gets actively used when you have a > fresh kernel. > > Signed-off-by: Riku Voipio Thanks, applied. > --- > configure| 18 ++ > linux-user/syscall.c | 14

Re: [Qemu-devel] [PATCH 0/9] tcg cleanups

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 19, 2010 at 01:10:56PM -0700, Richard Henderson wrote: > Three of the patches improve the debugging of TCG by using enumerations > where it makes sense. This avoids having to grovel through header files > to figure out what a given constant refers to. > > Four of the patches have prev

[Qemu-devel] [PATCH 2/2] Refactor CPUState handling out of vl.c

2010-03-26 Thread Blue Swirl
Signed-off-by: Blue Swirl --- Makefile.target |2 +- cpus.c | 757 +++ cpus.h | 17 ++ vl.c| 733 +- 4 files changed, 778 insertions(+), 731 deletions(-)

Re: [Qemu-devel] Significant performance regression in qemu-system-mips.

2010-03-26 Thread Rob Landley
On Friday 26 March 2010 14:00:00 Aurelien Jarno wrote: > > I'm not asking anyone to care about me personally, I'm asking them to > > care about specific technical issues. If those issues don't interest > > you, they don't interest you. > > > > Speaking of ppc, last month I sent this patch: > > > >

[Qemu-devel] [PATCH 1/2] Refactor numa mode setting

2010-03-26 Thread Blue Swirl
Signed-off-by: Blue Swirl --- vl.c | 23 +++ 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/vl.c b/vl.c index f12363c..ca568b2 100644 --- a/vl.c +++ b/vl.c @@ -2927,6 +2927,20 @@ static bool tcg_cpu_exec(void) return tcg_has_work(); } +static void set

[Qemu-devel] [PATCH 0/2] Refactor vl.c

2010-03-26 Thread Blue Swirl
This patch set is based on top of my patch stack. The first patch does a bit of refactoring so that the second patch can be just code motion. I'm not too happy about "cpus.c" name. The next step is to get rid of all uses of TARGET_* in vl.c so we can compile it just once for all targets. Probably

Re: [Qemu-devel] [PATCH 1/3] Compile some MIPS devices only once

2010-03-26 Thread Blue Swirl
On 3/26/10, Aurelien Jarno wrote: > On Thu, Mar 25, 2010 at 10:24:12PM +0200, Blue Swirl wrote: > > Move CPU specific declarations to a separate file. > > > This basically looks ok, but I haven't been able to test it as the patch > doesn't apply anymore. You need to apply the earlier ide/core p

Re: [Qemu-devel] [PATCH 10/10] Compile virtio-blk only once

2010-03-26 Thread Blue Swirl
On 3/26/10, Anthony Liguori wrote: > On 03/26/2010 02:04 PM, Blue Swirl wrote: > > > Replace access macros with direct accesses. > > > > Signed-off-by: Blue Swirl > > --- > > Makefile.objs |3 ++- > > Makefile.target |2 +- > > hw/virtio-blk.c |6 +++--- > > 3 files changed, 6 inser

Re: [Qemu-devel] [PATCH 1/9] tcg: Remove jmp opcode.

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 19, 2010 at 10:40:59AM -0700, Richard Henderson wrote: > This opcode is unused. It was incorrectly implemented > on at least one host. Just remove it. > > Signed-off-by: Richard Henderson > --- > tcg/README |7 +-- > tcg/arm/tcg-target.c|7 --- > tc

Re: [Qemu-devel] [PATCH 1/3] Compile some MIPS devices only once

2010-03-26 Thread Aurelien Jarno
On Thu, Mar 25, 2010 at 10:24:12PM +0200, Blue Swirl wrote: > Move CPU specific declarations to a separate file. This basically looks ok, but I haven't been able to test it as the patch doesn't apply anymore. > Signed-off-by: Blue Swirl > --- > Makefile.objs|6 ++

Re: [Qemu-devel] [PATCH 10/10] Compile virtio-blk only once

2010-03-26 Thread Anthony Liguori
On 03/26/2010 02:04 PM, Blue Swirl wrote: Replace access macros with direct accesses. Signed-off-by: Blue Swirl --- Makefile.objs |3 ++- Makefile.target |2 +- hw/virtio-blk.c |6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile.objs b/Makefile.o

[Qemu-devel] Question about memory micro operations in Qemu 0.12.x

2010-03-26 Thread coo...@gmail.com
Hello. in qemu 0.9.x there was a special file with micro-operations, which implemented access to memory. For example for arm architecture it was op_mem.h file. I was able to add some printfs to this functions and get information about memory accesses. My question is : how memory access microo

Re: [Qemu-devel] guidance regarding GSOC

2010-03-26 Thread Luiz Capitulino
On Fri, 26 Mar 2010 11:09:44 + Faqeer ALI wrote: > > Dear Sir, > > > I am a graduate student at MAJU university Islamabad Pakistan, as a course > project I have already worked with qemu and openmoko. > > During this summers, I would be glad to work with qemu. > > I need some guidance, I

Re: [Qemu-devel] [PATCH -v2 03/22] virtio-9p: Implement P9_TATTACH

2010-03-26 Thread jvrao
Anthony Liguori wrote: > On 03/16/2010 04:15 AM, Aneesh Kumar K.V wrote: >> From: Anthony Liguori >> >> [jv...@linux.vnet.ibm.com: Added qemu_vasprintf] >> >> Signed-off-by: Anthony Liguori >> Signed-off-by: Aneesh Kumar K.V >> --- >> Makefile.target |2 +- >> hw/virtio-9p-local.c | 8

Re: [Qemu-devel] [PATCH -v2 03/22] virtio-9p: Implement P9_TATTACH

2010-03-26 Thread jvrao
Anthony Liguori wrote: > On 03/16/2010 04:15 AM, Aneesh Kumar K.V wrote: >> From: Anthony Liguori >> >> [jv...@linux.vnet.ibm.com: Added qemu_vasprintf] >> >> Signed-off-by: Anthony Liguori >> Signed-off-by: Aneesh Kumar K.V >> --- >> Makefile.target |2 +- >> hw/virtio-9p-local.c | 8

[Qemu-devel] [PATCH 10/10] Compile virtio-blk only once

2010-03-26 Thread Blue Swirl
Replace access macros with direct accesses. Signed-off-by: Blue Swirl --- Makefile.objs |3 ++- Makefile.target |2 +- hw/virtio-blk.c |6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index cad6490..5612ec2 100644 --- a/Makefil

[Qemu-devel] [PATCH 09/10] Compile virtio-net only once

2010-03-26 Thread Blue Swirl
Replace access macros with direct accesses. Signed-off-by: Blue Swirl --- Makefile.objs |2 +- Makefile.target |2 +- hw/virtio-net.c | 14 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 7973ab2..cad6490 100644 --- a/

[Qemu-devel] [PATCH 08/10] Compile virtio-serial-bus only once

2010-03-26 Thread Blue Swirl
Replace access macros with direct accesses. Signed-off-by: Blue Swirl --- Makefile.objs |2 +- Makefile.target|2 +- hw/virtio-serial-bus.c | 16 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index 6498f

[Qemu-devel] [PATCH 07/10] Compile most PPC devices only once

2010-03-26 Thread Blue Swirl
Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl --- Makefile.objs | 14 ++ Makefile.target|8 +++- default-configs/ppc-softmmu.mak| 10 ++ default-configs/ppc64-softmmu.mak | 10 ++

Re: [Qemu-devel] [PATCH 22/48] License update

2010-03-26 Thread Anthony Liguori
On 03/26/2010 11:06 AM, Riku Voipio wrote: From: Riku Voipio Legal requested us to be open to future. Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/blizzard.c |2 +- hw/blizzard_template.h |2 +- hw/cbus.c |2 +- hw/lm832x.c

[Qemu-devel] [PATCH 06/10] Compile prep_pci only once

2010-03-26 Thread Blue Swirl
Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl --- Makefile.objs |3 +++ Makefile.target|2 +- default-configs/ppc-softmmu.mak|1 + default-configs/ppc64-softmmu.mak |1 + default-configs/ppcemb-so

[Qemu-devel] [PATCH 05/10] Compile openpic only once

2010-03-26 Thread Blue Swirl
Replace TARGET_PAGE_SIZE with 4096. Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl --- Makefile.objs |1 + Makefile.target|2 +- default-configs/ppc-softmmu.mak|1 + default-configs/ppc64-softmmu.mak |

[Qemu-devel] [PATCH 04/10] Compile ide/macio only once

2010-03-26 Thread Blue Swirl
Replace TARGET_PAGE_SIZE with 4096. Make byte swapping unconditional since PPC is big endian. Signed-off-by: Blue Swirl --- Makefile.objs |1 + Makefile.target|2 +- default-configs/ppc-softmmu.mak|1 + default-configs/ppc64-softmmu.mak |

[Qemu-devel] [PATCH 03/10] Compile pflash_cfi01 only once

2010-03-26 Thread Blue Swirl
Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl --- Makefile.objs |1 + Makefile.target|5 +- default-configs/arm-softmmu.mak|1 + default-configs/microblaze-softmmu.mak |1 + default-config

[Qemu-devel] [PATCH 02/10] Compile pflash_cfi02 only once

2010-03-26 Thread Blue Swirl
Push TARGET_WORDS_BIGENDIAN dependency to board level. Signed-off-by: Blue Swirl --- Makefile.objs |1 + Makefile.target|6 +- default-configs/arm-softmmu.mak|1 + default-configs/cris-softmmu.mak |1 + default-configs/ppc-softmmu.ma

[Qemu-devel] [PATCH 01/10] pflash_cfi02: fix incorrect TARGET_FMT_lx/d use

2010-03-26 Thread Blue Swirl
Also use target_phys_addr_t for addresses. Signed-off-by: Blue Swirl --- hw/pflash_cfi02.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/hw/pflash_cfi02.c b/hw/pflash_cfi02.c index 135c850..50b4c6c 100644 --- a/hw/pflash_cfi02.c +++ b/hw/

[Qemu-devel] [PATCH 00/10] Today's compilation fixes

2010-03-26 Thread Blue Swirl
Comments, anyone? Blue Swirl (10): pflash_cfi02: fix incorrect TARGET_FMT_lx/d use Compile pflash_cfi02 only once Compile pflash_cfi01 only once Compile ide/macio only once Compile openpic only once Compile prep_pci only once Compile most PPC devices only once Compile virtio-serial

Re: [Qemu-devel] Significant performance regression in qemu-system-mips.

2010-03-26 Thread Aurelien Jarno
On Fri, Mar 26, 2010 at 04:53:02AM -0500, Rob Landley wrote: > > > As far as I can tell the sh4 linux-kernel maintainer officially doesn't > > > care about anybody who isn't employed by his company, so I'm not sure I > > > still care about supporting that platform. It's not real hardware, it's > >

Re: [Qemu-devel] [PATCH 2/2] Added monitor commands: 'keyboard_set' and 'info keybaord'

2010-03-26 Thread Shahar Havivi
On Fri, Mar 26, 2010 at 10:57:58AM +0100, Markus Armbruster wrote: > Date: Fri, 26 Mar 2010 10:57:58 +0100 > From: Markus Armbruster > To: Shahar Havivi > Cc: qemu-devel@nongnu.org > Subject: Re: [Qemu-devel] [PATCH 2/2] Added monitor commands: > 'keyboard_set' and 'info keybaord' > > Shahar Ha

Re: [Qemu-devel] Re: KVM call agenda for Mar 23

2010-03-26 Thread Chris Wright
* Jes Sorensen (jes.soren...@redhat.com) wrote: > As long as the bits are sitting in the tree without disturbing other > parts, then I just think we should let them sit there. Yup, I agree (there == qemu-kvm.git), and it doesn't need to be a gating factor for pushing the merge into qemu.git. than

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Luiz Capitulino
On Fri, 26 Mar 2010 20:13:09 +0530 Amit Shah wrote: > On (Fri) Mar 26 2010 [11:29:03], Luiz Capitulino wrote: > > On Fri, 26 Mar 2010 18:56:20 +0530 > > Amit Shah wrote: > > > > > On (Fri) Mar 26 2010 [10:14:02], Luiz Capitulino wrote: > > > > > > > + > > > > > > > +VIRTIO_SERIAL > > > > > > >

Re: [Qemu-devel] [PATCH 00/48] RFC: omap3 patch collection

2010-03-26 Thread Paul Brook
> This set of patches is quite raw, intended mostly just for discussion > at this point. We'd like to identify the unobjectionable patches and > "ready for upstream with minor fixes" patches first, so we can send > them for a pull request. After which we can start diving more deeply > into restruct

Re: [Qemu-devel] [PATCH 38/48] target-arm: fix neon vrshl instruction

2010-03-26 Thread Nathan Froyd
On Fri, Mar 26, 2010 at 04:06:58PM +, Riku Voipio wrote: > +uint32_t HELPER(neon_rshl_u32)(uint32_t val, uint32_t shiftop) > +{ > +int8_t shift = (int8_t)shiftop; > +if (shift >= 32 || shift < -32) { > +val = 0; > +} else if (shift == -32) { > +val >>= shift - 1;

Re: [Qemu-devel] Re: [PATCH 10/15] virtio-serial: Add QMP events for failed port/device add

2010-03-26 Thread Anthony Liguori
On 03/26/2010 09:29 AM, Luiz Capitulino wrote: On Fri, 26 Mar 2010 18:56:20 +0530 Amit Shah wrote: On (Fri) Mar 26 2010 [10:14:02], Luiz Capitulino wrote: + +VIRTIO_SERIAL +- It should be VIRTIO_SERIAL_ADD. What about other events that VIRTI

[Qemu-devel] [PATCH] qcow2: Fix creation of large images

2010-03-26 Thread Kevin Wolf
qcow_create2 assumes that the new image will only need one cluster for its refcount table initially. Obviously that's not true any more when the image is big enough (exact value depends on the cluster size). This patch calculates the refcount table size dynamically. Signed-off-by: Kevin Wolf ---

Re: [Qemu-devel] [PATCH -v2 03/22] virtio-9p: Implement P9_TATTACH

2010-03-26 Thread Anthony Liguori
On 03/16/2010 04:15 AM, Aneesh Kumar K.V wrote: From: Anthony Liguori [jv...@linux.vnet.ibm.com: Added qemu_vasprintf] Signed-off-by: Anthony Liguori Signed-off-by: Aneesh Kumar K.V --- Makefile.target |2 +- hw/virtio-9p-local.c | 84 +++ hw/virtio-9p.c

Re: [Qemu-devel] [PATCH -v2 02/22] vrtio-9p: Implement P9_TVERSION for 9P

2010-03-26 Thread Anthony Liguori
On 03/16/2010 04:15 AM, Aneesh Kumar K.V wrote: From: Anthony Liguori [ki...@linux.vnet.ibm.com: malloc to qemu_malloc coversion] Signed-off-by: Anthony Liguori Signed-off-by: Aneesh Kumar K.V --- hw/virtio-9p.c | 263 +++- 1 files changed

[Qemu-devel] Re: [PATCH v3 1/1] Shared memory uio_pci driver

2010-03-26 Thread Cam Macdonell
On Thu, Mar 25, 2010 at 10:35 AM, Avi Kivity wrote: > On 03/25/2010 06:24 PM, Cam Macdonell wrote: >> >>> There is now a generic PCI 2.3 driver that can handle all PCI devices. >>>  It >>> doesn't support MSI, but if we add MSI support then it can be used >>> without >>> the need for a specialized

[Qemu-devel] [PATCH 05/48] audio: fix coreaudio compilation

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki audio: fix coreaudio compilation on OS X 10.6 and OS X 10.5 --- audio/coreaudio.c | 81 +++-- 1 files changed, 78 insertions(+), 3 deletions(-) diff --git a/audio/c

[Qemu-devel] [PATCH 26/48] SD overhaul

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki - reset support - add high capacity mmc support - sd: improve mmc emulation - make sd emulation work as mmc emulation as well - handle SD CMD5 without error messages - remove couple of unnecessary error messages - Fix block count for OMAP3 MMC emulation Signed-Off-By: Riku V

[Qemu-devel] [PATCH 24/48] onenand overhaul

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki - major onenand emulation changes - add reset support - onenand: ignore zero writes to boot command area Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/flash.h |5 +- hw/onenand.c | 275 -- 2

[Qemu-devel] [PATCH 36/48] target-arm: fix neon vqshl/vqshlu instructions

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/helpers.h |4 +++ target-arm/neon_helper.c | 58 + target-arm/translate.c | 28 +++--- 3 files changed, 70 insertions(+), 20 de

[Qemu-devel] [PATCH 27/48] tsc2005 overhaul

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/tsc2005.c | 173 -- 1 files changed, 120 insertions(+), 53 deletions(-) diff --git a/hw/tsc2005.c b/hw/tsc2005.c index b75cc86..da39979 100644 --- a/hw

[Qemu-devel] [PATCH 37/48] target-arm: fix neon vqrshl instruction

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c | 21 ++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 7985293..ec1964f 100644 --- a/targe

[Qemu-devel] [PATCH 19/48] usb-ohci: add omap init support

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio --- hw/usb-ohci.c | 12 hw/usb-ohci.h |2 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/hw/usb-ohci.c b/hw/usb-ohci.c index 93f7d79..c9865f4 100644 --- a/hw/usb-ohci.c +++ b/hw/usb-ohci.c @@ -61,6 +61,7 @@ typ

[Qemu-devel] [PATCH 29/48] Add triton2 (twl4030) driver

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki The swiss knife companion chip for omap3 Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/i2c.h | 10 + hw/twl4030.c | 1469 ++ 2 files changed, 1479 insertions(+), 0 deletions(-) create mode 1

[Qemu-devel] [PATCH 20/48] add reset support for musb

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/usb-musb.c | 29 +++-- hw/usb.h |1 + 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/hw/usb-musb.c b/hw/usb-musb.c index 7f15842..a83cd85 100644 --- a/hw/us

[Qemu-devel] [PATCH 30/48] savevm and reset support for soc_dma

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio --- hw/soc_dma.c | 72 +- hw/soc_dma.h |4 ++- 2 files changed, 74 insertions(+), 2 deletions(-) diff --git a/hw/soc_dma.c b/hw/soc_dma.c index 8147ed5..280fe92 100644 --- a/hw/soc_dma.c

[Qemu-devel] [PATCH 34/48] target-arm: add support for smc

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- hw/omap3_boot.c| 32 +++ target-arm/cpu.h | 10 +-- target-arm/helper.c| 67 +++- target-arm/translate.c | 31

[Qemu-devel] [PATCH 04/48] audio: fix integer overflow expression

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- audio/mixeng_template.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/mixeng_template.h b/audio/mixeng_template.h index 5617705..80af364 100644 --- a/audio/mixeng_template.h +

[Qemu-devel] [PATCH 21/48] NAND emulation overhaul

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki - Enhanced existing NAND emulation to support other than 8-bit devices. - Enhanced existing NAND emulation to support over 1Gb devices. - Enhanced existing NAND emulation to support cache status bits and read cache commands. - Fixed existing NAND emulation to correctly handl

[Qemu-devel] [PATCH 44/48] target-arm: fix neon v(q)(r)shrn instructions

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c | 23 +-- target-arm/translate.c | 19 ++- 2 files changed, 35 insertions(+), 7 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/

[Qemu-devel] [PATCH 22/48] License update

2010-03-26 Thread Riku Voipio
From: Riku Voipio Legal requested us to be open to future. Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/blizzard.c |2 +- hw/blizzard_template.h |2 +- hw/cbus.c |2 +- hw/lm832x.c|2 +- hw/nseries.c |7 -

[Qemu-devel] [PATCH 12/48] cocoa frontend changes

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki remove help menu, fix fullscreen mode mouse handling, add confirmation dialog to quit menu command, add support for undocumented alt-grab and ctrl-grab options, add qemu version printout in about panel. - fix build on os x versions prior to 10.6 - cocoa window handling fixes

[Qemu-devel] [PATCH 32/48] Add beagleboard and n900 machine definitions

2010-03-26 Thread Riku Voipio
From: Riku Voipio Wire in all the code from previous patches. Beagleboard code based on Yajin's initial work. Cc: ya...@vm-kernel.org Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- Makefile.target |7 +- hw/beagle.c | 108 + hw/nseries.c| 288

[Qemu-devel] [PATCH 35/48] target-arm: fix neon vmon/vmvn with modified immediate

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/translate.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index e5f5cfb..26e6bf4 100644 --- a/target-arm/translate.c +++ b/ta

[Qemu-devel] [PATCH 41/48] target-arm: fix neon vld1 single element to all lanes

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/translate.c | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 964baf5..de2ea92 100644 --- a/target-arm/translat

[Qemu-devel] [PATCH 42/48] target-arm: fix signed narrow 64->32 operation

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 4604698..910f84a 100644 --- a/target-arm/neon_hel

[Qemu-devel] [PATCH 43/48] target-arm: fix neon vq(r)dmulh.s16 instructions

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 910f84a..6464317 100644 --- a/target-arm/neon_helper.c

[Qemu-devel] [PATCH 45/48] target-arm: fix neon vcvt fixed-point

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/translate.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 92c8a1a..fd3a72e 100644 --- a/target-arm/translate.c +

[Qemu-devel] [PATCH 46/48] target-arm: fix neon vrsqrts instruction

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/helper.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 798e9f9..1f5f307 100644 --- a/target-arm/helper.c +++ b/target-arm/he

[Qemu-devel] [PATCH 09/48] console change headers

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki multitouch, multi-keyboard and window close hook support Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- console.h | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/console.h b/console.h index 6def115..b1362ff 100644 --- a

[Qemu-devel] [PATCH 48/48] usb: fix -usbdevice option handling with no parameters

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- hw/usb-bus.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/usb-bus.c b/hw/usb-bus.c index ce8a694..9132d00 100644 --- a/hw/usb-bus.c +++ b/hw/usb-bus.c @@ -299,7 +299,7 @@ USBDevice

[Qemu-devel] [PATCH 25/48] blizzard: fix for non-32bpp host displays

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/blizzard.c | 102 +--- 1 files changed, 53 insertions(+), 49 deletions(-) diff --git a/hw/blizzard.c b/hw/blizzard.c index 7cbb358..d110eec 100644 --- a/hw/

[Qemu-devel] [PATCH 39/48] target-arm: fix neon vrshr instruction

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 0df13f5..4604698 100644 --- a/target-arm/neon_hel

[Qemu-devel] [PATCH 40/48] target-arm: fix neon v(r)sra instructions

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/translate.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/target-arm/translate.c b/target-arm/translate.c index 97fac4d..964baf5 100644 --- a/target-arm/translate.c +++ b/

Re: [Qemu-devel] [PATCH 4/4] fix 0 sized write syscall

2010-03-26 Thread Richard Henderson
On 03/26/2010 08:25 AM, Riku Voipio wrote: > +if (len == 0) { > +return 0; > +} This part is ok. > > -if (start + len - 1 < start) { > +if (start + len < start) { This part re-introduces the bug I fixed. start = 0xff00 len = 256 should succeed, and it won't re

[Qemu-devel] [PATCH 38/48] target-arm: fix neon vrshl instruction

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c | 19 --- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index ec1964f..0df13f5 100644 --- a/target-

[Qemu-devel] [PATCH 47/48] target-arm: fix neon vshll (shift < max)

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-off-by: Juha Riihimäki --- target-arm/neon_helper.c |1 - target-arm/translate.c |4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/target-arm/neon_helper.c b/target-arm/neon_helper.c index 7cef783..d75cb47 1

[Qemu-devel] [PATCH 18/48] make cursor grab optional

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio --- sysemu.h |1 + vl.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sysemu.h b/sysemu.h index 525efd1..5b4ddd8 100644 --- a/sysemu.h +++ b/sysemu.h @@ -128,6 +128,7 @@ extern int usb_enabled; extern int smp_cpus

[Qemu-devel] [PATCH 01/48] arm-dis debug helper

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki modified the arm disassembler to include the opcode binary representation along with the symbolic disassembly. Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- arm-dis.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/arm-dis.

[Qemu-devel] [PATCH 23/48] multi-mmc support in init call

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki change sd_init convention to allow multiple entries Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/omap_mmc.c|4 ++-- hw/pl181.c |2 +- hw/pxa2xx_mmci.c |2 +- hw/sd.h |4 +++- hw/ssi-sd.c |2 +- 5 files change

[Qemu-devel] [PATCH 17/48] add multi-sd support

2010-03-26 Thread Riku Voipio
From: Riku Voipio N900 and other devices can have more than one sd/mmc card, and thus the -sd command line option needs to be read multiple times. Signed-Off-By: Riku Voipio --- vl.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/vl.c b/vl.c index d69250c..b4df

[Qemu-devel] [PATCH 06/48] Get rid of AREG1 and AREG2.

2010-03-26 Thread Riku Voipio
From: Filip Navara Signed-Off-By: Riku Voipio Signed-off-by: Filip Navara --- dyngen-exec.h | 26 -- tcg/arm/tcg-target.h|2 -- tcg/hppa/tcg-target.h |2 -- tcg/i386/tcg-target.h |2 -- tcg/ppc/tcg-target.h|2 -- tcg/ppc64/tcg-tar

[Qemu-devel] [PATCH 07/48] Shrink tb_jmp_offset to two entries, the other two are never used.

2010-03-26 Thread Riku Voipio
From: Filip Navara Signed-Off-By: Riku Voipio Signed-off-by: Filip Navara --- exec-all.h |5 + translate-all.c |4 2 files changed, 1 insertions(+), 8 deletions(-) diff --git a/exec-all.h b/exec-all.h index 37da2f5..b9f0294 100644 --- a/exec-all.h +++ b/exec-all.h @@ -14

[Qemu-devel] [PATCH 08/48] Cortex-A8 R2 support and trustzone

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- target-arm/cpu.h|7 +- target-arm/helper.c | 330 +-- 2 files changed, 220 insertions(+), 117 deletions(-) diff --git a/target-arm/cpu.h b/target-arm/cpu

[Qemu-devel] [PATCH 00/48] RFC: omap3 patch collection

2010-03-26 Thread Riku Voipio
From: Riku Voipio Hi, This set of patches is quite raw, intended mostly just for discussion at this point. We'd like to identify the unobjectionable patches and "ready for upstream with minor fixes" patches first, so we can send them for a pull request. After which we can start diving more deepl

[Qemu-devel] [PATCH 15/48] fix function signature of qemu_chr_open_pty on !linux

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- qemu-char.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index a3d6e64..1e5b515 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -1218,7 +1218,7 @@ static CharDr

[Qemu-devel] [PATCH 28/48] prepare smc driver support for omap

2010-03-26 Thread Riku Voipio
From: Riku Voipio Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- hw/devices.h |5 - hw/smc91c111.c | 22 ++ 2 files changed, 26 insertions(+), 1 deletions(-) diff --git a/hw/devices.h b/hw/devices.h index e9e8ec7..b4c10c5 100644 --- a/hw/devices

[Qemu-devel] [PATCH 13/48] multitouch and window close handler

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki Signed-Off-By: Riku Voipio Signed-Off-By: Juha Riihimäki --- console.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/console.c b/console.c index 8bcd00b..8b24318 100644 --- a/console.c +++ b/console.c @@ -32,6 +32,24 @@ #defin

[Qemu-devel] [PATCH 16/48] sdl: multitouch and window close suppport

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki - show shutting down status in window caption - add display close handler support - add support for disabling input grabbing - add ability to disable window grab: currently if the qemu window is inactive and you click inside the qemu window the input will be grabbed. with to

[Qemu-devel] [PATCH 14/48] multikeyboard support merge

2010-03-26 Thread Riku Voipio
From: Juha Riihimäki On some systems (such as n900), multiple physical devices can create keyboard events (gpio, lis302dl, twl4030, ..). Add hooks to make it possible to recieve keyboard input from multiple devices. merge our version with upstream multikb support Signed-Off-By: Riku Voipio Sig

Re: [Qemu-devel] Re: [libvirt] Supporting hypervisor specific APIs in libvirt

2010-03-26 Thread Avi Kivity
On 03/25/2010 10:18 AM, Alexander Graf wrote: libqemu.so would be a C API. C is not the first choice for writing GUIs or management applications. So it would need to be further wrapped. We also need to allow qemu to control the display directly, without going through vnc. For the cu

[Qemu-devel] Re: [PATCH v3 0/2] Inter-VM shared memory PCI device

2010-03-26 Thread Avi Kivity
On 03/26/2010 01:05 AM, Cam Macdonell wrote: I meant a unicast doorbell: 16 bits for guest ID, 16 bits for vector number. Ah, yes. Who knew "two bit registers" is an ambiguous term. Do you strongly prefer the one doorbell design? Just floating out ideas. An advantage is that it

  1   2   >