在 2022/1/18 下午12:23, Alistair Francis 写道:
On Tue, Jan 11, 2022 at 1:53 PM Weiwei Li wrote:
Signed-off-by: Weiwei Li
Signed-off-by: Junqiang Wang
---
target/riscv/cpu.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index b487a8
在 2022/1/18 下午12:40, Alistair Francis 写道:
On Tue, Jan 11, 2022 at 1:56 PM Weiwei Li wrote:
- reuse partial instructions of Zbb/Zbc extensions
- add brev8, packh, unzip, zip, etc.
Signed-off-by: Weiwei Li
Signed-off-by: Junqiang Wang
---
target/riscv/bitmanip_helper.c |
在 2022/1/18 下午12:36, Alistair Francis 写道:
On Tue, Jan 11, 2022 at 1:53 PM Weiwei Li wrote:
- add SEED CSR
- add USEED, SSEED fields for MSECCFG CSR
Co-authored-by: Ruibo Lu
Co-authored-by: Zewen Ye
Signed-off-by: Weiwei Li
Signed-off-by: Junqiang Wang
---
target/riscv/cpu_bits.
在 2022/1/18 下午12:21, Alistair Francis 写道:
On Tue, Jan 11, 2022 at 2:01 PM Weiwei Li wrote:
Co-authored-by: Ruibo Lu
Co-authored-by: Zewen Ye
Signed-off-by: Weiwei Li
Signed-off-by: Junqiang Wang
---
target/riscv/crypto_helper.c| 446 ++
target/riscv/help
在 2022/1/18 下午12:41, Alistair Francis 写道:
On Tue, Jan 11, 2022 at 1:54 PM Weiwei Li wrote:
This patchset implements RISC-V scalar crypto extension v1.0.0 version
instructions.
Partial instructions are reused from B-extension.
Specification:
https://github.com/riscv/riscv-crypto
The port is
On 17/01/2022 14:52, Cédric Le Goater wrote:
Initially, I installed a debian11 ppc64 on a QEMU mac99/970 machine.
Something went wrong with the bootloader at installation and I was
stuck with memory boot. I didn't manage to restore a decent boot
setup even after that.
Interesting. I had a simi
On Mon, Jan 17, 2022 at 10:15:41AM +0100, Cédric le Goater wrote:
> Commit c8f49e6b938e ("target/ppc: remove 401/403 CPUs") left a few
> things behind.
>
> Signed-off-by: Cédric Le Goater
Reviewed-by: David Gibson
.. although I'm not sure "finish" is totally accurate since env->pb is
still the
在 2022/1/18 上午11:32, Anup Patel 写道:
On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
- add PTE_N bit
- add PTE_N bit check for inner PTE
- update address translation to support 64KiB continuous region (napot_bits = 4)
Signed-off-by: Weiwei Li
Signed-off-by: Junqiang Wang
Cc: Anup Patel
I
On 1/18/22 01:44, David Gibson wrote:
On Mon, Jan 17, 2022 at 10:15:41AM +0100, Cédric le Goater wrote:
Commit c8f49e6b938e ("target/ppc: remove 401/403 CPUs") left a few
things behind.
Signed-off-by: Cédric Le Goater
Reviewed-by: David Gibson
.. although I'm not sure "finish" is totally a
Almost[*] all trace-events files start with this line:
# See docs/devel/tracing.rst for syntax documentation.
But I can't find syntax documentation there.
[*] Exceptions:
$ git-ls-files \*/trace-events| xargs fgrep -L '# See
docs/devel/tracing.rst for syntax documentation.'
ebpf/tr
On Tue, Jan 18, 2022 at 11:32 AM Anup Patel wrote:
>
> On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
> >
> > From: Guo Ren
> >
> > Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we
> > need to ignore them. They cannot be a part of ppn.
> >
> > 1: The RISC-V Instruction Set Ma
在 2022/1/18 上午11:35, Anup Patel 写道:
On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
- add PTE_PBMT bits: It uses two PTE bits, but otherwise has no effect on QEMU,
since QEMU is sequentially consistent and doesn't model PMAs currently
- add PTE_PBMT bit check for inner PTE
Signed-off-by: W
Vladimir Sementsov-Ogievskiy writes:
> We are going to generate trace events for qmp commands. We should
> generate both trace events and trace-events.
What do you mean to say with the second sentence? "trace events" == the
calls of generated trace_FOO(), and "trace-events" == the input file fo
On 17/01/2022 21.12, Daniel P. Berrangé wrote:
On Mon, Jan 17, 2022 at 08:16:39PM +0100, Thomas Huth wrote:
The list of machine types grows larger and larger each release ... and
it is unlikely that many people still use the very old ones for live
migration. QEMU v1.7 has been released more than
On Tue, Jan 18, 2022 at 2:16 PM Guo Ren wrote:
>
> On Tue, Jan 18, 2022 at 11:32 AM Anup Patel wrote:
> >
> > On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
> > >
> > > From: Guo Ren
> > >
> > > Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we
> > > need to ignore them. They
On 02.11.21 17:43, David Hildenbrand wrote:
> Playing with memory_region_is_mapped(), I realized that memory regions
> mapped via an alias behave a little bit "differently", as they don't have
> their ->container set.
> * memory_region_is_mapped() will never succeed for memory regions mapped
> vi
On Tue, Jan 18, 2022 at 09:23:50AM +0100, Markus Armbruster wrote:
> Almost[*] all trace-events files start with this line:
>
> # See docs/devel/tracing.rst for syntax documentation.
>
> But I can't find syntax documentation there.
In that doc, under the heading "Declaring trace events", is
On 12/01/2022 17.50, Ilya Leoshkevich wrote:
v3: https://lists.nongnu.org/archive/html/qemu-devel/2022-01/msg02680.html
v3 -> v4: Simplify cc_calc_sla().
Free temporaries.
v2: https://lists.nongnu.org/archive/html/qemu-devel/2022-01/msg02488.html
v2 -> v3: Unify CC_OP_SLA_32 and CC_OP
On Mon, Jan 17, 2022 at 06:12:20PM -0300, Fabiano Rosas wrote:
> Fabiano Rosas writes:
>
> > Some bits described in the user manual are missing from msr_mask. Add
> > them.
> >
> > Signed-off-by: Fabiano Rosas
> > ---
> > target/ppc/cpu_init.c | 6 +-
> > 1 file changed, 5 insertions(+), 1
在 2022/1/18 上午11:35, Anup Patel 写道:
On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
- add PTE_PBMT bits: It uses two PTE bits, but otherwise has no effect on QEMU,
since QEMU is sequentially consistent and doesn't model PMAs currently
- add PTE_PBMT bit check for inner PTE
Signed-off-by: W
[ Adding Fred ]
On 1/18/22 09:30, Mark Cave-Ayland wrote:
On 17/01/2022 14:52, Cédric Le Goater wrote:
Initially, I installed a debian11 ppc64 on a QEMU mac99/970 machine.
Something went wrong with the bootloader at installation and I was
stuck with memory boot. I didn't manage to restore a de
On 22/12/2021 11.55, Cornelia Huck wrote:
Split out some more specialized devices etc., so that we can build
smarter lists of people to be put on cc: in the future.
Reviewed-by: Philippe Mathieu-Daudé
Acked-by: David Hildenbrand
Acked-by: Christian Borntraeger
Acked-by: Thomas Huth
Acked-by:
On 1/17/22 21:40, Peter Maydell wrote:
On Mon, 17 Jan 2022 at 05:52, David Gibson wrote:
It is also touched in the *super* old cpu_load_old. I suspect we
could probably just drop that completely, since I don't think we
realistically support migration from a version that old anyway.
This woul
On 11/2/21 17:43, David Hildenbrand wrote:
> Playing with memory_region_is_mapped(), I realized that memory regions
> mapped via an alias behave a little bit "differently", as they don't have
> their ->container set.
> * memory_region_is_mapped() will never succeed for memory regions mapped
> via
On 13/01/2022 19.11, Hongren (Zenithal) Zheng wrote:
Signed-off-by: Hongren (Zenithal) Zheng
---
docs/system/devices/usb.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/docs/system/devices/usb.rst b/docs/system/devices/usb.rst
index afb7d6c226..341694403a 100644
--- a/docs/system/d
On 11/30/21 09:00, Peter Xu wrote:
> We should only call the log_global_start/stop when the global dirty track
> bitmask changes from zero<->non-zero.
>
> No real issue reported for this yet probably because no immediate user to
> enable both dirty rate measurement and migration at the same time.
On 13/01/2022 12.41, Philippe Mathieu-Daudé wrote:
On 13/1/22 08:39, Thomas Huth wrote:
On 10/01/2022 14.10, Philippe Mathieu-Daudé wrote:
Add support for macOS 12 build on Cirrus-CI, similarly to commit
0e103a65ba1 ("gitlab: support for ... macOS 11 via cirrus-run").
Update the lcitool reposi
On 4/18/21 07:57, Philippe Mathieu-Daudé wrote:
> Since commit 2cdfcf272d ("memory: assign MemoryRegionOps to all
> regions"), all newly created regions are assigned with
> unassigned_mem_ops (which might be then overwritten).
>
> When using aliased container regions, and there is no region mapped
Hi,
On 11/11/21 15:13, Chao Peng wrote:
> Signed-off-by: Chao Peng
> ---
> include/exec/address-spaces.h | 2 ++
> softmmu/physmem.c | 13 +
> 2 files changed, 15 insertions(+)
>
> diff --git a/include/exec/address-spaces.h b/include/exec/address-spaces.h
> index db8bfa
This makes the qmp-shell program a little more pleasant to use when you
are just trying to spawn a throw-away QEMU process to query some info
from.
First it introduces a 'qmp-shell-wrap' command that takes a QEMU command
line instead of QMP socket, and spawns QEMU automatically, so its life
is tie
With the current 'qmp-shell' tool developers must first spawn QEMU with
a suitable -qmp arg and then spawn qmp-shell in a separate terminal
pointing to the right socket.
With 'qmp-shell-wrap' developers can ignore QMP sockets entirely and
just pass the QEMU command and arguments they want. The pro
When running QMP commands with very large response payloads, it is often
not easy to spot the info you want. If we can save the response to a
file then tools like 'grep' or 'jq' can be used to extract information.
For convenience of processing, we merge the QMP command and response
dictionaries to
On Mon, Jan 17, 2022 at 06:27:24PM -0500, John Snow wrote:
> On Mon, Jan 17, 2022 at 9:11 AM Daniel P. Berrangé
> wrote:
> >
> > With the current 'qmp-shell' tool developers must first spawn QEMU with
> > a suitable -qmp arg and then spawn qmp-shell in a separate terminal
> > pointing to the righ
On Fri, 31 Dec 2021 at 13:54, Philippe Mathieu-Daudé
wrote:
> Various APIs use 'pval' naming for 'pointer to val'.
> rdma_pci_dma_map() uses 'plen' for 'PCI length', but since
> 'PCI' is already explicit in the function name, simplify
> and rename the argument 'len'. No logical change.
>
> Signed
Vladimir Sementsov-Ogievskiy writes:
> Add and option to generate trace events. We should generate both trace
> events and trace-events files for further trace events code generation.
Can you explain why we want trace generation to be optional?
> Signed-off-by: Vladimir Sementsov-Ogievskiy
> -
Vladimir Sementsov-Ogievskiy writes:
> 1. Use --add-trace-events when generate qmp commands
> 2. Add corresponding .trace-events files as outputs in qapi_files
>custom target
> 3. Define global qapi_trace_events list of .trace-events file targets,
>to fill in trace/qapi.build and to use i
Hello,
This is a follow up of "target/ppc: Finish removal of 401/403 CPUs".
To "finish" the removal, we need to get rid of the 403 protection
registers under CPUPPCState. This is done after having removed the
last user of .load_state_old. This change breaks migration
compatibility with very old v
Commit c8f49e6b938e ("target/ppc: remove 401/403 CPUs") left a few
things behind.
Reviewed-by: Fabiano Rosas
Reviewed-by: David Gibson
Message-Id: <20220117091541.1615807-1-...@kaod.org>
Signed-off-by: Cédric Le Goater
---
Changes in v2:
- Removal of the 403 protection registers
target/pp
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 needed
for the code in the function pointed to by load_sta
This breaks migration compatibility from (very) old versions of
QEMU. This should not be a problem for the pseries machine for which
migration is only supported on recent QEMUs ( > 2.x). There is no
clear status on what is supported or not for the other machines. Let's
move forward and remove the .
On Tue, Jan 18, 2022 at 11:41:49AM +0100, Cédric le Goater wrote:
> This breaks migration compatibility from (very) old versions of
> QEMU. This should not be a problem for the pseries machine for which
> migration is only supported on recent QEMUs ( > 2.x). There is no
> clear status on what is su
On Mon, 17 Jan 2022 at 23:09, John Snow wrote:
> Well, today I learned that:
>
> (1) vm-build-XXX targets use your host system's QEMU to run that VM
> (2) my QMP library cannot talk to QEMU 2.11.
Whoops, I hadn't realised I was running with that ancient a QEMU.
For the scripted runs I set the PAT
18.01.2022 11:38, Markus Armbruster wrote:
Vladimir Sementsov-Ogievskiy writes:
We are going to generate trace events for qmp commands. We should
generate both trace events and trace-events.
What do you mean to say with the second sentence? "trace events" == the
calls of generated trace_FOO
On Tue, Jan 18, 2022 at 2:40 PM Weiwei Li wrote:
>
>
> 在 2022/1/18 上午11:35, Anup Patel 写道:
> > On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
> >> - add PTE_PBMT bits: It uses two PTE bits, but otherwise has no effect on
> >> QEMU, since QEMU is sequentially consistent and doesn't model PMAs
On 18/01/2022 07:41, Cédric Le Goater wrote:
This breaks migration compatibility from (very) old versions of
QEMU. This should not be a problem for the pseries machine for which
migration is only supported on recent QEMUs ( > 2.x). There is no
clear status on what is supported or not for the othe
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_v2 branch at:
https://github.com/avpatel/qemu.
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
---
hw/riscv/spike.c| 4 ++--
include/hw/riscv/boot.h | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/riscv/spike.c b/hw/riscv/sp
On Tue, Jan 18, 2022 at 4:51 PM Anup Patel wrote:
>
> On Tue, Jan 18, 2022 at 2:16 PM Guo Ren wrote:
> >
> > On Tue, Jan 18, 2022 at 11:32 AM Anup Patel wrote:
> > >
> > > On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
> > > >
> > > > From: Guo Ren
> > > >
> > > > Highest bits of PTE has bee
在 2022/1/18 下午7:04, Anup Patel 写道:
On Tue, Jan 18, 2022 at 2:40 PM Weiwei Li wrote:
在 2022/1/18 上午11:35, Anup Patel 写道:
On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
- add PTE_PBMT bits: It uses two PTE bits, but otherwise has no effect on QEMU,
since QEMU is sequentially consistent a
Most important update is smbios3 support being added, this update should
help getting the qemu side of things (flip to smbios3 by default for new
machine types) merged and tested.
Not fully clear yet when the next 1.16 seabios version will be released,
but it should be no later than end of Februar
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
On Tue, Jan 18, 2022 at 4:45 PM Guo Ren wrote:
>
> On Tue, Jan 18, 2022 at 4:51 PM Anup Patel wrote:
> >
> > On Tue, Jan 18, 2022 at 2:16 PM Guo Ren wrote:
> > >
> > > On Tue, Jan 18, 2022 at 11:32 AM Anup Patel wrote:
> > > >
> > > > On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
> > > > >
On Tue, 18 Jan 2022 at 11:18, Matheus K. Ferst
wrote:
>
> On 18/01/2022 07:41, Cédric Le Goater wrote:
> > This breaks migration compatibility from (very) old versions of
> > QEMU. This should not be a problem for the pseries machine for which
> > migration is only supported on recent QEMUs ( > 2.
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 at:
git://git.kraxel.org/qemu tags/seabios-202
Le 16/01/2022 à 12:46, Bernhard Beschow a écrit :
fdt_open_into() obligingly returns an error code in case the operation
failed. So be obliging as well and use it in the error message.
Signed-off-by: Bernhard Beschow
---
softmmu/device_tree.c | 6 --
1 file changed, 4 insertions(+), 2 de
On Tue, 18 Jan 2022 at 10:44, Peter Maydell 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
On Tue, Jan 18, 2022 at 4:45 PM Guo Ren wrote:
>
> On Tue, Jan 18, 2022 at 4:51 PM Anup Patel wrote:
> >
> > On Tue, Jan 18, 2022 at 2:16 PM Guo Ren wrote:
> > >
> > > On Tue, Jan 18, 2022 at 11:32 AM Anup Patel wrote:
> > > >
> > > > On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
> > > > >
Le 14/01/2022 à 16:37, Peter Maydell a écrit :
In commit c599d4d6d6e9bfdb64 in 2016 we renamed the old force_sig()
function to dump_core_and_abort(), but we forgot to rename the
associated tracepoint. Rename the tracepoint to to match the
function it's called from.
Signed-off-by: Peter Maydell
在 2022/1/18 下午7:15, Guo Ren 写道:
On Tue, Jan 18, 2022 at 4:51 PM Anup Patel wrote:
On Tue, Jan 18, 2022 at 2:16 PM Guo Ren wrote:
On Tue, Jan 18, 2022 at 11:32 AM Anup Patel wrote:
On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
From: Guo Ren
Highest bits of PTE has been used for svpb
Le 16/01/2022 à 21:44, Warner Losh a écrit :
It's been unused for 7 years since 907f5fddaa67 when linux-user stopped
queueing any signals.
Signed-off-by: Warner Losh
---
linux-user/qemu.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 5c713fa
Le 14/01/2022 à 19:25, Peter Maydell a écrit :
Fix a typo in a comment in the arm cpu_loop code.
Signed-off-by: Peter Maydell
---
linux-user/arm/cpu_loop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-user/arm/cpu_loop.c b/linux-user/arm/cpu_loop.c
index f153
Le 14/01/2022 à 16:37, Peter Maydell a écrit :
The linux-user queue_signal() function always returns 1, and none of
its callers check the return value. Give it a void return type
instead.
The return value is a leftover from the old pre-2016 linux-user
signal handling code, which really did have
On 13/01/2022 17.55, Alex Bennée wrote:
A recent change to fix commpage allocation issues on 32bit hosts
revealed another intermittent issue on s390x. The root cause was the
headroom we give for the brk space wasn't enough causing the guest to
attempt to map something on top of QEMUs own pages. W
On Tue, Jan 18, 2022 at 12:56 PM Alistair Francis wrote:
>
> On Tue, Jan 18, 2022 at 1:31 PM Anup Patel wrote:
> >
> > On Tue, Jan 18, 2022 at 6:47 AM Weiwei Li wrote:
> > >
> > > From: Guo Ren
> > >
> > > Highest bits of PTE has been used for svpbmt, ref: [1], [2], so we
> > > need to ignore t
On Tue, Jan 18, 2022 at 7:28 PM Anup Patel wrote:
>
> On Tue, Jan 18, 2022 at 4:45 PM Guo Ren wrote:
> >
> > On Tue, Jan 18, 2022 at 4:51 PM Anup Patel wrote:
> > >
> > > On Tue, Jan 18, 2022 at 2:16 PM Guo Ren wrote:
> > > >
> > > > On Tue, Jan 18, 2022 at 11:32 AM Anup Patel wrote:
> > > > >
18.01.2022 13:27, Markus Armbruster wrote:
Vladimir Sementsov-Ogievskiy writes:
Add and option to generate trace events. We should generate both trace
events and trace-events files for further trace events code generation.
Can you explain why we want trace generation to be optional?
Becaus
On 1/17/22 15:47, Fabiano Rosas wrote:
These tests ensure that our emulation for these cpus is not completely
broken and we can at least run OpenBIOS on them.
$ make check-avocado AVOCADO_TESTS=../tests/avocado/ppc_74xx.py
Signed-off-by: Fabiano Rosas
Reviewed-by: Willian Rampazzo
Applied
On 1/17/22 10:25, Cédric Le Goater wrote:
The 7448 CPU is an evolution of the PowerPC 7447A and the last of the
G4 family. Change its family to reflect correctly its features. This
fixes Linux boot.
Cc: Fabiano Rosas
Signed-off-by: Cédric Le Goater
---
target/ppc/cpu-models.c | 8
On 1/18/22 11:41, Cédric Le Goater wrote:
Hello,
This is a follow up of "target/ppc: Finish removal of 401/403 CPUs".
To "finish" the removal, we need to get rid of the 403 protection
registers under CPUPPCState. This is done after having removed the
last user of .load_state_old. This change br
From: Peter Xu
We should only call the log_global_start/stop when the global dirty track
bitmask changes from zero<->non-zero.
No real issue reported for this yet probably because no immediate user to
enable both dirty rate measurement and migration at the same time. However
it'll be good to be
Since commit 2cdfcf272d ("memory: assign MemoryRegionOps to all
regions"), all newly created regions are assigned with
unassigned_mem_ops (which might be then overwritten).
When using aliased container regions, and there is no region mapped
at address 0 in the container, the memory_region_dispatch
On 1/17/22 13:27, Cédric Le Goater wrote:
Hello,
These are the last little tweaks on PHB4 to prepare ground for PHB5.
Thanks,
C.
Cédric Le Goater (3):
ppc/pnv: Move root port allocation under pnv_pec_default_phb_realize()
ppc/pnv: Add a 'rp_model' class attribute for the PHB4 PEC
ppc
From: David Hildenbrand
memory_region_is_mapped() is the wrong check, we actually want to check
whether the backend is already marked mapped.
For example, memory regions mapped via an alias, such as NVDIMMs,
currently don't make memory_region_is_mapped() return "true". As the
machine is initiali
From: Philippe Mathieu-Daudé
Various APIs use 'pval' naming for 'pointer to val'.
rdma_pci_dma_map() uses 'plen' for 'PCI length', but since
'PCI' is already explicit in the function name, simplify
and rename the argument 'len'. No logical change.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-
memory-api-20220118
for you to fetch changes up to 9d696cd50442327fd71ec7309e7b0c6fee693b1d:
docs/devel: add some clarifying text for aliases (2022-01-18 12:56:29 +0100)
Memory API patches
- Directly dispatch MemoryRegion alias accesse
From: Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Michael S. Tsirkin
Reviewed-by: Richard Henderson
Message-Id: <2022084309.28637-5-f4...@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé
---
include/hw/pci/pci.h | 12
1 file changed, 12 insertio
On 1/17/22 20:19, lagar...@linux.ibm.com wrote:
From: Leonardo Garcia
Leonardo Garcia (3):
rSTify ppc-spapr-uv-hcalls.txt.
Rename ppc-spapr-uv-hcalls.txt to ppc-spapr-uv-hcalls.rst.
Link new ppc-spapr-uv-hcalls.rst to pseries.rst.
docs/specs/ppc-spapr-uv-hcalls.rst | 89
In the next commit we will use the dma_addr_t type in the QEMUSGList
structure. Since currently dma_addr_t is defined after QEMUSGList,
move the declarations to have dma_addr_t defined first. This is a
pure code-movement patch.
Suggested-by: David Hildenbrand
Signed-off-by: Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé
Neither tools nor user-mode emulation require the PCI bus stub.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Michael S. Tsirkin
Reviewed-by: Richard Henderson
Reviewed-by: David Hildenbrand
Message-Id: <2022084309.28637-4-f4...@amsat.org>
Signed-off-by:
From: David Hildenbrand
memory_region_is_mapped() currently does not return "true" when a memory
region is mapped via an alias.
Assuming we have:
alias (A0) -> alias (A1) -> region (R0)
Mapping A0 would currently only make memory_region_is_mapped() succeed
on A0, but not on A1 and R0.
Let's
From: Philippe Mathieu-Daudé
Per Peter Maydell [*]:
'info mtree' monitor command was designed on the assumption that
there's really only one or two interesting address spaces, and
with more recent developments that's just not the case any more.
Similarly about how the FlatView are sorted
From: Philippe Mathieu-Daudé
While mtree_info() handles both ASes and flatviews cases,
the two cases share basically no code. Split mtree_info()
as mtree_info_flatview() + mtree_info_as() to simplify.
Suggested-by: Peter Maydell
Reviewed-by: David Hildenbrand
Reviewed-by: Peter Xu
Reviewed-by
On 1/12/22 14:52, lagar...@linux.ibm.com wrote:
From: Leonardo Garcia
This patch series depend on previously sent patch "docs: Clarification
and formatting changes in ppc docs." which is already included in latest
pull request from Cédric.
It is important to notice that I focused mainly in the
On Mon, 17 Jan 2022 at 20:35, John Snow wrote:
> I do expect this to print more information on failure than it
> currently is, though (bug somewhere in machine.py, I think).
> Can you please try applying this temporary patch and running `./check
> -qcow2 040 041` until you see a breakage and show
From: David Hildenbrand
Let's update the documentation, making it clearer what the semantics
of memory_region_is_mapped() actually are.
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Peter Xu
Signed-off-by: David Hildenbrand
Message-Id: <20211102164317.45658-4-da...@redhat.com>
Signed-off-b
On 1/18/22 11:30, Markus Armbruster wrote:
+# Please keep ordering between 'qapi' and 'trace' subdirs:
+# We should first handle 'qapi' subdir, so that all
+# generated trace events be generated prior handling 'trace'
+# subdir.
I naively expect explicit dependencies to be used for ordering, but
fw_cfg_arch_key_name() stub is only required for sysemu.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: David Hildenbrand
Message-Id: <2022084309.28637-2-f4...@amsat.org>
---
stubs/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stubs/meson.build b/stubs/
On 1/14/22 19:07, Daniel Henrique Barboza wrote:
Hi,
This second version contains improvements suggested by Cedric in the
v1 review.
Patches 1-10 from v1 are already accepted and aren't included in this
v2.
Changes from v1:
- v1 patches 1-10: already accepted, not included in the v2
- 'stack-
From: Philippe Mathieu-Daudé
fw_cfg QOM interface is required by system emulation and
qemu-storage-daemon. User-mode emulation doesn't need it.
Signed-off-by: Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: David Hildenbrand
Message-Id: <2022084309.28637-3-f4...@
From: Alex Bennée
We do mention the limitation of single parenthood for
memory_region_add_subregion but lets also make it clear how aliases
help solve that conundrum.
Signed-off-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220110175104.2908956-7-alex.ben...@linaro.org>
Si
From: Philippe Mathieu-Daudé
This code is easier to review using the load/store API.
Reviewed-by: Richard Henderson
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <20211218111912.1499377-1-phi...@redhat.com>
Signed-off-by: Laurent Vivier
---
hw/scsi/megasas.c | 17 +++--
1 fil
From: Philippe Mathieu-Daudé
Since commit 292e13142d2, dma_buf_rw() returns a MemTxResult type.
Do not discard it, return it to the caller. Pass the previously
returned value (the QEMUSGList residual size, which was rarely used)
as an optional argument.
With this new API, SCSIRequest::residual m
From: Philippe Mathieu-Daudé
The 'resid' field is slightly confusing and could be
interpreted as some ID. Rename it as 'residual' which
is clearer to review. No logical change.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
Reviewed-by: David Hildenbrand
Message-Id: <202
Reviewed-by: Richard Henderson
Reviewed-by: David Hildenbrand
Signed-off-by: Philippe Mathieu-Daudé
Message-Id: <2022084309.28637-10-f4...@amsat.org>
---
hw/ide/ahci.c| 2 +-
hw/rdma/trace-events | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ide/ahci.c b/
From: Philippe Mathieu-Daudé
Add the vmstate for the ETRAX timers.
This is in theory a migration compatibility break
for the 'AXIS devboard 88' CRIS machine.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
Message-Id: <20211106105623.510868-1-f4...@amsat.org>
Signed-off-by
From: Philippe Mathieu-Daudé
Update the obvious places where dma_addr_t should be used
(instead of uint64_t, hwaddr, size_t, int32_t types).
This allows to have &dma_addr_t type portable on 32/64-bit
hosts.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: David Hildenbrand
Signed-off-by: Ph
From: Philippe Mathieu-Daudé
DMA API should not be included in user-mode emulation.
If so, build should fail. Remove the CONFIG_USER_ONLY check.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
Reviewed-by: David Hildenbrand
Message-Id: <2022084309.28637-6-f4...@amsat.
From: Peter Maydell
In commit c599d4d6d6e9bfdb64 in 2016 we renamed the old force_sig()
function to dump_core_and_abort(), but we forgot to rename the
associated tracepoint. Rename the tracepoint to to match the
function it's called from.
Signed-off-by: Peter Maydell
Reviewed-by: Philippe Math
On 1/13/22 18:23, Peter Maydell wrote:
On Thu, 13 Jan 2022 at 17:13, Paolo Bonzini wrote:
On 1/12/22 14:56, Peter Maydell wrote:
Those are UEFI firmware images which are suitable for using with
the arm/aarch64 "virt" board. They're only used if the user specifically
asks to use them on the co
On 1/17/22 16:17, Mark Kanda wrote:
I agree except that I think this and StatsResults should be unions,
even if it means running multiple query-stats commands.
IIUC, making StatsResults a union implies the filter is a required
argument (currently it is optional - omitting it dumps all VM an
1 - 100 of 335 matches
Mail list logo