On 26/2/24 01:02, Sergey Kambalin wrote:
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_peripherals.c | 6 ++
include/hw/arm/bcm2838_peripherals.h | 1 +
2 files changed, 7 insertions(+)
Reviewed-by: Philippe Mathieu-Daudé
On 26/2/24 14:39, Peter Maydell wrote:
On Mon, 26 Feb 2024 at 13:35, Philippe Mathieu-Daudé wrote:
On 26/2/24 01:02, Sergey Kambalin wrote:
+static void raspi4_modify_dtb(const struct arm_boot_info *info, void *fdt)
+{
+uint64_t ram_size;
+
+/* Temporarily disable following devices un
On Fri, 23 Feb 2024 16:56:51 +0800
Zhao Liu wrote:
> From: Zhao Liu
>
> As the comment in qapi/error, dereferencing @errp requires
> ERRP_GUARD():
>
> * = Why, when and how to use ERRP_GUARD() =
> *
> * Without ERRP_GUARD(), use of the @errp parameter is restricted:
> * - It must not be derefe
On Fri, 23 Feb 2024 16:56:47 +0800
Zhao Liu wrote:
> From: Zhao Liu
>
> As the comment in qapi/error, dereferencing @errp requires
> ERRP_GUARD():
>
> * = Why, when and how to use ERRP_GUARD() =
> *
> * Without ERRP_GUARD(), use of the @errp parameter is restricted:
> * - It must not be derefe
On Fri, 23 Feb 2024 16:56:49 +0800
Zhao Liu wrote:
> From: Zhao Liu
>
> As the comment in qapi/error, dereferencing @errp requires
> ERRP_GUARD():
>
> * = Why, when and how to use ERRP_GUARD() =
> *
> * Without ERRP_GUARD(), use of the @errp parameter is restricted:
> * - It must not be derefe
On Mon, 26 Feb 2024 at 00:08, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> hw/arm/bcm2838_peripherals.c | 6 ++
> include/hw/arm/bcm2838_peripherals.h | 1 +
> 2 files changed, 7 insertions(+)
Reviewed-by: Peter Maydell
thanks
-- PMM
On Mon, 26 Feb 2024 at 00:07, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> tests/qtest/bcm2838-mailbox.c | 60 +++
> tests/qtest/bcm2838-mailbox.h | 37 +
> tests/qtest/meson.build | 1 +
> 3 files changed, 98 insert
On Mon, 26 Feb 2024 at 00:10, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> tests/qtest/bcm2838-mailbox.c | 1 +
> tests/qtest/bcm2838-mailbox.h | 88 +++
> 2 files changed, 89 insertions(+)
Reviewed-by: Peter Maydell
thanks
-- PMM
On Mon, 26 Feb 2024 at 00:08, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> tests/qtest/bcm2838-mailbox.h | 177 ++
> 1 file changed, 177 insertions(+)
>
Reviewed-by: Peter Maydell
thanks
-- PMM
On Mon, 26 Feb 2024 at 00:05, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> tests/qtest/bcm2838-mailbox.h | 152 ++
> 1 file changed, 152 insertions(+)
Reviewed-by: Peter Maydell
thanks
-- PMM
On Mon, 26 Feb 2024 at 00:08, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> tests/qtest/bcm2838-mailbox.h | 78 +++
> 1 file changed, 78 insertions(+)
>
Reviewed-by: Peter Maydell
thanks
-- PMM
On Mon, 26 Feb 2024 at 00:06, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> tests/qtest/bcm2838-mailbox.c| 1 -
> tests/qtest/bcm2838-mbox-property-test.c | 207 +++
> tests/qtest/meson.build | 2 +-
> 3 files changed, 208
On Mon, 26 Feb 2024 at 00:07, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> tests/qtest/bcm2838-mbox-property-test.c | 213 ++-
> 1 file changed, 212 insertions(+), 1 deletion(-);
Reviewed-by: Peter Maydell
thanks
-- PMM
On Mon, 26 Feb 2024 at 00:07, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> tests/qtest/bcm2838-mbox-property-test.c | 196 ++-
> 1 file changed, 195 insertions(+), 1 deletion(-)
Reviewed-by: Peter Maydell
thanks
-- PMM
On Mon, 26 Feb 2024 at 00:09, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> hw/misc/bcm2835_property.c | 21 +
> include/hw/arm/raspberrypi-fw-defs.h | 11 +++
> 2 files changed, 32 insertions(+)
Reviewed-by: Peter Maydell
thanks
-- PM
26.02.2024 18:43, Michael Tokarev wrote:
The reason is most likely the argv/argc handling (lack of optind reset).
In the later change it is fixed but at that stage it's broken.
Nope. GNU getopt_long really needs resetting the state.
Or else it keeps return_in_order/permute/etc setting from
the
On Mon, 26 Feb 2024 at 00:06, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> tests/qtest/bcm2838-mbox-property-test.c | 19 +++
> 1 file changed, 19 insertions(+)
Reviewed-by: Peter Maydell
thanks
-- PMM
Hi Sergey,
On 26/2/24 01:02, Sergey Kambalin wrote:
Signed-off-by: Sergey Kambalin
---
hw/arm/bcm2838_pcie.c | 217 +-
hw/arm/trace-events | 4 +
include/hw/arm/bcm2838_pcie.h | 22
3 files changed, 241 insertions(+), 2 deletions(-)
On Fri, 23 Feb 2024 12:42:23 +
wrote:
> From: Ankit Agrawal
>
> ACPI spec provides a scheme to associate "Generic Initiators" [1]
> (e.g. heterogeneous processors and accelerators, GPUs, and I/O devices with
> integrated compute or DMA engines GPUs) with Proximity Domains. This is
> achieve
22.02.2024 00:15, Michael Tokarev :
Currently we have:
./qemu-img resize none +10
qemu-img: Could not open 'none': Could not open 'none': No such file or
directory
This one needs expected-output tweaks for tests.
/mjt
In order to correctly print executable name in various
error messages, pass argv[0] to error_exit() function.
This way, error messages will refer to actual executable
name, which may be different from 'qemu-img'.
For subcommands, pass original command name from the
qemu-img argv[0], plus the subco
On Mon, 26 Feb 2024 at 00:05, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> ---
> tests/avocado/boot_linux_console.py | 92 +
> 1 file changed, 92 insertions(+)
I think it would be good to get the base rpi4b support upstream
now (all those parts are rev
On Sat, 17 Feb 2024 at 08:21, Manos Pitsidianakis
wrote:
>
> configure --help currently outputs the following line for the tools
> option:
>
> -->8---
> ░░tcg░TCG░support░░
> tools
On Mon, 26 Feb 2024 at 16:06, Philippe Mathieu-Daudé wrote:
>
> On 26/2/24 14:39, Peter Maydell wrote:
> > On Mon, 26 Feb 2024 at 13:35, Philippe Mathieu-Daudé
> > wrote:
> >>
> >> On 26/2/24 01:02, Sergey Kambalin wrote:
> >>> +static void raspi4_modify_dtb(const struct arm_boot_info *info, voi
On Fri, 23 Feb 2024 12:42:23 +
wrote:
> From: Ankit Agrawal
>
> ACPI spec provides a scheme to associate "Generic Initiators" [1]
> (e.g. heterogeneous processors and accelerators, GPUs, and I/O devices with
> integrated compute or DMA engines GPUs) with Proximity Domains. This is
> achieve
On Mon, 26 Feb 2024 at 00:03, Sergey Kambalin wrote:
>
> Signed-off-by: Sergey Kambalin
> Reviewed-by: Peter Maydell
> ---
> docs/system/arm/raspi.rst | 11 +++
> 1 file changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/docs/system/arm/raspi.rst b/docs/system/arm/raspi.rst
> ind
On Mon, 26 Feb 2024 at 16:42, Peter Maydell wrote:
>
> On Mon, 26 Feb 2024 at 00:03, Sergey Kambalin wrote:
> >
> > Signed-off-by: Sergey Kambalin
> > Reviewed-by: Peter Maydell
> > ---
> > docs/system/arm/raspi.rst | 11 +++
> > 1 file changed, 7 insertions(+), 4 deletions(-)
> >
> >
On 2/25/2024 9:40 PM, Peter Xu wrote:
> On Fri, Feb 23, 2024 at 09:13:24AM -0800, Steve Sistare wrote:
>> A small number of migration options are accessed by migration clients,
>> but to see them clients must include all of options.h, which is mostly
>> for migration core code. migrate_mode() in p
Hi,
This is an experimental series to reduce calls to the
cpu_interrupt() API from generic HW/. I'm trying to use
the ICH9 chipset from a non-x86 machine. Without this
experiment, we can not because cpu_interrupt() is target
specific. Here the interrupt is decoupled using the QDev
GPIO API. Even i
We use virtual SMI lines for the virtualized q35 machine
(see commit 5ce45c7a2b "hw/isa/lpc_ich9: add broadcast
SMI feature").
Expose them as QDev GPIO at the machine level. Wire them
to the ICH9 chipset. This allows removing a pair of calls
to cpu_interrupt() from the ICH9 model and make it targe
Use the CPU "SMI" IRQ, removing a call to cpu_interrupt()
from hw/. Keep a reference to the IRQ in the TCOIORegs
structure, which while being names with the Regs suffix
doesn't contain only registers. Remove ich9_generate_smi().
Signed-off-by: Philippe Mathieu-Daudé
---
I suppose ideally ICH9 TCO
ich9_lpc.c doesn't contain any target-specific calls,
lets build it once.
Signed-off-by: Philippe Mathieu-Daudé
---
hw/isa/meson.build | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/hw/isa/meson.build b/hw/isa/meson.build
index 3b5504f78d..df58287d62 100644
--- a/hw/isa/me
Use the CPU "SMI" IRQ, removing a call to cpu_interrupt()
from hw/.
Signed-off-by: Philippe Mathieu-Daudé
---
include/hw/i386/pc.h | 2 --
hw/i386/pc.c | 9 -
hw/i386/pc_piix.c| 4 ++--
3 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/include/hw/i386/pc.h b/inc
In order to remove calls to cpu_interrupt() from hw/ code,
expose the SMI# interrupt via QDev as named GPIO.
Signed-off-by: Philippe Mathieu-Daudé
---
target/i386/cpu-internal.h | 1 +
target/i386/cpu-sysemu.c | 11 +++
target/i386/cpu.c | 2 ++
3 files changed, 14 insertion
On 26/2/24 17:43, Peter Maydell wrote:
On Mon, 26 Feb 2024 at 16:42, Peter Maydell wrote:
On Mon, 26 Feb 2024 at 00:03, Sergey Kambalin wrote:
Signed-off-by: Sergey Kambalin
Reviewed-by: Peter Maydell
---
docs/system/arm/raspi.rst | 11 +++
1 file changed, 7 insertions(+), 4 de
On Mon, 26 Feb 2024 at 16:52, Philippe Mathieu-Daudé wrote:
>
> On 26/2/24 17:43, Peter Maydell wrote:
> > On Mon, 26 Feb 2024 at 16:42, Peter Maydell
> > wrote:
> >>
> >> On Mon, 26 Feb 2024 at 00:03, Sergey Kambalin wrote:
> >>>
> >>> Signed-off-by: Sergey Kambalin
> >>> Reviewed-by: Peter M
There's no need to check for the existence of "/sbin/hwclock", the
exec() call will do that for us.
Signed-off-by: Andrey Drobyshev
---
qga/commands-posix.c | 43 +++
1 file changed, 3 insertions(+), 40 deletions(-)
diff --git a/qga/commands-posix.c b/qga
From: Akihiko Odaki
These members will be used to help plugins to identify registers.
The added members in instances of GDBFeature dynamically generated by
CPUs will be filled in later changes.
Signed-off-by: Akihiko Odaki
Message-Id: <20240103173349.398526-36-alex.ben...@linaro.org>
Message-Id
There's no need to check for the existence of the hook executable, as the
exec() call will do that for us.
Signed-off-by: Andrey Drobyshev
---
qga/commands-posix.c | 35 +++
1 file changed, 3 insertions(+), 32 deletions(-)
diff --git a/qga/commands-posix.c b/qga/
This series simply replaces repeating fork()/exec() pattern with a
separate helper to avoid code duplication. It's easier to setup and use
than g_spawn_async_with_pipes() (which we'd need since some commands require
input). While here, also make qmp_guest_get_fsinfo return more
straightforward va
We replace the direct call to open() with a "sh -c 'echo ...'" call, so
that it becomes an executable command.
Signed-off-by: Andrey Drobyshev
---
qga/commands-posix.c | 36
1 file changed, 4 insertions(+), 32 deletions(-)
diff --git a/qga/commands-posix.c b
When executing guest commands in *nix environment, we repeat the same
fork/exec pattern multiple times. Let's just separate it into a single
helper which would also be able to feed input data into the launched
process' stdin. This way we can avoid code duplication.
To keep the history more bisec
The test patch is a simple house keeping one to clean up some
inadvertent GPLv3 tagging to GPLv2-or-later. I've also increased the
timeout for check-tcg due to TCI timesouts.
The main bulk of this series is register reading support for TCG
plugins. The main change to the API is that the get/read_r
From: Pierrick Bouvier
We found that vcpu_init_hook was called *after* idle callback.
vcpu_init is called from cpu_realize_fn, while idle/resume cb are called
from qemu_wait_io_event (in vcpu thread).
This change ensures we only call idle and resume cb only once a plugin
was init for a given vcp
From: Akihiko Odaki
In preparation for a change to use GDBFeature as a parameter of
gdb_register_coprocessor(), convert the internal representation of
dynamic feature from plain XML to GDBFeature.
Signed-off-by: Akihiko Odaki
Acked-by: Richard Henderson
Message-Id: <20240103173349.398526-27-al
On Sat, 24 Feb 2024 at 12:43, Akihiko Odaki wrote:
>
> Currently [-QemuCocoaView handleEventLocked:] parses the passed event,
> stores operations to be done to variables, and perform them according
> to the variables. This construct will be cluttered with variables and
> hard to read when we need
My default header template is GPLv3 but for QEMU code we really should
stick to GPLv2-or-later (allowing others to up-license it if they
wish). While this is test code we should still be consistent on the
source distribution.
I wrote all of this code so its not a problem. However there remains
one
From: Pierrick Bouvier
We now keep track of how many vcpus were started. This way, a plugin can
easily query number of any vcpus at any point of execution, which
unifies user and system mode workflows.
Signed-off-by: Pierrick Bouvier
Reviewed-by: Richard Henderson
Message-Id: <20240213094009.1
Also remove the G_GNUC_UNUSED attribute added in the previous commit from
the helper.
Signed-off-by: Andrey Drobyshev
---
qga/commands-posix.c | 39 ++-
1 file changed, 6 insertions(+), 33 deletions(-)
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
While we attempt to hide implementation details from the plugin we
shouldn't be totally obtuse. Let the user know what they can and can't
expect with the various instrumentation options.
Message-Id: <20240103173349.398526-44-alex.ben...@linaro.org>
Reviewed-by: Pierrick Bouvier
Signed-off-by: Ale
Since the commit 25b5ff1a86 ("qga: add mountpoint usage info to
GuestFilesystemInfo") we have 2 values reported in guest-get-fsinfo:
used = (f_blocks - f_bfree), total = (f_blocks - f_bfree + f_bavail).
These calculations might be obscure for the end user and require one to
actually get into QGA so
From: Pierrick Bouvier
When scoreboards need to be reallocated.
Signed-off-by: Pierrick Bouvier
Reviewed-by: Richard Henderson
Message-Id: <20240213094009.150349-8-pierrick.bouv...@linaro.org>
Signed-off-by: Alex Bennée
---
docs/devel/multi-thread-tcg.rst | 1 +
1 file changed, 1 insertion(+
From: Pierrick Bouvier
This information is already accessible using qemu_info_t during plugin
install.
We will introduce another function (qemu_plugin_num_vcpus) which
represent how many cpus were enabled, by tracking new cpu indexes.
It's a breaking change, so we bump API version.
Signed-off-
While async processes are rare for linux-user we do use them from time
to time. The most obvious one is tb_flush when we run out of
translation space. We will also need this when we move plugin
vcpu_init to an async task.
Fix nios2 to follow its older, wiser and more stable siblings.
Signed-off-b
From: Akihiko Odaki
This is a tree-wide change to introduce GDBFeature parameter to
gdb_register_coprocessor(). The new parameter just replaces num_regs
and xml parameters for now. GDBFeature will be utilized to simplify XML
lookup in a following change.
Signed-off-by: Akihiko Odaki
Acked-by: A
From: Akihiko Odaki
This function is no longer used.
Signed-off-by: Akihiko Odaki
Reviewed-by: Alex Bennée
Message-Id: <20240103173349.398526-35-alex.ben...@linaro.org>
Message-Id: <20231213-gdb-v17-9-777047380...@daynix.com>
Signed-off-by: Alex Bennée
---
include/hw/core/cpu.h | 4
ta
There's no need to check for the existence of the "chpasswd", "pw"
executables, as the exec() call will do that for us.
Signed-off-by: Andrey Drobyshev
---
qga/commands-posix.c | 96 ++--
1 file changed, 13 insertions(+), 83 deletions(-)
diff --git a/qga/
From: Akihiko Odaki
Simplify GDBRegisterState by replacing num_regs and xml members with
one member that points to GDBFeature.
Signed-off-by: Akihiko Odaki
Reviewed-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20240103173349.398526-31-alex.ben...@linaro.org>
Message-Id: <2
On Sat, 24 Feb 2024 at 12:43, Akihiko Odaki wrote:
>
> Instead of using mouse_event variable to tell to handle a mouse event
> later, immediately call [-QemuCocoaView handleMouseEvent:buttons:].
>
> Signed-off-by: Akihiko Odaki
Reviewed-by: Peter Maydell
thanks
-- PMM
Expose an internal API to QEMU to return all the registers for a vCPU.
The list containing the details required to called gdb_read_register().
Based-on: <20231025093128.33116-15-akihiko.od...@daynix.com>
Cc: Akihiko Odaki
Message-Id: <20240103173349.398526-38-alex.ben...@linaro.org>
Signed-off-by
From: Akihiko Odaki
Align the parameters of gdb_get_reg_cb and gdb_set_reg_cb with the
gdb_read_register and gdb_write_register members of CPUClass to allow
to unify the logic to access registers of the core and coprocessors
in the future.
Signed-off-by: Akihiko Odaki
Reviewed-by: Alex Bennée
From: Akihiko Odaki
In preparation for a change to use GDBFeature as a parameter of
gdb_register_coprocessor(), convert the internal representation of
dynamic feature from plain XML to GDBFeature.
Signed-off-by: Akihiko Odaki
Message-Id: <20240103173349.398526-29-alex.ben...@linaro.org>
Message
On Sat, 24 Feb 2024 at 12:44, Akihiko Odaki wrote:
>
> QemuCocoaView used to have fullScreenWindow but now it's gone, so we
> do no longer have to call the window specifically "normalWindow".
> Instead, refer to it with [-QemuCocoaView window].
>
> Signed-off-by: Akihiko Odaki
> ---
> ui/cocoa.m
On Sat, 24 Feb 2024 at 12:43, Akihiko Odaki wrote:
>
> A subview is positioned in the superview so the superview's frame
> should be used instead of one of the window to determine the
> coordinates.
>
> Signed-off-by: Akihiko Odaki
Reviewed-by: Peter Maydell
thanks
-- PMM
From: Akihiko Odaki
In preparation for a change to use GDBFeature as a parameter of
gdb_register_coprocessor(), convert the internal representation of
dynamic feature from plain XML to GDBFeature.
Signed-off-by: Akihiko Odaki
Reviewed-by: Richard Henderson
Message-Id: <20240103173349.398526-28
On Sat, 24 Feb 2024 at 12:44, Akihiko Odaki wrote:
>
> Evaluate [normalWindow styleMask] & NSWindowStyleMaskResizable instead.
>
> Signed-off-by: Akihiko Odaki
> --
Reviewed-by: Peter Maydell
thanks
-- PMM
We can't directly save the ephemeral imatch from argv as that memory
will get recycled.
Message-Id: <20240103173349.398526-40-alex.ben...@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
---
contrib/plugins/execlog.c | 2 +-
1 file
From: Pierrick Bouvier
This ensures we run during a cpu_exec, which allows to call start/end
exclusive from this init hook (needed for new scoreboard API introduced
later).
async work is run before any tb is translated/executed, so we can
guarantee plugin init will be called before any other hoo
From: Akihiko Odaki
Now we know all instances of GDBFeature that is used in CPU so we can
traverse them to find XML. This removes the need for a CPU-specific
lookup function for dynamic XMLs.
Signed-off-by: Akihiko Odaki
Reviewed-by: Alex Bennée
Message-Id: <20240103173349.398526-33-alex.ben..
On Sat, 24 Feb 2024 at 12:43, Akihiko Odaki wrote:
>
> ui/cocoa used to release all mouse buttons when it sees
> NSEventTypeLeftMouseUp, NSEventTypeRightMouseUp, or
> NSEventTypeOtherMouseUp, but it can instead release specific one
> according to the delivered event.
>
> Signed-off-by: Akihiko Oda
From: Akihiko Odaki
This avoids optimizations incompatible when reading registers.
Signed-off-by: Akihiko Odaki
Reviewed-by: Pierrick Bouvier
Message-Id: <20240103173349.398526-37-alex.ben...@linaro.org>
Message-Id: <20231213-gdb-v17-12-777047380...@daynix.com>
Signed-off-by: Alex Bennée
Revi
As we expand the per-vCPU data for plugins we don't want to pollute
CPUState. For now this just moves the plugin_mask (renamed to
event_mask) as the memory callbacks are accessed directly by TCG
generated code.
Message-Id: <20240223162202.1936541-21-alex.ben...@linaro.org>
Reviewed-by: Pierrick Bo
From: Akihiko Odaki
GDBFeature has the num_regs member so use it where applicable to
remove magic numbers.
Signed-off-by: Akihiko Odaki
Message-Id: <20240103173349.398526-34-alex.ben...@linaro.org>
Message-Id: <20231213-gdb-v17-8-777047380...@daynix.com>
[AJB: remove core reg check from microbl
This is less than ideal but easier than making sure we get all the
iterations of the memory test. Update the comment accordingly.
Message-Id: <20240223162202.1936541-3-alex.ben...@linaro.org>
Signed-off-by: Alex Bennée
Reviewed-by: Thomas Huth
---
tests/tcg/Makefile.target | 9 +++--
1 file
This ensure we at least read every register the plugin API reports at
least once during the check-tcg checks.
Signed-off-by: Alex Bennée
---
tests/plugin/insn.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/tests/plugin/insn.c b/tests/plugin/insn.c
index 5fd3017c2b3.
This makes them a bit more visible in the TCG emulation menu rather
than hiding them away bellow the ToC limit.
Message-Id: <20240103173349.398526-43-alex.ben...@linaro.org>
Reviewed-by: Pierrick Bouvier
Signed-off-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
---
docs/devel/tcg-plugins.
We can only request a list of registers once the vCPU has been
initialised so the user needs to use either call the get function on
vCPU initialisation or during the translation phase.
We don't expose the reg number to the plugin instead hiding it behind
an opaque handle. For now this is just the
With the new plugin register API we can now track changes to register
values. Currently the implementation is fairly dumb which will slow
down if a large number of register values are being tracked. This
could be improved by only instrumenting instructions which mention
registers we are interested
On Sat, 24 Feb 2024 at 12:44, Akihiko Odaki wrote:
>
> It allows making the window full screen by clicking full screen button
> provided by the platform (the left-top green button) and save some code.
>
> Signed-off-by: Akihiko Odaki
> ---
> ui/cocoa.m | 408
> +++---
On Wed, 21 Feb 2024 10:15:55 -0800
nifan@gmail.com wrote:
> From: Fan Ni
>
> Per cxl spec r3.1, add dynamic capacity region representative based on
> Table 8-165 and extend the cxl type3 device definition to include dc region
> information. Also, based on info in 8.2.9.9.9.1, add 'Get Dynami
Hi,
On 19/2/24 15:05, BALATON Zoltan wrote:
On Mon, 19 Feb 2024, Mark Cave-Ayland wrote:
On 19/02/2024 13:05, Peter Maydell wrote:
On Mon, 19 Feb 2024 at 12:49, Mark Cave-Ayland
wrote:
On 19/02/2024 12:00, BALATON Zoltan wrote:
For new people trying to contribute to QEMU QDev is overwhelmin
On Wed, 21 Feb 2024 10:15:57 -0800
nifan@gmail.com wrote:
> From: Fan Ni
>
> With the change, when setting up memory for type3 memory device, we can
> create DC regions.
> A property 'num-dc-regions' is added to ct3_props to allow users to pass the
> number of DC regions to create. To make i
Add the PL110::'framebuffer-memory' property. Have the different
ARM boards set it. We don't need to call sysbus_address_space()
anymore.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
---
hw/arm/integratorcp.c | 2 ++
hw/arm/realview.c | 2 ++
hw/arm/versatilepb.c
sysbus_address_space(...) is a simple wrapper to
get_system_memory(). Use it in place, since KVM
VAPIC doesn't distinct address spaces.
Rename the 'as' variable as 'mr' since it is a
MemoryRegion type, not an AddressSpace one.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
We want to set another qdev property (a link) for the FIMD
device, we can not use sysbus_create_varargs() which only
passes sysbus base address and IRQs as arguments. Inline
it so we can set the link property in the next commit.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
We want to set another qdev property (a link) for the pl110
and pl111 devices, we can not use sysbus_create_simple() which
only passes sysbus base address and IRQs as arguments. Inline
it so we can set the link property in the next commit.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richar
(all series reviewed)
Since v1:
- Rebased
Pass address space as link property for devices where
it seems to matter, otherwise just use get_system_memory().
Philippe Mathieu-Daudé (6):
hw/arm: Inline sysbus_create_simple(PL110 / PL111)
hw/display/pl110: Pass frame buffer memory region as link
Add the Exynos4210fimdState::'framebuffer-memory' property. Have
the board set it. We don't need to call sysbus_address_space()
anymore.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
---
hw/arm/exynos4210.c | 2 ++
hw/display/exynos4210_fimd.c | 19 +
sysbus_address_space() is not more used, remove it.
Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
---
include/hw/sysbus.h | 1 -
hw/core/sysbus.c| 5 -
2 files changed, 6 deletions(-)
diff --git a/include/hw/sysbus.h b/include/hw/sysbus.h
index 14dbc22d0c..3cb29a
On 24/2/24 14:58, Bernhard Beschow wrote:
The series aims to simplify the initialization process of all PC-based machines
by streamlining redundant code.
Bernhard Beschow (6):
hw/i386/x86: Let ioapic_init_gsi() take parent as pointer
hw/i386/pc: Rename "bus" attribute to "pcibus"
hw/i
On Wed, 21 Feb 2024 10:15:59 -0800
nifan@gmail.com wrote:
> From: Fan Ni
>
> Add (file/memory backed) host backend, all the dynamic capacity regions
> will share a single, large enough host backend. Set up address space for
> DC regions to support read/write operations to dynamic capacity fo
There are two problems.
The first is a .PHONY target will always evaluate which triggers a
full re-build of the VM images. Drop the requirement knowing that this
introduces a manual step on freshly configure build dirs.
The second is a minor unrelated tweak to the Makefile also triggers an
expens
On Wed, 21 Feb 2024 10:16:00 -0800
nifan@gmail.com wrote:
> From: Fan Ni
>
> Add dynamic capacity extent list representative to the definition of
> CXLType3Dev and add get DC extent list mailbox command per
> CXL.spec.3.1:.8.2.9.9.9.2.
>
> Signed-off-by: Fan Ni
Follow on from earlier comme
On Wed, 21 Feb 2024 10:16:01 -0800
nifan@gmail.com wrote:
> From: Fan Ni
>
> Per CXL spec 3.1, two mailbox commands are implemented:
> Add Dynamic Capacity Response (Opcode 4802h) 8.2.9.9.9.3, and
> Release Dynamic Capacity (Opcode 4803h) 8.2.9.9.9.4.
>
> Signed-off-by: Fan Ni
Hi Fan,
C
Alex Bennée writes:
> There are two problems.
>
> The first is a .PHONY target will always evaluate which triggers a
> full re-build of the VM images. Drop the requirement knowing that this
> introduces a manual step on freshly configure build dirs.
>
> The second is a minor unrelated tweak to th
On 14/11/23 00:01, Gustavo Romero wrote:
Currently, the QTest API does not provide a function to capture when an
IRQ line is raised or lowered, although the QTest Protocol already
reports such IRQ transitions. As a consequence, it is also not possible
to capture when an IRQ line is toggled. Funct
On Mon, 26 Feb 2024 at 00:04, Sergey Kambalin wrote:
>
> Introducing Raspberry Pi 4B model.
> It contains new BCM2838 SoC, PCIE subsystem,
> RNG200, Thermal sensor and Genet network controller.
>
> It can work with recent linux kernels 6.x.x.
> Two avocado tests was added to check that.
>
> Unit t
On Wed, 21 Feb 2024 10:16:02 -0800
nifan@gmail.com wrote:
> From: Fan Ni
>
> Since fabric manager emulation is not supported yet, the change implements
> the functions to add/release dynamic capacity extents as QMP interfaces.
>
> Note: we skips any FM issued extent release request if the e
On Mon, 26 Feb 2024 at 18:06, Alex Bennée wrote:
>
> Alex Bennée writes:
>
> > There are two problems.
> >
> > The first is a .PHONY target will always evaluate which triggers a
> > full re-build of the VM images. Drop the requirement knowing that this
> > introduces a manual step on freshly conf
Introduce a new enum type property allowing to set an
IOMMU granule. Values are 4k, 8k, 16k, 64k and host.
This latter indicates the vIOMMU granule will match
the host page size.
A subsequent patch will add such a property to the
virtio-iommu device.
Signed-off-by: Eric Auger
Signed-off-by: Phil
1 - 100 of 376 matches
Mail list logo