On Fri, Jan 31, 2020 at 11:44:26AM -0600, Eric Blake wrote:
> block.c already defaults to 0 if we don't provide a callback; there's
> no need to write a callback that always fails.
>
> Signed-off-by: Eric Blake
Reviewed-by: Niels de Vos
> ---
> block/gluster.c | 14 --
> 1 file ch
On 15.02.20 11:28, Philippe Mathieu-Daudé wrote:
> Hi Pan,
>
> On 2/15/20 9:32 AM, pannengy...@huawei.com wrote:
>> From: Pan Nengyuan
>>
>> This patch fix memleaks when we call tests/qtest/cpu-plug-test on s390x. The
>> leak stack is as follow:
>>
>> Direct leak of 48 byte(s) in 1 object(s) all
On Fri, Jan 31, 2020 at 11:44:31AM -0600, Eric Blake wrote:
> Since gluster already copies file-posix for lseek usage in block
> status, it also makes sense to copy it for learning if the image
> currently reads as all zeroes.
>
> Signed-off-by: Eric Blake
> ---
> block/gluster.c | 20 ++
On Mon, 2020-02-17 at 07:45 +0100, Markus Armbruster wrote:
> Maxim Levitsky writes:
>
> > On Sat, 2020-02-15 at 15:51 +0100, Markus Armbruster wrote:
> > > Review of this patch led to a lengthy QAPI schema design discussion.
> > > Let me try to condense it into a concrete proposal.
> > >
> > >
Patchew URL:
https://patchew.org/QEMU/1581925888-103620-1-git-send-email-xuyando...@huawei.com/
Hi,
This series failed the docker-quick@centos7 build test. Please find the testing
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
=== TEST S
On Fri, Feb 14, 2020 at 04:12:45PM -0800, Guenter Roeck wrote:
> Instantiate EHCI and OHCI controllers on Allwinner A10.
>
> The first patch in the series moves the declaration of EHCISysBusState
> from hcd-ohci.c to hcd-ohci.h. This lets us add the structure to
> AwA10State. Similar, TYPE_SYSBUS_
On Sat, Feb 15, 2020 at 04:23:52AM -0800, Guenter Roeck wrote:
> USB ports on Xilinx Zync must be instantiated as TYPE_CHIPIDEA to work.
> Linux expects and checks various chipidea registers, which do not exist
> with the basic ehci emulation. This patch series fixes the problem.
>
> The first pat
15.02.2020 19:15, Philippe Mathieu-Daudé wrote:
Fix warning reported by Clang static code analyzer:
CC block/qcow2-bitmap.o
block/qcow2-bitmap.c:650:5: warning: Value stored to 'ret' is never read
ret = -EINVAL;
^ ~~~
Reported-by: Clang Static Analyzer
Signed-
On 2/15/20 8:22 PM, Philippe Mathieu-Daudé wrote:
> Python dictionary are not that expensive. Use a key makes the
> code easier to review.
>
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Luc Michel
> ---
> tests/acceptance/boot_linux_console.py | 8
> 1 file changed, 4 inserti
On 2/15/20 8:22 PM, Philippe Mathieu-Daudé wrote:
> We want to tests different Raspberry Pi machines. Refactor to
> take the board version as argument.
>
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Luc Michel
> ---
> tests/acceptance/boot_linux_console.py | 21 +++--
>
On 2/15/20 8:22 PM, Philippe Mathieu-Daudé wrote:
> $ avocado --show=app,console run -t machine:raspi1 tests/acceptance/
> JOB ID : c49310d4a21444f03789cd2c443d8c54a29ffd0a
> JOB LOG: avocado/job-results/job-2020-02-05T23.52-c49310d/job.log
>(1/1)
> tests/acceptance/boot_linux_co
On 2/15/20 8:22 PM, Philippe Mathieu-Daudé wrote:
> This test runs U-Boot on the Raspberry Pi 2.
> It is very simple and fast:
>
> $ avocado --show=app,console run -t raspi2 -t u-boot tests/acceptance/
> JOB LOG: avocado/job-results/job-2020-01-20T23.40-2424777/job.log
>(1/1)
> tests/
On 2/15/20 8:22 PM, Philippe Mathieu-Daudé wrote:
> $ avocado --show=app,console run -t machine:raspi0 tests/acceptance/
> JOB ID : af8e017486290758bff39c986934134199af3556
> JOB LOG: avocado/job-results/job-2020-02-05T23.53-af8e017/job.log
>(1/1)
> tests/acceptance/boot_linux_co
On 2/15/20 8:22 PM, Philippe Mathieu-Daudé wrote:
> $ avocado --show=app,console run -t device:bcm2835_aux tests/acceptance/
> JOB ID : a8846d69d52da701681b1d17f80ef299009fd078
> JOB LOG: avocado/job-results/job-2020-02-05T23.44-a8846d6/job.log
>(1/3)
> tests/acceptance/boot_linu
On 2/15/20 8:22 PM, Philippe Mathieu-Daudé wrote:
> This test runs U-Boot on the Raspberry Pi 3.
> It is very simple and fast:
>
> $ avocado --show=app,console run -t raspi3 -t u-boot tests/acceptance/
> JOB LOG: avocado/job-results/job-2020-01-20T23.40-2424777/job.log
>(1/1)
> tests/
on
> > https://git.qemu.org/git/SLOF.git? This is the correct one:
> >
> > 42228d763f1f (tag: qemu-slof-20200217, github/master) version: update to
> > 20200217
> >
> > https://github.com/aik/SLOF/commits/qemu-slof-20200217
>
> Huh, this one got resolved, was it a script or a person? :)
The repo is in "git clone --mirror" mode I guess ...
cheers,
Gerd
On 2/15/20 8:22 PM, Philippe Mathieu-Daudé wrote:
> Add a test that verifies that each core properly displays the
> Raspberry Pi logo on the framebuffer device.
>
> We simply follow the OpenCV "Template Matching with Multiple Objects"
> tutorial, replacing Lionel Messi by a raspberrry:
> https://d
Ping?
On 06.02.2020 22:32, Kamil Rytarowski wrote:
> Hello QEMU Community!
>
> Over the past year the NetBSD team has been working hard on a new user-mode
> API
> for our hypervisor that will be released as part of the upcoming NetBSD 9.0.
> This new API adds user-mode capabilities to create and
+-- On Sat, 15 Feb 2020, Sven Schnelle wrote --+
| > +if (!len1 || !len2 || !s->rx_frame_len) {
| > +return;
|
| I haven't tested the patch yet, but would that work if the guest OS passes
| only one buffer to the card? I.e. len1 = x, and len2 = 0 because only
| buffer 1 is available?
Hi Eric,
On 2/14/20 7:37 PM, Eric Auger wrote:
As we plan to introdce a SysBus TPM TIS device, let's
make the TPMState a common struct usable by both the
ISADevice and the SysBusDevice. TPMStateISA embeds the
struct and inherits from the ISADevice.
The prototype of functions bound to be used by
tags/qemu-slof-20200217
for you to fetch changes up to ea9a03e5aa023c5391bab5259898475d0298aac2:
pseries: Update SLOF firmware image (2020-02-17 13:08:59 +1100)
Alexey Kardashevskiy (1):
pseries: Update SLOF firmware image
On 1/21/20 2:33 AM, Joel Stanley wrote:
> This implements the chip id register in the SCU for the ast2500 and
> ast2600. The first patch is a cleanup to separate out ast2400 and
> ast2500 functionality.
>
> Joel Stanley (2):
> aspeed/scu: Create separate write callbacks
> aspeed/scu: Implement
From: Aleksandar Markovic
Update alpha syscall numbers based on Linux kernel v5.5.
CC: Richard Henderson
Signed-off-by: Aleksandar Markovic
Reviewed-by: Laurent Vivier
Message-Id: <1581596954-2305-2-git-send-email-aleksandar.marko...@rt-rk.com>
Signed-off-by: Laurent Vivier
---
linux-user/a
From: Aleksandar Markovic
Update sh4 syscall numbers based on Linux kernel v5.5.
CC: Aurelien Jarno
Signed-off-by: Aleksandar Markovic
Reviewed-by: Laurent Vivier
Message-Id: <1581596954-2305-7-git-send-email-aleksandar.marko...@rt-rk.com>
Signed-off-by: Laurent Vivier
---
linux-user/sh4/sy
The following changes since commit 971b2a1e5b1a8cc8f597ac5d7016908f9fa880de:
Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-5.0-sf2'
into staging (2020-02-14 18:37:11 +)
are available in the Git repository at:
git://github.com/vivier/qemu.git tags/linux-user-for-5.0-
From: Aleksandar Markovic
Update microblaze syscall numbers based on Linux kernel v5.5.
CC: Edgar E. Iglesias
Signed-off-by: Aleksandar Markovic
Reviewed-by: Laurent Vivier
Message-Id: <1581596954-2305-5-git-send-email-aleksandar.marko...@rt-rk.com>
Signed-off-by: Laurent Vivier
---
linux-u
From: Aleksandar Markovic
Update xtensa syscall numbers based on Linux kernel v5.5.
CC: Max Filippov
Acked-by: Max Filippov
Signed-off-by: Aleksandar Markovic
Reviewed-by: Laurent Vivier
Message-Id: <1581596954-2305-9-git-send-email-aleksandar.marko...@rt-rk.com>
Signed-off-by: Laurent Vivie
From: Aleksandar Markovic
Currently, there is no usage of TARGET_NR_syscall_count for target
xtensa, and there is no obvious indication if there is some planned
usage in future.
CC: Max Filippov
Acked-by: Max Filippov
Signed-off-by: Aleksandar Markovic
Reviewed-by: Laurent Vivier
Message-Id:
From: Aleksandar Markovic
Update arm syscall numbers based on Linux kernel v5.5.
CC: Peter Maydell
Signed-off-by: Aleksandar Markovic
Reviewed-by: Laurent Vivier
Message-Id: <1581596954-2305-3-git-send-email-aleksandar.marko...@rt-rk.com>
Signed-off-by: Laurent Vivier
---
linux-user/arm/sys
From: Aleksandar Markovic
Update m68k syscall numbers based on Linux kernel v5.5.
CC: Laurent Vivier
Signed-off-by: Aleksandar Markovic
Reviewed-by: Laurent Vivier
Message-Id: <1581596954-2305-4-git-send-email-aleksandar.marko...@rt-rk.com>
Signed-off-by: Laurent Vivier
---
linux-user/m68k/
On 2/16/20 10:23 PM, Ján Tomko wrote:
On Sat, Feb 15, 2020 at 05:07:15PM +0100, Philippe Mathieu-Daudé wrote:
Fix warning reported by Clang static code analyzer:
CC tools/virtiofsd/passthrough_ll.o
tools/virtiofsd/passthrough_ll.c:925:9: warning: Value stored to
'newfd' is never read
From: Aleksandar Markovic
Update mips syscall numbers based on Linux kernel tag v5.5.
CC: Aurelien Jarno
CC: Aleksandar Rikalo
Signed-off-by: Aleksandar Markovic
Reviewed-by: Laurent Vivier
Message-Id: <1581596954-2305-6-git-send-email-aleksandar.marko...@rt-rk.com>
Signed-off-by: Laurent Vi
From: Aleksandar Markovic
Update x86_64 syscall numbers based on Linux kernel v5.5.
CC: Paolo Bonzini
CC: Richard Henderson
CC: Eduardo Habkost
Signed-off-by: Aleksandar Markovic
Reviewed-by: Laurent Vivier
Message-Id: <1581596954-2305-8-git-send-email-aleksandar.marko...@rt-rk.com>
Signed-
Fix warning reported by Clang static code analyzer:
CC tools/virtiofsd/passthrough_ll.o
tools/virtiofsd/passthrough_ll.c:925:9: warning: Value stored to 'newfd' is
never read
newfd = -1;
^ ~~
tools/virtiofsd/passthrough_ll.c:942:9: warning: Value stored to '
Since v1:
- Addressed Ján Tomko review comment
- Added Ján Tomko R-b tag
Philippe Mathieu-Daudé (3):
tools/virtiofsd/passthrough_ll: Remove unneeded variable assignment
tools/virtiofsd/passthrough_ll: Remove unneeded variable assignment
tools/virtiofsd/fuse_lowlevel: Fix fuse_out_header::err
Fix warning reported by Clang static code analyzer:
CC tools/virtiofsd/passthrough_ll.o
tools/virtiofsd/passthrough_ll.c:1083:5: warning: Value stored to 'saverr' is
never read
saverr = ENOMEM;
^~~
Fixes: 7c6b66027
Reported-by: Clang Static Analyzer
Reviewed-by
Fix warning reported by Clang static code analyzer:
CC tools/virtiofsd/fuse_lowlevel.o
tools/virtiofsd/fuse_lowlevel.c:195:9: warning: Value stored to 'error' is
never read
error = -ERANGE;
^ ~~~
Fixes: 2de121f01e
Reported-by: Clang Static Analyzer
Review
On 2/17/20 4:21 AM, pannengy...@huawei.com wrote:
From: Pan Nengyuan
This patch fix memleaks when we call tests/qtest/cpu-plug-test on s390x. The
leak stack is as follow:
Direct leak of 48 byte(s) in 1 object(s) allocated from:
#0 0x7fb43c7cd970 in __interceptor_calloc (/lib64/libasan.so
On 2/16/20 10:41 AM, Richard Henderson wrote:
From: Richard Henderson
We will shortly use this function from tcg_out_op as well.
Signed-off-by: Richard Henderson
---
tcg/arm/tcg-target.inc.c | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/tcg/arm/tc
com:aik/qemu.git tags/qemu-slof-20200217
>
> for you to fetch changes up to ea9a03e5aa023c5391bab5259898475d0298aac2:
>
> pseries: Update SLOF firmware image (2020-02-17 13:08:59 +1100)
>
>
> Alexey Kardashevs
On Mon, 17 Feb 2020 at 02:43, BALATON Zoltan wrote:
>
> Hello,
>
> This is an RFC series to start exploring the possibility of enabling
> hardfloat for PPC target that haven't progressed in the last two years.
> Hopefully we can work out something now. Previously I've explored this
> here:
>
> htt
On 2020/2/15 下午6:39, Markus Armbruster wrote:
Jason, please have a look.
Faisal Al-Humaimidi writes:
Hello QEMU developers,
I have noticed a bug in the `mcast` option of the `socket` networking
backend, where I simply cannot join a multicast group (tested in Windows 10
with QEMU 4.2.0 rele
On Mon, 17 Feb 2020 at 07:42, Xu Yandong wrote:
>
> Implement Microvm for aarch64 architecture
>
> This series attempts to implement microvm for aarch64
> architecture.
>
> Just like how Sergio Lopez does for implementing microvm
> for x86 architecture. We remove parts of emulate devices which
> a
On Sat, 15 Feb 2020 at 11:42, Markus Armbruster wrote:
>
> The following changes since commit 517c84cef759a453cfb8f51498aebc909a5f3b39:
>
> Merge remote-tracking branch
> 'remotes/kraxel/tags/vga-20200213-pull-request' into staging (2020-02-13
> 18:55:57 +)
>
> are available in the Git rep
Am 16.02.2020 um 22:44 hat Ján Tomko geschrieben:
> On Fri, Feb 14, 2020 at 09:08:06PM +0100, Kevin Wolf wrote:
> > It is not obvious what 'ignore' actually means for block jobs: It could
> > be continuing the job and returning success in the end despite the error
> > (no block job does this). It c
From: Philippe Mathieu-Daudé
User-mode does not need the sytem tools. Do not build them by
default if user specified --disable-system.
This disables building the following binary on a user-only build:
- elf2dmp
- qemu-edid
- qemu-ga
- qemu-img
- qemu-io
- qemu-nbd
- ivshmem-client
- ivshmem-ser
On Sat, 15 Feb 2020 at 13:08, Markus Armbruster wrote:
>
> The following changes since commit b29c3e23f64938784c42ef9fca896829e3c19120:
>
> Merge remote-tracking branch
> 'remotes/juanquintela/tags/pull-migration-pull-request' into staging
> (2020-02-14 17:57:15 +)
>
> are available in the
Le 17/02/2020 à 10:59, Philippe Mathieu-Daudé a écrit :
> From: Philippe Mathieu-Daudé
>
> User-mode does not need the sytem tools. Do not build them by
> default if user specified --disable-system.
>
> This disables building the following binary on a user-only build:
>
> - elf2dmp
> - qemu-edi
Hello Jason,
But, the local address is not meant to be added to the group, rather we
listen to it, hence we bind to the local address. The multicast group is a
higher layer that would be requested to join to by the listening host.
Here's a similar example in multicasting that demonstrates this ide
On Sat, 15 Feb 2020 at 00:12, Guenter Roeck wrote:
>
> Instantiate EHCI and OHCI controllers on Allwinner A10. OHCI ports are
> modeled as companions of the respective EHCI ports.
>
> With this patch applied, USB controllers are discovered and instantiated
> when booting the cubieboard machine wit
Fix warnings reported by Clang static code analyzer:
CC hw/net/rocker/rocker.o
hw/net/rocker/rocker.c:213:9: warning: Value stored to 'tx_tso_mss' is never
read
tx_tso_mss = rocker_tlv_get_le16(tlvs[ROCKER_TLV_TX_TSO_MSS]);
^~
On Sat, 15 Feb 2020 at 16:19, Philippe Mathieu-Daudé wrote:
>
> Fix warning reported by Clang static code analyzer:
>
> CC hw/misc/iotkit-secctl.o
> hw/misc/iotkit-secctl.c:343:9: warning: Value stored to 'value' is never
> read
> value &= 0x00f000f3;
> ^~~~
in the Git repository at:
g...@github.com:aik/qemu.git tags/qemu-slof-20200217
for you to fetch changes up to ea9a03e5aa023c5391bab5259898475d0298aac2:
pseries: Update SLOF firmware image (2020-02-17 13:08:59 +1100)
Alexey Kardas
On Mon, 17 Feb 2020 at 09:29, Cédric Le Goater wrote:
>
> On 1/21/20 2:33 AM, Joel Stanley wrote:
> > This implements the chip id register in the SCU for the ast2500 and
> > ast2600. The first patch is a cleanup to separate out ast2400 and
> > ast2500 functionality.
> >
> > Joel Stanley (2):
> >
This test runs Trusted Firmware-A on the Raspberry Pi 3.
We deliberately stop the boot process when the EDK2 UEFI version
is displayed.
The binary is build on AppVeyor CI using Pete Batard repository [1].
ATF v2.1 binary are used (see [2]). Extra documentation in [3].
It is very simple and fast:
Am 15.02.2020 um 15:51 hat Markus Armbruster geschrieben:
> Review of this patch led to a lengthy QAPI schema design discussion.
> Let me try to condense it into a concrete proposal.
>
> This is about the QAPI schema, and therefore about QMP. The
> human-friendly interface is out of scope. Not b
Fix warning reported by Clang static code analyzer:
CC hw/misc/iotkit-secctl.o
hw/misc/iotkit-secctl.c:343:9: warning: Value stored to 'value' is never read
value &= 0x00f000f3;
^~~
Fixes: b3717c23e1c
Reported-by: Clang Static Analyzer
Signed-off-by:
On Mon, Feb 17, 2020 at 11:22 AM Peter Maydell wrote:
>
> On Sat, 15 Feb 2020 at 16:19, Philippe Mathieu-Daudé wrote:
> >
> > Fix warning reported by Clang static code analyzer:
> >
> > CC hw/misc/iotkit-secctl.o
> > hw/misc/iotkit-secctl.c:343:9: warning: Value stored to 'value' is ne
On 2/17/20 3:59 AM, Richard Henderson wrote:
Partial cleanup from the CONFIG_VECTOR16 removal.
Replace the vec* types with their scalar expansions.
Signed-off-by: Richard Henderson
---
accel/tcg/tcg-runtime-gvec.c | 270 +--
1 file changed, 130 insertions(+),
Am 15.02.2020 um 17:15 hat Philippe Mathieu-Daudé geschrieben:
> Fix warning reported by Clang static code analyzer:
>
> CC block/qcow2-bitmap.o
> block/qcow2-bitmap.c:650:5: warning: Value stored to 'ret' is never read
> ret = -EINVAL;
> ^ ~~~
>
> Reported-by: Clan
On 2/17/20 3:59 AM, Richard Henderson wrote:
Partial cleanup from the CONFIG_VECTOR16 removal.
Replace the DUP* expansions with the scalar argument.
Signed-off-by: Richard Henderson
---
accel/tcg/tcg-runtime-gvec.c | 50 +++-
1 file changed, 15 insertions(+),
On Mon, 2020-02-17 at 11:37 +0100, Kevin Wolf wrote:
> Am 15.02.2020 um 15:51 hat Markus Armbruster geschrieben:
> > Review of this patch led to a lengthy QAPI schema design discussion.
> > Let me try to condense it into a concrete proposal.
> >
> > This is about the QAPI schema, and therefore abo
This is the hairy one. Please bear with me while I try to grok it.
Kevin Wolf writes:
> This moves the QMP dispatcher to a coroutine and runs all QMP command
> handlers that declare 'coroutine': true in coroutine context so they
> can avoid blocking the main loop while doing I/O or waiting for
From: miaoyubo
Currently pxb-pcie is not supported by arm and only one
main host bridge is described in acpi tables, which means
it is not impossible to present different io numas for different
devices. This series of patches make arm to support PXB-PCIE.
Users can configure pxb-pcie with certai
From: miaoyubo
Currently virt machine is not supported by pxb-pcie,
and only one main host bridge described in ACPI tables.
Under this circumstance, different io numas for differnt devices
is not possible, in order to present io numas to the guest,
especially for host pssthrough devices. PXB-PCIE
On Mon, 17 Feb 2020, Peter Maydell wrote:
On Mon, 17 Feb 2020 at 02:43, BALATON Zoltan wrote:
Hello,
This is an RFC series to start exploring the possibility of enabling
hardfloat for PPC target that haven't progressed in the last two years.
Hopefully we can work out something now. Previously
On Mon, 17 Feb 2020 at 10:57, Philippe Mathieu-Daudé wrote:
>
> Fix warning reported by Clang static code analyzer:
>
> CC hw/misc/iotkit-secctl.o
> hw/misc/iotkit-secctl.c:343:9: warning: Value stored to 'value' is never
> read
> value &= 0x00f000f3;
> ^~~~
Hi Juan
On Wed, Jan 8, 2020 at 2:08 PM Juan Quintela wrote:
>
> Marc-André Lureau wrote:
> n> Check the host pointer is correctly aligned, otherwise we may fail
> > during migration in ram_block_discard_range().
> >
> > Signed-off-by: Marc-André Lureau
>
> Reviewed-by: Juan Quintela
>
> queued
Public bug reported:
Unable to type "|" character when using french keyboard. It is
displaying "<" instead of "|" while pressing AltGr+6 from my keyboard.
** Affects: qemu
Importance: Undecided
Status: New
** Description changed:
Unable to type "|" character when using french ke
* Philippe Mathieu-Daudé (phi...@redhat.com) wrote:
> Fix warning reported by Clang static code analyzer:
>
> CC tools/virtiofsd/passthrough_ll.o
> tools/virtiofsd/passthrough_ll.c:1083:5: warning: Value stored to 'saverr'
> is never read
> saverr = ENOMEM;
> ^~
From: Prasad J Pandit
Tulip network driver while copying tx/rx buffers does not check
frame size against r/w data length. This may lead to OOB buffer
access. Add check to avoid it.
Reported-by: Li Qiang
Reported-by: Ziming Zhang
Signed-off-by: Prasad J Pandit
---
hw/net/tulip.c | 19
On Mon, Feb 17, 2020 at 10:42:39AM +0100, Philippe Mathieu-Daudé wrote:
Fix warning reported by Clang static code analyzer:
CC tools/virtiofsd/passthrough_ll.o
tools/virtiofsd/passthrough_ll.c:925:9: warning: Value stored to 'newfd' is
never read
newfd = -1;
^ ~
On 2/16/20 7:20 PM, Hailiang Zhang wrote:
We can migrate some dirty pages during the gap of checkpointing,
by this way, we can reduce the amount of ram migrated during checkpointing.
Signed-off-by: Hailiang Zhang
---
+++ b/qapi/migration.json
@@ -977,12 +977,14 @@
#
# @vmstate-loaded: VM
Using class_data pointer to create a MachineClass is not
the recommended way anymore. The correct way is to open-code
the MachineClass::fields in the class_init() method.
We can not use TYPE_RASPI_MACHINE::class_base_init() because
it is called *before* each machine class_init(), therefore the
boa
This series addresses suggestions from Igor and Peter on the
raspi machines, then add the raspi0 and raspi1.
Since v1:
- Use more specific machine names
Philippe Mathieu-Daudé (13):
hw/arm/raspi: Remove ignore_memory_transaction_failures on the raspi2
hw/arm/raspi: Avoid using TypeInfo::class
Now that we can instantiate different machines based on their
board_rev register value, we can have various raspi2 and raspi3.
In commit fc78a990ec103 we corrected the machine description.
Correct the machine names too. For backward compatibility, add
an alias to the previous generic name.
Signed
Commit 1c3db49d39 added the raspi3, which uses the same peripherals
than the raspi2 (but with different ARM cores). The raspi3 was
introduced without the ignore_memory_transaction_failures flag.
Almost 2 years later, the machine is usable running U-Boot and
Linux.
In commit 00cbd5bd74 we mapped a l
The realize() function is clearly composed of two parts,
each described by a comment:
void realize()
{
/* common peripherals from bcm2835 */
...
/* bcm2836 interrupt controller (and mailboxes, etc.) */
...
}
Split the two part, so we can reuse the common part with other
As we only support a reduced set of the REV_CODE_PROCESSOR id
encoded in the board revision, define the PROCESSOR_ID values
as an enum. We can simplify the board_soc_type and cores_count
methods.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/arm/raspi.c | 45 +-
We expected the 'version' ID to match the board processor ID,
but this is not always true (for example boards with revision
id 0xa02042/0xa22042 are Raspberry Pi 2 with a BCM2837 SoC).
This was not important because we were not modelling them, but
since the recent refactor now allow to model these
No code out of bcm2836.c uses (or requires) this declarations.
Move it locally to the C source file.
Signed-off-by: Philippe Mathieu-Daudé
---
include/hw/arm/bcm2836.h | 12
hw/arm/bcm2836.c | 14 ++
2 files changed, 14 insertions(+), 12 deletions(-)
diff --git
$ qemu-system-arm -M raspi1b -serial stdio \
-kernel raspberrypi/firmware/boot/kernel.img \
-dtb raspberrypi/firmware/boot/bcm2708-rpi-b.dtb \
-append 'printk.time=0 earlycon=pl011,0x20201000 console=ttyAMA0'
[0.00] Booting Linux on physical CPU 0x0
[0.00] Li
Remove usage of TypeInfo::class_data. Instead fill the fields in
the corresponding class_init().
Cc: Igor Mammedov
Signed-off-by: Philippe Mathieu-Daudé
---
hw/arm/bcm2836.c | 109 ++-
1 file changed, 51 insertions(+), 58 deletions(-)
diff --git a/hw
The BCM2835 has only one core. Introduce the core_count field to
be able to use values different than BCM283X_NCPUS (4).
Signed-off-by: Philippe Mathieu-Daudé
---
hw/arm/bcm2836.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/arm/bcm2836.c b/hw/arm/bcm2836.c
index
Hi Markus,
Can you review/queue this patch?
thanks
On Fri, Nov 8, 2019 at 5:52 PM Damien Hedde wrote:
>
>
>
> On 11/8/19 4:00 PM, Marc-André Lureau wrote:
> > Since 0b69f6f72ce47a37a749b056b6d5ec64c61f11e8 "qapi: remove
> > qmp_unregister_command()", the command list can be declared const.
> >
Le 2/12/20 à 9:36 PM, Philippe Mathieu-Daudé a écrit :
The www.helenos.org server is slow and downloading the Leon3 binary
takes too long [*]. Do not include this test in the default suite.
Similarly to commit 471c97a69b:
Currently the Avocado framework does not distinct the time spent
It makes no sense to set enabled-cpus=0 on single core SoCs.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/arm/bcm2836.c | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/hw/arm/bcm2836.c b/hw/arm/bcm2836.c
index 3b95ad11e9..caaa4b625e 100644
--- a/hw/arm/bcm2836
Signed-off-by: Philippe Mathieu-Daudé
---
include/hw/arm/bcm2836.h | 1 +
hw/arm/bcm2836.c | 40
hw/arm/raspi.c | 2 ++
3 files changed, 43 insertions(+)
diff --git a/include/hw/arm/bcm2836.h b/include/hw/arm/bcm2836.h
index acc75bf553
Add a Raspberry Pi Zero machine.
$ qemu-system-arm -M raspi0w -serial stdio \
-kernel raspberrypi/firmware/boot/kernel.img \
-dtb raspberrypi/firmware/boot/bcm2708-rpi-zero-w.dtb \
-append 'printk.time=0 earlycon=pl011,0x20201000 console=ttyAMA0'
[0.00] Booting Linux
On 08.02.20 13:25, Vladimir Sementsov-Ogievskiy wrote:
> 07.02.2020 20:46, Max Reitz wrote:
>> On 27.11.19 19:08, Vladimir Sementsov-Ogievskiy wrote:
>>> Use bdrv_block_status_above to chose effective chunk size and to handle
>>> zeroes effectively.
>>>
>>> This substitutes checking for just being
On 2/17/20 2:06 AM, Niels de Vos wrote:
On Fri, Jan 31, 2020 at 11:44:26AM -0600, Eric Blake wrote:
block.c already defaults to 0 if we don't provide a callback; there's
no need to write a callback that always fails.
Signed-off-by: Eric Blake
Reviewed-by: Niels de Vos
Per your other mess
* Philippe Mathieu-Daudé (phi...@redhat.com) wrote:
> Fix warning reported by Clang static code analyzer:
>
> CC tools/virtiofsd/passthrough_ll.o
> tools/virtiofsd/passthrough_ll.c:925:9: warning: Value stored to 'newfd' is
> never read
> newfd = -1;
> ^ ~~
>
On 2/17/20 6:03 AM, Eric Blake wrote:
>
> Creation or truncation should behave just as on a file on a local
> filesystem. So maybe qemu_gluster_known_zeroes is not needed at all?
Which version of gluster first required a regular filesystem backing for
all gluster files? Does qemu support o
Kevin Wolf writes:
> Am 15.02.2020 um 15:51 hat Markus Armbruster geschrieben:
>> Review of this patch led to a lengthy QAPI schema design discussion.
>> Let me try to condense it into a concrete proposal.
>>
>> This is about the QAPI schema, and therefore about QMP. The
>> human-friendly inter
Am 17.02.2020 um 12:08 hat Markus Armbruster geschrieben:
> This is the hairy one. Please bear with me while I try to grok it.
>
> Kevin Wolf writes:
>
> > This moves the QMP dispatcher to a coroutine and runs all QMP command
> > handlers that declare 'coroutine': true in coroutine context so t
11:00 AM Pon, 17.02.2020. Philippe Mathieu-Daudé је
написао/ла:
>
> From: Philippe Mathieu-Daudé
>
> User-mode does not need the sytem tools.
system
> Do not build them by
> default if user specified --disable-system.
specifies
>
> This disables building the following binary on a user-only bu
On 2/17/20 6:28 AM, Markus Armbruster wrote:
Proposal:
{ 'enum': 'LUKSKeyslotState',
'data': [ 'active', 'inactive' ] }
{ 'struct': 'LUKSKeyslotActive',
'data': { 'secret': 'str',
'*iter-time': 'int } }
{ 'struct': 'LUKSKeyslotInactive',
'd
On Mon, Feb 17, 2020 at 07:18:18PM +0800, Yubo Miao wrote:
> From: miaoyubo
>
> Currently virt machine is not supported by pxb-pcie,
> and only one main host bridge described in ACPI tables.
> Under this circumstance, different io numas for differnt devices
> is not possible, in order to present
The little end UUID is used in many places, so make
NVDIMM_UUID_LE to a common macro to convert the UUID
to a little end array.
Signed-off-by: Dongjiu Geng
Reviewed-by: Xiang Zheng
---
hw/acpi/nvdimm.c| 8 ++--
include/qemu/uuid.h | 5 +
2 files changed, 7 insertions(+), 6 deletions
RAS Virtualization feature is not supported now, so add a RAS machine
option and disable it by default.
Reviewed-by: Peter Maydell
Signed-off-by: Dongjiu Geng
Signed-off-by: Xiang Zheng
Reviewed-by: Jonathan Cameron
---
hw/arm/virt.c | 23 +++
include/hw/arm/virt.h
1 - 100 of 449 matches
Mail list logo