[Qemu-devel] [PATCH] target/openrisc: Fix delay slot exception flag to match spec

2018-06-30 Thread Stafford Horne
The delay slot exception flag is only set on the SR register during exception. Previously it was being set on both the ESR and SR this caused QEMU to differ from the spec. The was apparent as the linux kernel had a bug where it could boot on QEMU but not on real hardware. The fixed logic now

Re: [Qemu-devel] [PATCH 0/3] i.mx7d fixes

2018-06-30 Thread Jean-Christophe DUBOIS
Le 28/06/2018 à 17:13, Peter Maydell a écrit : On 26 June 2018 at 22:59, Jean-Christophe Dubois wrote: Small fixes in the i.mx7d code. Jean-Christophe Dubois (3): i.mx7d: Remove unused header files i.mx7d: Change SRC unimpleted device name from sdma to src i.mx7d: Change IRQ number

[Qemu-devel] [PATCH 3/3] i.MX6UL: Add Freescale i.MX6 UltraLite 14x14 EVK Board

2018-06-30 Thread Jean-Christophe Dubois
Tested by booting linux 4.18 (built using imx_v6_v7_defconfig) on the emulated board. Signed-off-by: Jean-Christophe Dubois --- hw/arm/Makefile.objs | 2 +- hw/arm/mcimx6ul-evk.c | 86 +++ 2 files changed, 87 insertions(+), 1 deletion(-) create mode

[Qemu-devel] [PATCH 2/3] i.MX6UL: Add i.MX6UL SOC

2018-06-30 Thread Jean-Christophe Dubois
Signed-off-by: Jean-Christophe Dubois --- default-configs/arm-softmmu.mak | 1 + hw/arm/Makefile.objs| 1 + hw/arm/fsl-imx6ul.c | 649 include/hw/arm/fsl-imx6ul.h | 339 + 4 files changed, 990 insertions(+) create

[Qemu-devel] [PATCH 0/3] i.MX: Add the i.MX6UL SOC and a reference board.

2018-06-30 Thread Jean-Christophe Dubois
This series adds the i.MX6UL SOC from NXP/Freescale and the reference evaluation board. This series as tested by booting linux 4.18 (built using imx_v6_v7_defconfig) on the emulated board (with the appropriate device tree). Jean-Christophe Dubois (3): i.MX6UL: Add i.MX6UL specific CCM device

[Qemu-devel] [PATCH 1/3] i.MX6UL: Add i.MX6UL specific CCM device

2018-06-30 Thread Jean-Christophe Dubois
Signed-off-by: Jean-Christophe Dubois --- hw/misc/Makefile.objs| 1 + hw/misc/imx6ul_ccm.c | 887 +++ include/hw/misc/imx6ul_ccm.h | 228 + 3 files changed, 1116 insertions(+) create mode 100644 hw/misc/imx6ul_ccm.c create mode 100644

[Qemu-devel] [PULL 0/6] target/xtensa updates

2018-06-30 Thread Max Filippov
in the git repository at: git://github.com/OSLL/qemu-xtensa.git tags/20180630-xtensa for you to fetch changes up to 0f02251a30ea8c4ce64d9a240795e10bb3c5852c: xtensa: Avoid calling get_page_addr_code() from helper function (2018-06-30 12:00:17 -0700

Re: [Qemu-devel] [PATCH v2] fix fdiv instruction

2018-06-30 Thread Programmingkid
On Jun 30, 2018, at 11:43 AM, Richard Henderson wrote: > On 06/29/2018 08:06 PM, John Arbuckle wrote: >> When the fdiv instruction divides a finite number by zero, >> the result actually depends on the FPSCR[ZE] bit. If this >> bit is set, the return value is the value originally in >> the

Re: [Qemu-devel] [PATCH v1 0/4] m68k: Add basic support for the NeXTcube machine

2018-06-30 Thread Bryce Lanham
Oh hi! Luckily gmail brought this to the top since I don’t pay attention to the list. I’m away from my computer at the moment, but I had more than this working, including interrupts, Ethernet, and SCSI for sure. ( https://i.imgur.com/Py0FO.png) I’d love to dive back into this now that 68040

Re: [Qemu-devel] [PATCH v2 0/7] Misc sm501 improvements

2018-06-30 Thread BALATON Zoltan
On Tue, 26 Jun 2018, BALATON Zoltan wrote: Version 2 of the sm501 changes with fixes that are needed to get AmigaOS 4.1FE to boot and able to produce graphics. The strange blue-white colors that first appear are actually correct and because of AmigaOS selecting a low resolution PAL mode by

Re: [Qemu-devel] [PATCH 1/3] tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE

2018-06-30 Thread Max Filippov
On Sat, Jun 30, 2018 at 1:10 PM, Peter Maydell wrote: > On 30 June 2018 at 21:08, Peter Maydell wrote: >> On 30 June 2018 at 20:42, Max Filippov wrote: >>> On Sat, Jun 30, 2018 at 12:20 PM, Max Filippov wrote: I'm observing the following failure with xtensa tests: (qemu) qemu:

Re: [Qemu-devel] [PATCH 1/3] tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE

2018-06-30 Thread Peter Maydell
On 30 June 2018 at 21:08, Peter Maydell wrote: > On 30 June 2018 at 20:42, Max Filippov wrote: >> On Sat, Jun 30, 2018 at 12:20 PM, Max Filippov wrote: >>> I'm observing the following failure with xtensa tests: >>> >>> (qemu) qemu: fatal: Unable to handle guest executing from RAM within a >>>

Re: [Qemu-devel] [PATCH v1 0/4] m68k: Add basic support for the NeXTcube machine

2018-06-30 Thread Thomas Huth
Am Sat, 30 Jun 2018 12:07:01 -0500 schrieb Bryce Lanham : > Oh hi! > > Luckily gmail brought this to the top since I don’t pay attention to > the list. I’m away from my computer at the moment, but I had more > than this working, including interrupts, Ethernet, and SCSI for sure. > (

Re: [Qemu-devel] [PATCH 1/3] tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE

2018-06-30 Thread Peter Maydell
On 30 June 2018 at 20:42, Max Filippov wrote: > On Sat, Jun 30, 2018 at 12:20 PM, Max Filippov wrote: >> I'm observing the following failure with xtensa tests: >> >> (qemu) qemu: fatal: Unable to handle guest executing from RAM within a >> small MPU region at 0xd804 >> >> Bisection points to

Re: [Qemu-devel] [PATCH v1 1/4] m68k: Add NeXTcube framebuffer device emulation

2018-06-30 Thread Peter Maydell
On 30 June 2018 at 20:47, Thomas Huth wrote: > Am Sat, 30 Jun 2018 17:12:01 +0100 > schrieb Peter Maydell : > >> On 30 June 2018 at 09:33, Thomas Huth wrote: >> > The NeXTcube uses a linear framebuffer with 4 greyscale colors and >> > a fixed resolution of 1120 * 832. >> > This code has been

Re: [Qemu-devel] [PATCH 1/3] tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE

2018-06-30 Thread Max Filippov
On Sat, Jun 30, 2018 at 12:42 PM, Max Filippov wrote: > On Sat, Jun 30, 2018 at 12:20 PM, Max Filippov wrote: >> Hi Peter, >> >> On Wed, Jun 20, 2018 at 6:06 AM, Peter Maydell >> wrote: >>> Add support for MMU protection regions that are smaller than >>> TARGET_PAGE_SIZE. We do this by marking

Re: [Qemu-devel] [PATCH v1 1/4] m68k: Add NeXTcube framebuffer device emulation

2018-06-30 Thread Thomas Huth
Am Sat, 30 Jun 2018 17:12:01 +0100 schrieb Peter Maydell : > On 30 June 2018 at 09:33, Thomas Huth wrote: > > The NeXTcube uses a linear framebuffer with 4 greyscale colors and > > a fixed resolution of 1120 * 832. > > This code has been taken from Bryce Lanham's GSoC 2011 NeXT branch > > at > >

Re: [Qemu-devel] [PATCH 1/3] tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE

2018-06-30 Thread Max Filippov
On Sat, Jun 30, 2018 at 12:20 PM, Max Filippov wrote: > Hi Peter, > > On Wed, Jun 20, 2018 at 6:06 AM, Peter Maydell > wrote: >> Add support for MMU protection regions that are smaller than >> TARGET_PAGE_SIZE. We do this by marking the TLB entry for those >> pages with a flag TLB_RECHECK. This

Re: [Qemu-devel] [PATCH 1/3] tcg: Support MMU protection regions smaller than TARGET_PAGE_SIZE

2018-06-30 Thread Max Filippov
Hi Peter, On Wed, Jun 20, 2018 at 6:06 AM, Peter Maydell wrote: > Add support for MMU protection regions that are smaller than > TARGET_PAGE_SIZE. We do this by marking the TLB entry for those > pages with a flag TLB_RECHECK. This flag causes us to always > take the slow-path for accesses. In

Re: [Qemu-devel] [RFC PATCH] xtensa: Avoid calling get_page_addr_code() from helper function

2018-06-30 Thread Max Filippov
On Fri, Jun 22, 2018 at 6:58 AM, Peter Maydell wrote: > The xtensa frontend calls get_page_addr_code() from its > itlb_hit_test helper function. This function is really part > of the TCG core's internals, and calling it from a target > helper makes it awkward to make changes to that core code. >

Re: [Qemu-devel] [RFC PATCH] xtensa: Avoid calling get_page_addr_code() from helper function

2018-06-30 Thread Max Filippov
On Sat, Jun 30, 2018 at 10:32 AM, Richard Henderson wrote: > On 06/22/2018 06:58 AM, Peter Maydell wrote: >> The xtensa frontend calls get_page_addr_code() from its >> itlb_hit_test helper function. This function is really part >> of the TCG core's internals, and calling it from a target >>

Re: [Qemu-devel] [PULL 0/5] Monitor patches for 2018-06-30

2018-06-30 Thread Peter Maydell
On 30 June 2018 at 17:27, Markus Armbruster wrote: > The following changes since commit 6f4fa0998fd13bd8a533f38ee69774ecad6911b6: > > Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' > into staging (2018-06-30 13:59:53 +0100) > > are available in the Git repository at:

Re: [Qemu-devel] [RFC PATCH] xtensa: Avoid calling get_page_addr_code() from helper function

2018-06-30 Thread Richard Henderson
On 06/22/2018 06:58 AM, Peter Maydell wrote: > The xtensa frontend calls get_page_addr_code() from its > itlb_hit_test helper function. This function is really part > of the TCG core's internals, and calling it from a target > helper makes it awkward to make changes to that core code. > It also

Re: [Qemu-devel] [PATCH] ui: do not build-depend or link with libdrm, it is not needed

2018-06-30 Thread Philippe Mathieu-Daudé
On 06/30/2018 01:54 PM, Michael Tokarev wrote: > Opengl support brings up libdrm. But actually nothing uses this library > or includes any of its headers. Just remove checking for it from configure. libgbm is linked to libdrm, but I don't see call from QEMU to libdrm, son we don't need to check

Re: [Qemu-devel] [PATCH 05/11] hw/display/cirrus: Convert printf() calls to trace events

2018-06-30 Thread Philippe Mathieu-Daudé
Can this patch go via the Trivial tree? On 06/22/2018 09:31 AM, Gerd Hoffmann wrote: >>> Indention looks weird. >> >> Actually this is the code around that is weirdly intended, a mix of >> and . > > Ok. > >> Do you prefer a previous indent cleanup patch or can I add your Acked-by >> tag? > >

[Qemu-devel] [PATCH] ui: do not build-depend or link with libdrm, it is not needed

2018-06-30 Thread Michael Tokarev
Opengl support brings up libdrm. But actually nothing uses this library or includes any of its headers. Just remove checking for it from configure. Signed-off-by: Michael Tokarev --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index

[Qemu-devel] [PATCH] !fixup 052f529eb3d07170b18b8d0920bc8c450e389a2f

2018-06-30 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- This was in e9dd993d-875f-4173-f68e-e6b4e75e3...@amsat.org but I can't find it on the list... tests/test-cutils.c| 2 +- tests/test-qemu-opts.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-cutils.c

[Qemu-devel] [PULL 3/5] monitor: flush qmp responses when CLOSED

2018-06-30 Thread Markus Armbruster
From: Peter Xu Previously we clean up the queues when we got CLOSED event. It was used to make sure we won't send leftover replies/events of a old client to a new client which makes perfect sense. However this will also drop the replies/events even if the output port of the previous chardev

[Qemu-devel] [PULL 5/5] docs: mention shared state protect for OOB

2018-06-30 Thread Markus Armbruster
From: Peter Xu Out-Of-Band handlers need to protect shared state if there is any. Mention it in the document. Meanwhile, touch up some other places too, either with better English, or reordering of bullets. Suggested-by: Markus Armbruster Reviewed-by: Markus Armbruster Signed-off-by: Peter

[Qemu-devel] [PULL 4/5] tests: iotests: drop some stderr line

2018-06-30 Thread Markus Armbruster
From: Peter Xu In my Out-Of-Band test, "check -qcow2 060" fail with this: --- /home/peterx/git/qemu/tests/qemu-iotests/060.out +++ /home/peterx/git/qemu/bin/tests/qemu-iotests/060.out.bad @@ -427,8 +427,8 @@ QMP_VERSION {"return": {}} qcow2: Image is corrupt: L2 table offset

Re: [Qemu-devel] [PATCH] tests/migration: Skip tests for ppc tcg

2018-06-30 Thread Peter Maydell
On 29 June 2018 at 18:43, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > PPC tcg seems to be failing migration tests quite regularly; > we believe this is TCG bugs in dirty bit updating; it's > not clear why PPC fails more but lets skip for the moment. > > $

[Qemu-devel] [PULL 1/5] chardev: comment details for CLOSED event

2018-06-30 Thread Markus Armbruster
From: Peter Xu It was unclear before on what does the CLOSED event mean. Meanwhile we add a TODO to fix up the CLOSED event in the future when the in/out ports are different for a chardev. CC: Paolo Bonzini CC: "Marc-André Lureau" CC: Stefan Hajnoczi CC: Markus Armbruster Reviewed-by:

[Qemu-devel] [PULL 2/5] monitor: rename *_pop_one to *_pop_any

2018-06-30 Thread Markus Armbruster
From: Peter Xu The old names are confusing since both of the old functions are popping an item from multiple queues rather than a single queue. In that sense, *_pop_any() suites better than *_pop_one(). Since at it, touch up the function monitor_qmp_response_pop_any() a bit to let the callers

[Qemu-devel] [PULL 0/5] Monitor patches for 2018-06-30

2018-06-30 Thread Markus Armbruster
The following changes since commit 6f4fa0998fd13bd8a533f38ee69774ecad6911b6: Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging (2018-06-30 13:59:53 +0100) are available in the Git repository at: git://repo.or.cz/qemu/armbru.git

Re: [Qemu-devel] [PATCH v5 0/7] monitor: enable OOB by default

2018-06-30 Thread Markus Armbruster
I'm going to merge the fixes and cleanups [PATCH 1-5]. We need a few more fixes before we can enable OOB [PATCH 6-7]. I'm working on some.

Re: [Qemu-devel] [PATCH v1 2/4] m68k: Add NeXTcube keyboard device

2018-06-30 Thread Peter Maydell
On 30 June 2018 at 09:33, Thomas Huth wrote: > It is likely still quite incomplete (e.g. mouse and interrupts are not > implemented yet), but it is good enough for keyboard input at the firmware > monitor. > This code has been taken from Bryce Lanham's GSoC 2011 NeXT branch at > >

Re: [Qemu-devel] [PATCH v1 1/4] m68k: Add NeXTcube framebuffer device emulation

2018-06-30 Thread Peter Maydell
On 30 June 2018 at 09:33, Thomas Huth wrote: > The NeXTcube uses a linear framebuffer with 4 greyscale colors and > a fixed resolution of 1120 * 832. > This code has been taken from Bryce Lanham's GSoC 2011 NeXT branch at > > https://github.com/blanham/qemu-NeXT/blob/next-cube/hw/next-fb.c > >

Re: [Qemu-devel] [PATCH v1 1/4] m68k: Add NeXTcube framebuffer device emulation

2018-06-30 Thread Richard Henderson
On 06/30/2018 01:33 AM, Thomas Huth wrote: > +uint32_t pal[4] = { 0x, 0xFFAA, 0xFF55, 0xFF00 }; static const. Otherwise, Reviewed-by: Richard Henderson r~

Re: [Qemu-devel] [PULL 00/47] More misc patches for 3.0 soft freeze

2018-06-30 Thread Paolo Bonzini
Hmm, must have sent a stale branch. Thanks, Paolo Il sab 30 giu 2018, 17:40 Peter Maydell ha scritto: > On 30 June 2018 at 07:09, Paolo Bonzini wrote: > > The following changes since commit > 109b25045b3651f9c5d02c3766c0b3ff63e6d193: > > > > Merge remote-tracking branch

Re: [Qemu-devel] [PATCH v2] fix fdiv instruction

2018-06-30 Thread Richard Henderson
On 06/29/2018 08:06 PM, John Arbuckle wrote: > When the fdiv instruction divides a finite number by zero, > the result actually depends on the FPSCR[ZE] bit. If this > bit is set, the return value is the value originally in > the destination register. If it is not set > the result should be either

Re: [Qemu-devel] [PULL 00/47] More misc patches for 3.0 soft freeze

2018-06-30 Thread Peter Maydell
On 30 June 2018 at 07:09, Paolo Bonzini wrote: > The following changes since commit 109b25045b3651f9c5d02c3766c0b3ff63e6d193: > > Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into > staging (2018-06-29 12:30:29 +0100) > > are available in the git repository at: > > >

Re: [Qemu-devel] [PULL 00/11] Tracing patches

2018-06-30 Thread Peter Maydell
On 29 June 2018 at 18:53, Stefan Hajnoczi wrote: > The following changes since commit 609ef9f451759151d0bfe7c3843410ab94d68f18: > > Merge remote-tracking branch 'remotes/berrange/tags/qio-next-pull-request' > into staging (2018-06-28 17:53:31 +0100) > > are available in the Git repository at:

Re: [Qemu-devel] [PATCH v1 0/4] m68k: Add basic support for the NeXTcube machine

2018-06-30 Thread Thomas Huth
Am Sat, 30 Jun 2018 14:17:32 +0100 schrieb Peter Maydell : > On 30 June 2018 at 14:14, Thomas Huth wrote: > > Weird... the mail was ca. 1200 lines ... that not small, but not so > > big that I'd expect that it would get blocked somewhere. Let's wait > > some more more hours, maybe the spam

Re: [Qemu-devel] [PATCH v1 0/4] m68k: Add basic support for the NeXTcube machine

2018-06-30 Thread Peter Maydell
On 30 June 2018 at 14:14, Thomas Huth wrote: > Weird... the mail was ca. 1200 lines ... that not small, but not so > big that I'd expect that it would get blocked somewhere. Let's wait > some more more hours, maybe the spam filter is just very slow today. If > it is then still not available on

Re: [Qemu-devel] [PATCH v1 0/4] m68k: Add basic support for the NeXTcube machine

2018-06-30 Thread Thomas Huth
Am Sat, 30 Jun 2018 10:42:56 +0100 schrieb Mark Cave-Ayland : > On 30/06/18 09:33, Thomas Huth wrote: > > > During Google Summer of Code 2011, Bryce Lanham added the > > possibility to emulate the NeXTcube machine in QEMU, e.g. see this > > URL for some details: > > > >

Re: [Qemu-devel] [PULL 56/56] hw: make virtio devices configurable via default-configs/

2018-06-30 Thread Peter Maydell
On 1 June 2018 at 18:15, Paolo Bonzini wrote: > This is only half of the work, because the proxy devices (virtio-*-pci, > virtio-*-ccw, etc.) are still included unconditionally. It is still a > move in the right direction. > > Based-on: <20180522194943.24871-1-pbonz...@redhat.com> >

Re: [Qemu-devel] [PULL v2 0/7] riscv-pull queue

2018-06-30 Thread Peter Maydell
On 29 June 2018 at 18:22, Alistair Francis wrote: > The following changes since commit 75507f1aba6feb73ae43329922d51571550b9128: > > Merge remote-tracking branch 'remotes/berrange/tags/min-glib-pull-request' > into staging (2018-06-29 15:04:20 +0100) > > are available in the Git repository at:

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

2018-06-30 Thread Peter Maydell
On 29 June 2018 at 15:52, Peter Maydell wrote: > Hopefully last target-arm queue before softfreeze; > this one's largest part is the remainder of the SVE patches, > but there are a selection of other minor things too. > > thanks > -- PMM > > The following changes since commit

Re: [Qemu-devel] [PATCH] ppc: Include vga cirrus card into the compiling process

2018-06-30 Thread BALATON Zoltan
On Sat, 30 Jun 2018, David Gibson wrote: On Fri, Jun 29, 2018 at 08:06:10PM +0200, Sebastian Bauer wrote: Hi, Am 2018-06-19 06:36, schrieb David Gibson: Ok. However, your patch doesn't apply against the ppc-for-3.0 tree. It looks like you've made it against a tree including some of BALATON

Re: [Qemu-devel] [PULL 00/29] Block layer patches

2018-06-30 Thread Peter Maydell
On 29 June 2018 at 15:09, Kevin Wolf wrote: > The following changes since commit 609ef9f451759151d0bfe7c3843410ab94d68f18: > > Merge remote-tracking branch 'remotes/berrange/tags/qio-next-pull-request' > into staging (2018-06-28 17:53:31 +0100) > > are available in the git repository at: > >

[Qemu-devel] [Bug 1779447] [NEW] SLIRP SMB silently fails with MacOS smbd

2018-06-30 Thread Alexander Richardson
Public bug reported: When using the -net user,id=net0,ipv6=off,smb=/path/to/share/option,hostfwd=tcp::19500-:22 I can successfully mount_smbfs the shared directory on the guest when QEMU is running on a Linux or FreeBSD host. However, on a MacOS host the mount_smbfs command just fails with

Re: [Qemu-devel] [PATCH v1 0/4] m68k: Add basic support for the NeXTcube machine

2018-06-30 Thread Mark Cave-Ayland
On 30/06/18 09:33, Thomas Huth wrote: During Google Summer of Code 2011, Bryce Lanham added the possibility to emulate the NeXTcube machine in QEMU, e.g. see this URL for some details: https://wiki.qemu.org/Google_Summer_of_Code_2011#NeXT_machines_system_emulation But since the machine

[Qemu-devel] [PATCH v2 3/3] target/arm: add "cortex-m0" CPU model

2018-06-30 Thread Stefan Hajnoczi
Define a "cortex-m0" ARMv6-M CPU model. Most of the register reset values set by other CPU models are not relevant for the cut-down ARMv6-M architecture. Signed-off-by: Stefan Hajnoczi --- target/arm/cpu.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/target/arm/cpu.c

[Qemu-devel] [PATCH v2 1/3] hw/arm: extract ARM M Profile base class from ARMv7-M

2018-06-30 Thread Stefan Hajnoczi
The ARMv7-M code is largely similar to what other M Profile CPUs need. Extract the common M Profile aspects into the ARMMProfileState base class. ARMv6-M will inherit from this class in the following patch. It might be possible to make ARMv6-M the base class of ARMv7-M, but it seems cleaner to

[Qemu-devel] [PATCH v2 0/3] arm: add skeleton Cortex M0 CPU model

2018-06-30 Thread Stefan Hajnoczi
v2: * Share code between ARMv6-M and ARMv7-M [Peter] This patch series adds a skeleton ARM Cortex M0 CPU model and an ARMv6M object so that machine types can make use of it. These patches cannot be merged until Julia Suvorova's Cortex M0 work is complete, since the target/arm/ code does not

[Qemu-devel] [PATCH v2 2/3] hw/arm: add ARMv6M object

2018-06-30 Thread Stefan Hajnoczi
The ARMv6M object will be used by machine types that need ARMv6-M CPUs. There is no logic beyond what the ARMMProfile base class already provides because ARMv6-M is a pretty small microcontroller without many bells and whistles. Signed-off-by: Stefan Hajnoczi --- hw/arm/Makefile.objs

[Qemu-devel] [PATCH v1 4/4] m68k: Add an entry for the NeXTcube machine to the MAINTAINERS file

2018-06-30 Thread Thomas Huth
I don't have much clue about the NeXT hardware, but at least I know now the source files a little bit, so I volunteer to pick up patches and send PULL requests for them until someone else with more knowledge steps up to do this job instead. Signed-off-by: Thomas Huth --- MAINTAINERS | 7 +++

[Qemu-devel] [PATCH v1 0/4] m68k: Add basic support for the NeXTcube machine

2018-06-30 Thread Thomas Huth
During Google Summer of Code 2011, Bryce Lanham added the possibility to emulate the NeXTcube machine in QEMU, e.g. see this URL for some details: https://wiki.qemu.org/Google_Summer_of_Code_2011#NeXT_machines_system_emulation But since the machine requires a 68040 CPU and this was not included

[Qemu-devel] [PATCH v1 2/4] m68k: Add NeXTcube keyboard device

2018-06-30 Thread Thomas Huth
It is likely still quite incomplete (e.g. mouse and interrupts are not implemented yet), but it is good enough for keyboard input at the firmware monitor. This code has been taken from Bryce Lanham's GSoC 2011 NeXT branch at https://github.com/blanham/qemu-NeXT/blob/next-cube/hw/next-kbd.c and

[Qemu-devel] [PATCH v1 1/4] m68k: Add NeXTcube framebuffer device emulation

2018-06-30 Thread Thomas Huth
The NeXTcube uses a linear framebuffer with 4 greyscale colors and a fixed resolution of 1120 * 832. This code has been taken from Bryce Lanham's GSoC 2011 NeXT branch at https://github.com/blanham/qemu-NeXT/blob/next-cube/hw/next-fb.c and altered to fit the latest interface of the current QEMU

Re: [Qemu-devel] [PATCH v2] e1000e: Prevent MSI/MSI-X storms

2018-06-30 Thread Jan Kiszka
On 2018-04-05 19:41, Jan Kiszka wrote: > From: Jan Kiszka > > Only signal MSI/MSI-X events on rising edges. So far we re-triggered the > interrupt sources even if the guest did no consumed the pending one, > easily causing interrupt storms. > > Issue was observable with Linux 4.16 e1000e driver

[Qemu-devel] [PULL 42/47] monitor: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -n '[<>][<>]= ?[1-5]0' and modified manually. Suggested-by: Eric Blake Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-43-f4...@amsat.org> Signed-off-by: Paolo

[Qemu-devel] [PULL 41/47] cutils: Do not include "qemu/units.h" directly

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé All files using "qemu/units.h" definitions already include it directly, we can now remove it from "qemu/cutils.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Marcel Apfelbaum Message-Id: <20180625124238.25339-41-f4...@amsat.org> Signed-off-by: Paolo

[Qemu-devel] [PULL 46/47] bsd-user: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -n '[<>][<>]= ?[1-5]0' and modified manually. Suggested-by: Eric Blake Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-47-f4...@amsat.org> Signed-off-by: Paolo

Re: [Qemu-devel] [PATCH] ppc: Include vga cirrus card into the compiling process

2018-06-30 Thread David Gibson
On Fri, Jun 29, 2018 at 08:06:10PM +0200, Sebastian Bauer wrote: > Hi, > > Am 2018-06-19 06:36, schrieb David Gibson: > > Ok. However, your patch doesn't apply against the ppc-for-3.0 tree. > > It looks like you've made it against a tree including some of BALATON > > Zoltan's proposed but not

[Qemu-devel] [PULL 40/47] hw/rdma: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Marcel Apfelbaum Reviewed-by: Yuval Shaia

[Qemu-devel] [PULL 38/47] hw/vfio: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-38-f4...@amsat.org>

[Qemu-devel] [PULL 37/47] hw/sd: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-37-f4...@amsat.org>

[Qemu-devel] [PULL 39/47] hw/virtio: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-39-f4...@amsat.org>

[Qemu-devel] [PULL 45/47] linux-user: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -n '[<>][<>]= ?[1-5]0' and modified manually. Suggested-by: Eric Blake Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-46-f4...@amsat.org> Signed-off-by: Paolo

[Qemu-devel] [PULL 43/47] vl: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -n '[<>][<>]= ?[1-5]0' and modified manually. Suggested-by: Eric Blake Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-44-f4...@amsat.org> Signed-off-by: Paolo

[Qemu-devel] [PULL 36/47] hw/usb: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-36-f4...@amsat.org>

[Qemu-devel] [PULL 32/47] hw/mips: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ $ git grep -n '[<>][<>]= ?[1-5]0' and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair

[Qemu-devel] [PULL 31/47] hw/mips/r4k: Constify params_size

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-30-f4...@amsat.org> Signed-off-by: Paolo Bonzini --- hw/mips/mips_r4k.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/mips/mips_r4k.c b/hw/mips/mips_r4k.c index

[Qemu-devel] [PULL 33/47] hw/ppc: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Acked-by: David Gibson Message-Id:

[Qemu-devel] [PULL 35/47] hw/net: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Stefan Weil Message-Id:

[Qemu-devel] [PULL 24/47] hw/alpha: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-23-f4...@amsat.org>

[Qemu-devel] [PULL 28/47] hw/cris: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-27-f4...@amsat.org>

[Qemu-devel] [PULL 34/47] hw/i386: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
It eases code review, unit is explicit. Patch generated using: $ git grep -E '[<>][<>]=? ?[1-5]0' hw/ include/hw/ and modified manually. Signed-off-by: Paolo Bonzini --- hw/i386/acpi-build.c | 4 ++-- hw/i386/pc.c | 23 --- hw/i386/pc_piix.c| 3 ++-

[Qemu-devel] [PULL 26/47] hw/microblaze: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-25-f4...@amsat.org>

[Qemu-devel] [PULL 44/47] tests/crypto: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -n '[<>][<>]= ?[1-5]0' and modified manually. Suggested-by: Eric Blake Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-45-f4...@amsat.org> Signed-off-by: Paolo

[Qemu-devel] [PULL 16/47] hw/display: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Gerd Hoffmann Reviewed-by: Alistair Francis

[Qemu-devel] [PULL 30/47] hw/sh4: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-29-f4...@amsat.org>

[Qemu-devel] [PULL 15/47] hw/block: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-14-f4...@amsat.org>

[Qemu-devel] [PULL 47/47] serial: Open non-block

2018-06-30 Thread Paolo Bonzini
From: "Dr. David Alan Gilbert" On a real serial device, the open can block if the handshake lines are in a particular state. If a QEMU is passing the serial device to the guest, the QEMU startup is blocked opening the device (with a symptom seen as a timeout from libvirt). Open the serial port

[Qemu-devel] [PULL 25/47] hw/tricore: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Acked-by: Bastian Koppelmann Message-Id:

[Qemu-devel] [PULL 27/47] hw/nios2: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-26-f4...@amsat.org>

[Qemu-devel] [PULL 23/47] hw/xtensa: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ $ git grep -n '[<>][<>]= ?[1-5]0' and modified manually. Signed-off-by: Philippe Mathieu-Daudé Acked-by: Max Filippov

[Qemu-devel] [PULL 21/47] hw/s390x: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Acked-by: Cornelia Huck Message-Id:

[Qemu-devel] [PULL 11/47] hw/scsi: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-10-f4...@amsat.org>

[Qemu-devel] [PULL 29/47] hw/lm32: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Acked-by: Michael Walle Message-Id:

[Qemu-devel] [PULL 22/47] hw/hppa: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Acked-by: Cornelia Huck Message-Id:

[Qemu-devel] [PULL 18/47] hw/riscv: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Michael Clark Message-Id:

[Qemu-devel] [PULL 10/47] hw/ipack: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alberto Garcia Message-Id:

[Qemu-devel] [PULL 20/47] hw/sparc: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-19-f4...@amsat.org>

[Qemu-devel] [PULL 19/47] hw/m68k: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id:

[Qemu-devel] [PULL 17/47] hw/misc: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-16-f4...@amsat.org>

[Qemu-devel] [PULL 00/47] More misc patches for 3.0 soft freeze

2018-06-30 Thread Paolo Bonzini
The following changes since commit 109b25045b3651f9c5d02c3766c0b3ff63e6d193: Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2018-06-29 12:30:29 +0100) are available in the git repository at: git://github.com/bonzini/qemu.git tags/for-upstream for you to

[Qemu-devel] [PULL 12/47] hw/smbios: Use the IEC binary prefix definitions

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé It eases code review, unit is explicit. Patch generated using: $ git grep -E '(1024|2048|4096|8192|(<<|>>).?(10|20|30))' hw/ include/hw/ and modified manually. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180625124238.25339-11-f4...@amsat.org>

[Qemu-devel] [PULL 07/47] hw: Use IEC binary prefix definitions from "qemu/units.h"

2018-06-30 Thread Paolo Bonzini
From: Philippe Mathieu-Daudé Code change produced with: $ git ls-files | egrep '\.[ch]$' | \ xargs sed -i -e 's/\(\W[KMGTPE]\)_BYTE/\1iB/g' Suggested-by: Stefan Weil Signed-off-by: Philippe Mathieu-Daudé Acked-by: David Gibson (ppc parts) Message-Id:

  1   2   >