Hi Philippe,
On 1/20/22 1:12 AM, Philippe Mathieu-Daudé wrote:
> From: Eric Auger
>
> Representing the CRB cmd/response buffer as a standard
> RAM region causes some trouble when the device is used
> with VFIO. Indeed VFIO attempts to DMA_MAP this region
> as usual RAM but this latter does not ha
Anup Patel 於 2022年1月19日 週三 下午11:33寫道:
> From: Anup Patel
>
> The AIA spec defines programmable 8-bit priority for each local interrupt
> at M-level, S-level and VS-level so we extend local interrupt processing
> to consider AIA interrupt priorities. The AIA CSRs which help software
> configure l
Le 15/01/2022 à 21:37, Laurent Vivier a écrit :
This series fixes the reboot of the virt-m68k machine
by correctly initializing the start address and fixing
the ELF kernel image.
The two first patches were already sent last year and
never merged:
https://patchwork.kernel.org/project/qemu-devel/
From: Klaus Jensen
This fixes CVE-2021-3929 "locally" by denying DMA to the iomem of the
device itself. This still allows DMA to MMIO regions of other devices
(e.g. doing P2P DMA to the controller memory buffer of another NVMe
device).
Fixes: CVE-2021-3929
Reported-by: Qiuhao Li
Signed-off-by:
在 2022/1/17 15:32, Peter Xu 写道:
On Wed, Jan 05, 2022 at 01:14:08AM +0800, huang...@chinatelecom.cn wrote:
##
+# @DirtyLimitInfo:
+#
+# Dirty page rate limit information of virtual CPU.
+#
+# @cpu-index: index of virtual CPU.
+#
+# @limit-rate: upper limit of dirty page rate for virtual CPU.
On Thu, Jan 13, 2022 at 08:22:14PM +0300, Vladislav Yaroshchuk wrote:
> Create separate netdevs for each vmnet operating mode:
> - vmnet-host
> - vmnet-shared
> - vmnet-bridged
>
Sure I'm late to the party but what if we add only one backend - vmnet
with default mode set to shared and all paramet
From: Philippe Mathieu-Daudé
dma_memory_set() does a DMA barrier, set the address space with
a constant value. The constant value filling code is not specific
to DMA and can be used for AddressSpace. Extract it as a new
helper: address_space_set().
Signed-off-by: Philippe Mathieu-Daudé
Reviewed
When the mem_size of the segment is bigger than the file_size,
and if this space doesn't overlap another segment, it needs
to be cleared.
This bug is very similar to the one we had for linux-user,
22d113b52f41 ("linux-user: Fix loading of BSS segments"),
where .bss section is encoded as an extensi
On Thu, Jan 20, 2022 at 12:20 AM Anup Patel wrote:
> Hi Frank,
>
> On Wed, Jan 19, 2022 at 9:07 PM Frank Chang
> wrote:
> >
> > On Wed, Jan 19, 2022 at 11:27 PM Anup Patel wrote:
> >>
> >> From: Anup Patel
> >>
> >> The RISC-V AIA (Advanced Interrupt Architecture) defines a new
> >> interrupt
tags/m68k-for-7.0-pull-request
for you to fetch changes up to e48b140eef9775986cc18038c7bc68f8d2b7fe1d:
m68k: virt: correctly set the initial PC (2022-01-20 09:09:37 +0100)
m68k pull request 20220120
Fix virt-m
On Wed, 19 Jan 2022 15:48:20 +
Peter Maydell wrote:
> On Wed, 19 Jan 2022 at 14:44, Godmar Back wrote:
> > after upgrading to 6.2.0, I observed that code such as MIT's xv6 (see
> > [1]) is no longer able to detect multiple CPUs. Their code works in
> > 6.1.1, however.
>
> Hi; this isn't
According to QEMU parameter, set initial PC to the entry of
the loaded kernel.
Signed-off-by: Laurent Vivier
Message-Id: <20220115203725.3834712-4-laur...@vivier.eu>
---
hw/m68k/virt.c | 22 +-
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/hw/m68k/virt.c b/hw
The documentation for the generic loader says that "the maximum size of
the data is 8 bytes". However, attempts to set data-len=8 trigger the
following assertion failure:
../hw/core/generic-loader.c:59: generic_loader_reset: Assertion `s->data_len <
sizeof(s->data)' failed.
The type of s->data i
On Wed, Jan 19, 2022 at 06:57:20PM -0500, Yang Zhong wrote:
> The SGX NUMA patches were merged into Qemu 7.0 release, we need
> clarify detailed version history information and also change
> some related comments, which make SGX related comments clearer.
>
> The QMP command schema promises backwar
On Wed, Jan 19, 2022 at 02:39:16PM -0500, John Snow wrote:
> The old QMP library would actually bind to the server address during
> __init__(). The new library delays this to the accept() call, because
> binding occurs inside of the call to start_[unix_]server(), which is an
> async method -- so it
Am 19.01.22 um 15:57 schrieb Stefano Garzarella:
> On Fri, Jan 14, 2022 at 11:58:40AM +0100, Ilya Dryomov wrote:
>> On Thu, Jan 13, 2022 at 3:44 PM Peter Lieven wrote:
>>>
>>> V1->V2:
>>> Patch 1: Treat a hole just like an unallocated area. [Ilya]
>>> Patch 2: Apply workaround only for pre-Quinc
On Thu, Jan 20, 2022 at 09:10:34AM +, Daniel P. Berrangé wrote:
> On Wed, Jan 19, 2022 at 06:57:20PM -0500, Yang Zhong wrote:
> > The SGX NUMA patches were merged into Qemu 7.0 release, we need
> > clarify detailed version history information and also change
> > some related comments, which mak
On Thu, Jan 20, 2022 at 04:26:09PM +0800, Hyman Huang wrote:
> Hi,Peter. I'm working on this problem and found the reason is kind of the
> same as i metioned in cover letter of v10, the following is what i posted:
>
> 2. The new implementaion of throttle algo enlightened by Peter
> responds
On 20.01.22 01:08, Philippe Mathieu-Daudé wrote:
> "host" pages are related to the *host* not the *target*,
> thus the qemu_host_page_size / qemu_host_page_mask variables
> and the HOST_PAGE_ALIGN() / REAL_HOST_PAGE_ALIGN() macros
> can be moved to "exec/cpu-common.h" which is target agnostic.
>
>
Le 29/12/2021 à 06:52, Shreyansh Chouhan a écrit :
Hi,
I am sorry for the absence of activity on this. A couple of people very close to me died, and I also
got busy
with the linux kernel mentorship program for a while. It was a weird year. But
I am back on this now.
I have the basic function
On 1/18/22 19:44, Fabiano Rosas wrote:
changes from v1:
- New patch that renames MSR_POW to MSR_WE for the 405.
- New patch that adds just MSR_ME to the msr_mask.
- New patches to cleanup exceptions I missed the first time around.
- Dropped the patch that added all the missing MSR bits. We ha
On Thu, Jan 20, 2022 at 06:39:01PM +0800, Hyman Huang wrote:
> > It only runs once per second so it shouldn't bring a lot of differences, but
> > I'm also wondering whether we should also turn that temporarily off too when
> > dirtylimit is enabled - we can simply let it keep sleeping if dirtylimit
On Thu, 20 Jan 2022, Ani Sinha wrote:
> +qemu-devel
>
> On Thu, 20 Jan 2022, Ani Sinha wrote:
>
> >
> >
> > On Wed, 19 Jan 2022, Peter Maydell wrote:
> >
> > > On Wed, 19 Jan 2022 at 14:44, Godmar Back wrote:
> > > > after upgrading to 6.2.0, I observed that code such as MIT's xv6 (see
> > > >
On Thu, Jan 20, 2022 at 05:16:01PM +0800, Yang Zhong wrote:
> On Thu, Jan 20, 2022 at 09:10:34AM +, Daniel P. Berrangé wrote:
> > On Wed, Jan 19, 2022 at 06:57:20PM -0500, Yang Zhong wrote:
> > > The SGX NUMA patches were merged into Qemu 7.0 release, we need
> > > clarify detailed version hist
On Thu, Jan 20, 2022 at 06:03:45PM +0800, Hyman Huang wrote:
>
>
> 在 2022/1/20 17:25, Peter Xu 写道:
> > On Thu, Jan 20, 2022 at 04:26:09PM +0800, Hyman Huang wrote:
> > > Hi,Peter. I'm working on this problem and found the reason is kind of the
> > > same as i metioned in cover letter of v10, the
On 1/20/22 10:27, Petr Tesarik wrote:
> The documentation for the generic loader says that "the maximum size of
> the data is 8 bytes". However, attempts to set data-len=8 trigger the
> following assertion failure:
>
> ../hw/core/generic-loader.c:59: generic_loader_reset: Assertion `s->data_len
>
On Debian we also need libibumad to enable RDMA:
$ ../configure --enable-rdma
ERROR: OpenFabrics librdmacm/libibverbs/libibumad not present.
Your options:
(1) Fast: Install infiniband packages (devel) from your distro.
(2) Cleanest: Install libraries from www.
* Peter Maydell (peter.mayd...@linaro.org) wrote:
> The migration code will not look at a VMStateDescription's
> minimum_version_id_old field unless that VMSD has set the
> load_state_old field to something non-NULL. (The purpose of
> minimum_version_id_old is to specify what migration version is
lcitool is used by build test / automation, we want maintainers
to get notified if the submodule is updated.
Reviewed-by: Daniel P. Berrangé
Signed-off-by: Philippe Mathieu-Daudé
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 893a5567100..fb7
+qemu-devel
On Thu, 20 Jan 2022, Ani Sinha wrote:
>
>
> On Wed, 19 Jan 2022, Peter Maydell wrote:
>
> > On Wed, 19 Jan 2022 at 14:44, Godmar Back wrote:
> > > after upgrading to 6.2.0, I observed that code such as MIT's xv6 (see
> > > [1]) is no longer able to detect multiple CPUs. Their code w
On Wed, 19 Jan 2022 at 17:34, Philippe Mathieu-Daudé wrote:
>
> Hi Peter,
>
> Can you take this single patch via your arm tree?
Sure.
Applied to target-arm.next, thanks.
-- PMM
On Wed, Jan 19, 2022 at 12:26 PM Bin Meng wrote:
>
> On Tue, Jan 18, 2022 at 7:18 PM Anup Patel wrote:
> >
> > Now that all RISC-V machines can use OpenSBI BIN images, we remove
> > OpenSBI ELF images and also exclude these images from BIOS build.
> >
> > Signed-off-by: Anup Patel
> > ---
> > p
Oops, 's/targets/runners/' in Subject...
On 1/20/22 12:05, Philippe Mathieu-Daudé wrote:
> lcitool doesn't support MSYS2 targets, so manually remove
> this now unnecessary library.
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> .cirrus.yml | 1 -
> .gitlab-ci.d/windows.yml | 2 -
On Thu, Jan 20, 2022 at 09:32:34AM +0530, Viresh Kumar wrote:
> On 17-01-22, 10:11, Alex Bennée wrote:
> >
> > "Michael S. Tsirkin" writes:
> >
> > > On Wed, Jan 12, 2022 at 05:04:57PM +0530, Viresh Kumar wrote:
> > >> Hello,
> > >>
> > >> This patchset adds vhost-user-gpio device's support in
在 2022/1/20 17:25, Peter Xu 写道:
On Thu, Jan 20, 2022 at 04:26:09PM +0800, Hyman Huang wrote:
Hi,Peter. I'm working on this problem and found the reason is kind of the
same as i metioned in cover letter of v10, the following is what i posted:
2. The new implementaion of throttle algo enlig
On Thu, Jan 20, 2022 at 12:05:44PM +0100, Philippe Mathieu-Daudé wrote:
> The previous commit removed all uses of libxml2.
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> tests/docker/dockerfiles/alpine.docker| 1 -
> tests/docker/dockerfiles/centos8.docker | 1 -
> tests/docker/
Hi Frédéric,
you are right, I misunderstood the "LQ is added to the MISC-MEM major
opcode" part of the spec.
I saw the encoding conflict with the CBO instructions and thought of a
bug in qemu's LQ encoding.
Philipp already highlighted that cbo.* instructions are actually LQ with rd=0.
Thanks,
Chr
Refresh lcitool to latest and remove libxml2 (mjt).
v2:
- rebased (testing/next)
- include mjt's libxml2 removal patch
Supersedes: <20220110124638.610145-1-f4...@amsat.org>
Michael Tokarev (1):
drop libxml2 checks since libxml is not actually used (for parallels)
Philippe Mathieu-Daudé (5):
On Thu, Jan 20, 2022 at 12:05:45PM +0100, Philippe Mathieu-Daudé wrote:
> lcitool doesn't support MSYS2 targets, so manually remove
> this now unnecessary library.
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> .cirrus.yml | 1 -
> .gitlab-ci.d/windows.yml | 2 --
> 2 files chang
在 2022/1/20 18:56, Peter Xu 写道:
On Thu, Jan 20, 2022 at 06:39:01PM +0800, Hyman Huang wrote:
It only runs once per second so it shouldn't bring a lot of differences, but
I'm also wondering whether we should also turn that temporarily off too when
dirtylimit is enabled - we can simply let it k
The previous commit removed all uses of libxml2.
Signed-off-by: Philippe Mathieu-Daudé
---
tests/docker/dockerfiles/alpine.docker| 1 -
tests/docker/dockerfiles/centos8.docker | 1 -
tests/docker/dockerfiles/fedora.docker| 1 -
tests/docker/dockerfiles/opensuse-leap.docker
On Mon, Jan 17, 2022 at 06:12:50AM -0600, Brijesh Singh wrote:
>
> On 1/17/22 1:34 AM, Dov Murik wrote:
> > [+cc Tom, Brijesh, Ashish - see SEV-related changes in this series]
> >
> >
> > On 13/01/2022 18:55, Daniel P. Berrangé wrote:
> >> The AMD SEV build of EDK2 only emits a single file, intend
Refresh lcitool submodule and the generated files by running:
$ make lcitool-refresh
Reviewed-by: Daniel P. Berrangé
Signed-off-by: Philippe Mathieu-Daudé
---
tests/docker/dockerfiles/alpine.docker| 3 ++-
tests/docker/dockerfiles/centos8.docker | 3 +--
tests/docker/dockerfile
(+Andrea)
On 1/20/22 12:18, Philippe Mathieu-Daudé wrote:
> On 1/20/22 12:14, Daniel P. Berrangé wrote:
>> On Thu, Jan 20, 2022 at 12:05:44PM +0100, Philippe Mathieu-Daudé wrote:
>>> The previous commit removed all uses of libxml2.
>>>
>>> Signed-off-by: Philippe Mathieu-Daudé
>>> ---
>>> tests/
On Wed, 19 Jan 2022 at 19:53, Kenneth Adam Miller
wrote:
>
> The source for it isn't available in order that it be compiled to the desired
> architecture.
In general kernel modules need to be built not just for the right architecture
but even for the specific kernel version you're going to load
lcitool doesn't support MSYS2 targets, so manually remove
this now unnecessary library.
Signed-off-by: Philippe Mathieu-Daudé
---
.cirrus.yml | 1 -
.gitlab-ci.d/windows.yml | 2 --
2 files changed, 3 deletions(-)
diff --git a/.cirrus.yml b/.cirrus.yml
index 02c43a074a1..7552d70974
在 2022/1/19 20:16, Markus Armbruster 写道:
huang...@chinatelecom.cn writes:
From: Hyman Huang(黄勇)
Setup a negative feedback system when vCPU thread
handling KVM_EXIT_DIRTY_RING_FULL exit by introducing
throttle_us_per_full field in struct CPUState. Sleep
throttle_us_per_full microseconds to
Kenneth Adam Miller writes:
> Would it be possible somehow to save the TCG cache, as with user binaries,
> but for a kernel module, before then loading that kernel
> module into memory the target architecture whether in or outside of
> QEMU?
OK let me stop you right there - TCG generated code
On Mon, Jan 17, 2022 at 10:11:21AM +, Alex Bennée wrote:
>
> "Michael S. Tsirkin" writes:
>
> > On Wed, Jan 12, 2022 at 05:04:57PM +0530, Viresh Kumar wrote:
> >> Hello,
> >>
> >> This patchset adds vhost-user-gpio device's support in Qemu. The support
> >> for the
> >> same has already be
This patch adds a get_vhost() callback function for VirtIODevices that
returns the device's corresponding vhost_dev structure, if the vhost
device is running. This patch also adds a vhost_started flag for
VirtIODevices.
Previously, a VirtIODevice wouldn't be able to tell if its corresponding
vhost
After a TLB miss exception, GPRs 0-3 must be restored on rfi.
This is managed by hreg_store_msr() which is called by do_rfi()
However, hreg_store_msr() does it if MSR[TGPR] is unset in the
passed MSR value.
The problem is that do_rfi() is given the content of SRR1 as
the value to be set in MSR,
Refresh lcitool to latest and remove libxml2 (mjt).
v3:
- fix 'refresh' helper to update cirrus-ci files (danpb)
v2:
- rebased (testing/next)
- include mjt's libxml2 removal patch
Michael Tokarev (1):
drop libxml2 checks since libxml is not actually used (for parallels)
Philippe Mathieu-Daudé
On Thu, Jan 20, 2022 at 12:05:42PM +0100, Philippe Mathieu-Daudé wrote:
> On Debian we also need libibumad to enable RDMA:
>
> $ ../configure --enable-rdma
>
> ERROR: OpenFabrics librdmacm/libibverbs/libibumad not present.
> Your options:
>(1) Fast: Install infiniband p
The previous commit removed all uses of libxml2.
Update lcitool's qemu.yml and refresh the generated files by running:
$ make lcitool-refresh
Signed-off-by: Philippe Mathieu-Daudé
---
.gitlab-ci.d/cirrus/freebsd-12.vars | 2 +-
.gitlab-ci.d/cirrus/freebsd-13.vars | 2 +-
在 2022/1/20 17:25, Peter Xu 写道:
... I think what you explained makes sense to me.
Note that there's also the reaper thread running in the background that can
reap all the cores too.
It only runs once per second so it shouldn't bring a lot of differences, but
I'm also wondering whether we s
On Thu, Jan 20, 2022 at 07:03:30PM +0800, Hyman Huang wrote:
> Ok, i'll try this out.
You could even add a unit test if you want: see test_migrate_auto_converge() in
migration-test.c.
--
Peter Xu
From: Laurent Vivier
This new command shows the status of a VirtIODevice, including
its corresponding vhost device's status (if active).
Next patch will improve output by decoding feature bits, including
vhost device's feature bits (backend, protocol, acked, and features).
Also will decode statu
From: Laurent Vivier
This new command shows the information of a VirtQueue element.
[Note: Up until v10 of this patch series, virtio.json had many (15+)
enums defined (e.g. decoded device features, statuses, etc.). In v10
most of these enums were removed and replaced with string literals.
By
On 1/20/22 12:05, Philippe Mathieu-Daudé wrote:
> The previous commit removed all uses of libxml2.
Here I will amend:
Update lcitool's qemu.yml and refresh the generated files by running:
$ make lcitool-refresh
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> tests/docker/dockerfiles/alp
From: Michael Tokarev
For a long time, we assumed that libxml2 is neecessary for parallels
block format support (block/parallels*). However, this format actually
does not use libxml [*]. Since this is the only user of libxml2 in
while qemu tree, we can drop all libxml2 checks and dependencies too
From: Laurent Vivier
These new commands show the internal status of a VirtIODevice's
VirtQueue and a vhost device's vhost_virtqueue (if active).
Signed-off-by: Jonah Palmer
---
hw/virtio/virtio-stub.c | 14 +++
hw/virtio/virtio.c | 103
qapi/virtio.json| 252
On Thu, Jan 20, 2022 at 12:21:01PM +0100, Philippe Mathieu-Daudé wrote:
> (+Andrea)
>
> On 1/20/22 12:18, Philippe Mathieu-Daudé wrote:
> > On 1/20/22 12:14, Daniel P. Berrangé wrote:
> >> On Thu, Jan 20, 2022 at 12:05:44PM +0100, Philippe Mathieu-Daudé wrote:
> >>> The previous commit removed all
From: Laurent Vivier
This patch implements the HMP versions of the virtio QMP commands.
Signed-off-by: Jonah Palmer
---
hmp-commands-info.hx | 70
include/monitor/hmp.h | 5 +
monitor/hmp-cmds.c| 311 ++
3 files changed, 386
On 1/20/22 12:14, Daniel P. Berrangé wrote:
> On Thu, Jan 20, 2022 at 12:05:44PM +0100, Philippe Mathieu-Daudé wrote:
>> The previous commit removed all uses of libxml2.
>>
>> Signed-off-by: Philippe Mathieu-Daudé
>> ---
>> tests/docker/dockerfiles/alpine.docker| 1 -
>> tests/docker/dock
Let "meson test" take care of showing the results of the individual tests,
consistently with other output from "make check V=1".
Signed-off-by: Paolo Bonzini
---
tests/check-block.sh | 6 ++--
tests/qemu-iotests/check | 6 ++--
tests/qemu-iotests/meson.build | 1 +
tests
This series introduces new QMP/HMP commands to dump the status of a
virtio device at different levels.
[Jonah: Rebasing from previous patchset from Dec. 9 (v10). Original patches
are by Laurnet Vivier from May 2020.
Rebase from v10 to v11 mainly includes a check when querying or gathering
any
From: Michael Tokarev
For a long time, we assumed that libxml2 is neecessary for parallels
block format support (block/parallels*). However, this format actually
does not use libxml [*]. Since this is the only user of libxml2 in
while qemu tree, we can drop all libxml2 checks and dependencies too
lcitool doesn't support MSYS2 targets, so manually remove
this now unnecessary library.
Reviewed-by: Daniel P. Berrangé
Signed-off-by: Philippe Mathieu-Daudé
---
.cirrus.yml | 1 -
.gitlab-ci.d/windows.yml | 2 --
2 files changed, 3 deletions(-)
diff --git a/.cirrus.yml b/.cirrus.
On Thu, Jan 20, 2022 at 12:30:11PM +0100, Philippe Mathieu-Daudé wrote:
> The script only include the local qemu.yml for Dockerfiles.
> Since we want to keep the Cirrus-CI generated files in sync,
> also use the --data-dir option in generate_cirrus().
>
> Fixes: c45a540f4bd (".gitlab-ci.d/cirrus:
On Debian we also need libibumad to enable RDMA:
$ ../configure --enable-rdma
ERROR: OpenFabrics librdmacm/libibverbs/libibumad not present.
Your options:
(1) Fast: Install infiniband packages (devel) from your distro.
(2) Cleanest: Install libraries from www.
Refresh lcitool submodule and the generated files by running:
$ make lcitool-refresh
Reviewed-by: Daniel P. Berrangé
Signed-off-by: Philippe Mathieu-Daudé
---
.gitlab-ci.d/cirrus/freebsd-12.vars | 2 +-
.gitlab-ci.d/cirrus/freebsd-13.vars | 2 +-
tests/docker/dockerfiles/
From: Laurent Vivier
Display feature names instead of bitmaps for host, guest, and
backend for VirtIODevices.
Display status names instead of bitmaps for VirtIODevices.
Display feature names instead of bitmaps for backend, protocol,
acked, and features (hdev->features) for vhost devices.
Decod
This patch drops the name parameter for the virtio_init function.
The pair between the numeric device ID and the string device ID
(name) of a virtio device already exists, but not in a way that
lets us map between them.
This patch lets us do this and removes the need for the name
parameter in the
lcitool is used by build test / automation, we want maintainers
to get notified if the submodule is updated.
Reviewed-by: Daniel P. Berrangé
Signed-off-by: Philippe Mathieu-Daudé
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 893a5567100..fb7
The script only include the local qemu.yml for Dockerfiles.
Since we want to keep the Cirrus-CI generated files in sync,
also use the --data-dir option in generate_cirrus().
Fixes: c45a540f4bd (".gitlab-ci.d/cirrus: auto-generate variables with lcitool")
Reported-by: Daniel P. Berrangé
Signed-off
Signed-off-by: Paolo Bonzini
---
meson.build | 5 +++--
scripts/mtest2make.py | 10 +++---
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/meson.build b/meson.build
index 97c6fd6f1b..dcd2a1d5e3 100644
--- a/meson.build
+++ b/meson.build
@@ -3,8 +3,9 @@ project('qemu
Currently, we have to use OpenSBI firmware ELF as bios for the spike
machine because the HTIF console requires ELF for parsing "fromhost"
and "tohost" symbols.
The latest OpenSBI can now optionally pick-up HTIF register address
from HTIF DT node so using this feature spike machine can now use
Open
From: Laurent Vivier
This new command lists all the instances of VirtIODevices with
their canonical QOM path and name.
[Jonah: @virtio_list duplicates information that already exists in
the QOM composition tree. However, extracting necessary information
from this tree seems to be a bit convolu
This series makes "meson test" run the block layer tests, reporting
their outcome in the same way as the other TAP tests.
Based-on: <20211223183933.1497037-1-vsement...@virtuozzo.com>
v1->v2: make qcow2 the "quick" test, skip on Windows
Paolo Bonzini (4):
scripts/mtest2make: add support for SP
Now that RISC-V Spike machine can use BIN BIOS images, we remove
the macros used for ELF BIOS image names.
Signed-off-by: Anup Patel
Reviewed-by: Alistair Francis
Reviewed-by: Bin Meng
---
hw/riscv/spike.c| 4 ++--
include/hw/riscv/boot.h | 2 --
2 files changed, 2 insertions(+), 4 del
"meson test" can be asked to run tests verbosely; this makes it usable
also for qemu-iotests's own harness, and it lets "make check-block"
reuse mtest2make.py's infrastructure to find and build test dependencies.
Adjust check-block.sh to use the standard exit code that reports a test
as skipped.
This is anyway how check-block.sh is used in practice, and by removing the
list of formats in the script we avoid duplication between meson.build
and check-block.sh.
Signed-off-by: Paolo Bonzini
---
tests/check-block.sh | 21 +
1 file changed, 9 insertions(+), 12 deletions(-)
On Thu, Jan 20, 2022 at 12:30:15PM +0100, Philippe Mathieu-Daudé wrote:
> The previous commit removed all uses of libxml2.
>
> Update lcitool's qemu.yml and refresh the generated files by running:
>
> $ make lcitool-refresh
>
> Signed-off-by: Philippe Mathieu-Daudé
> ---
> .gitlab-ci.d/cirru
> On 20 Jan 2022, at 13:35, Liviu Ionescu wrote:
>
> It is usual for various distributions to identify themselves by
> prepending a string to the greeting message, for example
> 'xPack QEMU emulator version 6.2.0 (v6.2.0-2-xpack-arm)'.
>
> To achieve this, a new configuration option (--with-b
On Thu, Jan 20, 2022 at 12:18:34PM +0100, Philippe Mathieu-Daudé wrote:
> On 1/20/22 12:14, Daniel P. Berrangé wrote:
> > On Thu, Jan 20, 2022 at 12:05:44PM +0100, Philippe Mathieu-Daudé wrote:
> >> The previous commit removed all uses of libxml2.
> >>
> >> Signed-off-by: Philippe Mathieu-Daudé
>
On Thu, Jan 20, 2022 at 1:49 PM Frank Chang wrote:
>
> On Thu, Jan 20, 2022 at 12:20 AM Anup Patel wrote:
>>
>> Hi Frank,
>>
>> On Wed, Jan 19, 2022 at 9:07 PM Frank Chang wrote:
>> >
>> > On Wed, Jan 19, 2022 at 11:27 PM Anup Patel wrote:
>> >>
>> >> From: Anup Patel
>> >>
>> >> The RISC-V AI
It is usual for various distributions to identify themselves by
prepending a string to the greeting message, for example
'xPack QEMU emulator version 6.2.0 (v6.2.0-2-xpack-arm)'.
To achieve this, a new configuration option (--with-branding-prefix=)
was added, which, if not empty, adds a string pre
This series aims at improving RISC-V spike machine BIOS support by allowing
use of binary firmware as bios. Further, this also allows us to totally
remove the ELF bios images shipped with QEMU RISC-V.
These patches can also be found in riscv_spike_imp_v3 branch at:
https://github.com/avpatel/qemu.
In this patch set, we process the pc reigsters writes,
gdb reads and writes, and address calculation under
different UXLEN settings.
The patch set v8 has been tested by running rv64 Linux with
rv32 rootfs in compat mode. You can almost follow the test [1]
given by GuoRen, except using the branch
On Thu, Jan 20, 2022 at 03:38:26PM +0530, Ani Sinha wrote:
> Actually I am not quite right. This is the real change which changed the
> preference. The previous change was a code re-org that preserved the
> behavior:
>
> commit 4a0af2930a4e4f64ce551152fdb4b9e7be106408
> Author: Yanan Wang
> Date:
On Thu, 20 Jan 2022 at 13:42, Peter Maydell wrote:
>
>
> But for all of these instructions the reginfo struct
> sets ".access = PL1_W". The .access field is always
> checked before the .accessfn, so for any of these instructions
> executed from EL0 I think we will always fail the .access
> check a
Current xlen has been used in helper functions and many other places.
The computation of current xlen is not so trivial, so that we should
recompute it as little as possible.
Fortunately, xlen only changes in very seldom cases, such as exception,
misa write, mstatus write, cpu reset, migration loa
On Fri, 14 Jan 2022 at 00:40, Idan Horowitz wrote:
>
> The SCTLR_EL1.UCI bit only affects a subset of cache maintenance
> instructions as specified by the specification. Any other cache
> maintenance instructions must still be trapped from EL0.
Hi; thanks for this patch. Do you have a test case w
The read from PC for translation is in cpu_get_tb_cpu_state, before translation.
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
---
target/riscv/cpu_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/riscv/cpu_helper.c b/
Hi Alistair,
On Wed, Jan 19, 2022 at 8:56 PM Anup Patel wrote:
>
> From: Anup Patel
>
> The advanced interrupt architecture (AIA) extends the per-HART local
> interrupt support. Along with this, it also adds IMSIC (MSI contrllor)
> and Advanced PLIC (wired interrupt controller).
>
> The latest A
On Tue, 18 Jan 2022 at 11:38, Gerd Hoffmann wrote:
>
> The following changes since commit 6621441db50d5bae7e34dbd04bf3c57a27a71b32:
>
> Merge remote-tracking branch 'remotes/mcayland/tags/qemu-openbios-20220115'
> into staging (2022-01-16 20:12:23 +)
>
> are available in the Git repository
As pc will be written by the xepc in exception return, just ignore
pc in translation.
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
---
target/riscv/helper.h | 4 ++--
target/riscv/insn_trans/trans_privileged.c.inc | 7 ++-
In the physical machine environment, when a SRAR error occurs,
the IA32_MCG_STATUS RIPV bit is set, but qemu does not set this
bit. When qemu injects an SRAR error into virtual machine, the
virtual machine kernel just call do_machine_check() to kill the
current task, but not call memory_failure() t
In some cases, we must restore the guest PC to the address of the start of
the TB, such as when the instruction counter hits zero. So extend pc register
according to current xlen for these cases.
Signed-off-by: LIU Zhiwei
Reviewed-by: Richard Henderson
Reviewed-by: Alistair Francis
---
target/
Am 20.01.2022 um 09:02 hat Pierre Libeau geschrieben:
> Hello
>
> I'm forwarding to you my question because I have pushed on the wrong
> mailing list at the beginning. Can you give me your opinion or forward
> me to the right people who can help me.
>
> Thx.
>
> Pierre
>
>
> __
1 - 100 of 291 matches
Mail list logo