On Wed, 13 Jul 2022 07:02:10 +0100,
"chenxiang (M)" wrote:
>
> Hi Marc,
>
> Thank you for your reply.
>
> 在 2022/7/12 23:25, Marc Zyngier 写道:
> > Hi Xiang,
> >
> > On Tue, 12 Jul 2022 13:55:16 +0100,
> > "chenxiang (M)" wrote:
> >> Hi,
> >> I encounter a issue related to GICv4 enable on ARM64
On Wed, Jul 13, 2022 at 07:12:17AM +0900, Damien Le Moal wrote:
> On 7/13/22 00:49, Stefan Hajnoczi wrote:
> > On Tue, Jul 12, 2022 at 10:13:37AM +0800, Sam Li wrote:
> >> @@ -1801,6 +1809,130 @@ static off_t copy_file_range(int in_fd, off_t
> >> *in_off, int out_fd,
> >> }
> >> #endif
> >>
>
On Wed, Jul 13, 2022 at 08:51:45AM +0800, Sam Li wrote:
> Stefan Hajnoczi 于2022年7月12日周二 23:49写道:
> >
> > On Tue, Jul 12, 2022 at 10:13:37AM +0800, Sam Li wrote:
> > > diff --git a/block/file-posix.c b/block/file-posix.c
> > > index 48cd096624..e7523ae2ed 100644
> > > --- a/block/file-posix.c
> > >
On Wed, Jul 13, 2022 at 7:52 AM Michael S. Tsirkin wrote:
>
> On Wed, Jul 06, 2022 at 08:39:48PM +0200, Eugenio Pérez wrote:
> > To restore the device in the destination of a live migration we send the
> > commands through control virtqueue. For a device to read CVQ it must
> > have received DRIVE
On 7/12/22 04:32, Peter Delevoryas wrote:
Up until now, guests could modify input pins by overwriting the data
value register. The guest OS should only be allowed to modify output pin
values, and the QOM property setter should only be permitted to modify
input pins.
This change also updates the
On Wed, Jul 13, 2022 at 4:05 AM Song Gao wrote:
>
> Update the cpu_maps[] to support the LoongArch target.
>
Reported-by: Peter Maydell
Reviewed-by: Philippe Mathieu-Daudé
> Signed-off-by: Song Gao
> ---
> tests/qtest/machine-none-test.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git
Hi Marc,
Thank you for your reply.
在 2022/7/12 23:25, Marc Zyngier 写道:
Hi Xiang,
On Tue, 12 Jul 2022 13:55:16 +0100,
"chenxiang (M)" wrote:
Hi,
I encounter a issue related to GICv4 enable on ARM64 platform (kernel
5.19-rc4, qemu 6.2.0):
We have a accelaration module whose VF has 3 MSI interr
On Wed, Jul 06, 2022 at 08:39:48PM +0200, Eugenio Pérez wrote:
> To restore the device in the destination of a live migration we send the
> commands through control virtqueue. For a device to read CVQ it must
> have received DRIVER_OK status bit.
>
> However this open a window where the device cou
Get it, thanks for our information. Vivek.
Thanks.
- Shirley
-Original Message-
From: Vivek Goyal
Sent: Tuesday, July 12, 2022 8:33 PM
To: Zhao, Shirley
Cc: Dr. David Alan Gilbert ; virtio...@redhat.com; Thomas
Huth ; qemu-devel@nongnu.org
Subject: Re: [Virtio-fs] [Qemu] how to use
On Tue, Jul 12, 2022 at 06:08:10PM -0300, Murilo Opsfelder Araujo wrote:
> Some systems have /proc/device-tree/cpus/../clock-frequency. However,
> this is not the expected path for a CPU device tree directory.
>
> Signed-off-by: Murilo Opsfelder Araujo
> Signed-off-by: Fabiano Rosas
Reviewed-by
On Tue, Jul 12, 2022 at 06:13:44PM -0300, Daniel Henrique Barboza wrote:
>
>
> On 7/12/22 16:25, Matheus Ferst wrote:
> > When using "-machine none", env->tb_env is not allocated, causing the
> > segmentation fault reported in issue #85 (launchpad bug #811683). To
> > avoid this problem, check if
We were only checking for SVE disabled and not taking into
account PSTATE.SM to check SME disabled, which resulted in
vectors being incorrectly truncated.
Signed-off-by: Richard Henderson
---
target/arm/helper.c | 31 +--
1 file changed, 25 insertions(+), 6 deletions(
When PSTATE.SM, VL = SVL even if SVE is disabled.
This is visible in kselftest ssve-test.
Reported-by: Mark Brown
Signed-off-by: Richard Henderson
---
target/arm/helper.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/target/arm/helper.c b/target/arm/helper.c
ind
Ho hum. Let a feature loose on users and they find bugs. Mark noticed
that the wrong value was being picked up for VL when SVE is disabled.
I had run the same test but failed to notice the vector length wasn't
as expected, though the test otherwise produced expected results.
r~
Richard Hender
This is the v7 of this series which tries to implement the fd-based KVM
guest private memory. The patches are based on latest kvm/queue branch
commit:
b9b71f43683a (kvm/queue) KVM: x86/mmu: Buffer nested MMU
split_desc_cache only by default capacity
Introduction
In general thi
HI, Peter
On 2022/7/12 下午11:32, Peter Maydell wrote:
The tests/qtest/machine-none-test has a cpus_map[] array which needs
to be updated to list a CPU that will work with the 'none' machine type
for the longarch64 target. This results in a warning message during
'make check':
$ QTEST_QEMU_BINARY
Update the cpu_maps[] to support the LoongArch target.
Signed-off-by: Song Gao
---
tests/qtest/machine-none-test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/qtest/machine-none-test.c b/tests/qtest/machine-none-test.c
index d0f8cd9902..f92fab479f 100644
--- a/tests/qtest/machine-n
Damien Le Moal 于2022年7月12日周二 15:35写道:
>
> On 7/12/22 11:13, Sam Li wrote:
> > By adding zone management operations in BlockDriver, storage
> > controller emulation can use the new block layer APIs including
> > zone_report and zone_mgmt(open, close, finish, reset).
> >
> > Signed-off-by: Sam Li
>
Stefan Hajnoczi 于2022年7月12日周二 23:49写道:
>
> On Tue, Jul 12, 2022 at 10:13:37AM +0800, Sam Li wrote:
> > By adding zone management operations in BlockDriver, storage
> > controller emulation can use the new block layer APIs including
> > zone_report and zone_mgmt(open, close, finish, reset).
> >
> >
On Tue, Jul 12, 2022 at 7:42 PM Peter Xu wrote:
>
> On Mon, Jul 11, 2022 at 06:11:13PM -0300, Leonardo Bras wrote:
> > Some errors, like the lack of Scatter-Gather support by the network
> > interface(NETIF_F_SG) may cause sendmsg(...,MSG_ZEROCOPY) to fail on using
> > zero-copy, which causes it t
On 28/6/22 17:47, Peter Maydell wrote:
In the M-profile Arm ARM, rule R_CVJS defines when an interrupt should
be set to the Pending state:
A) when the input line is high and the interrupt is not Active
B) when the input line transitions from low to high and the interrupt
is Active
(Note
On Mon, Jul 11, 2022 at 06:11:11PM -0300, Leonardo Bras wrote:
> If flush is called when no buffer was sent with MSG_ZEROCOPY, it currently
> returns 1. This return code should be used only when Linux fails to use
> MSG_ZEROCOPY on a lot of sendmsg().
>
> Fix this by returning early from flush if
+Pete/Jeremy
On 26/6/22 12:16, Peter Maydell wrote:
On Fri, 24 Jun 2022 at 21:54, Andrey Makarov wrote:
All Raspberry Pi models 1-3 (based on bcm2835) have
Linux device tree (arch/arm/boot/dts/bcm2835-common.dtsi +25):
/* dma channel 11-14 share one irq */
which mismatched the Qemu mod
From: Akihiko Odaki
Retrieve the refresh rate of the display and reflect it with
dpy_set_ui_info() and update_displaychangelistener(), allowing the
guest and DisplayChangeListener to consume the information.
The information will be used as a hint how often the display should
be updated. For exam
On Mon, Jul 11, 2022 at 06:11:13PM -0300, Leonardo Bras wrote:
> Some errors, like the lack of Scatter-Gather support by the network
> interface(NETIF_F_SG) may cause sendmsg(...,MSG_ZEROCOPY) to fail on using
> zero-copy, which causes it to fall back to the default copying mechanism.
>
> After ea
If we don't need to emulate any target, we certainly don't need TCG.
This should also help to compile again with
".../configure --enable-tools --disable-system --disable-user"
on systems that do not have a TCG backend.
Signed-off-by: Philippe Mathieu-Daudé
[thuth: Re-arranged the code, remove c
From: Cameron Esfahani
Pass through RDPID and RDTSCP support in CPUID if host supports it.
Correctly detect if CPU_BASED_TSC_OFFSET and CPU_BASED2_RDTSCP would
be supported in primary and secondary processor-based VM-execution
controls. Enable RDTSCP in secondary processor controls if RDTSCP
sup
On 7/7/22 21:45, Helge Deller wrote:
This program:
int main(void) { asm("bv %r0(%r0)"); return 0; }
produces on real hardware the expected segfault:
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x3} ---
+++ killed by SIGSEGV +++
Segmentation fault
But when run on linux-use
Hi, Daniel, David.
On 7/12/22 10:03, Daniel Henrique Barboza wrote:
On 7/12/22 00:46, David Gibson wrote:
On Mon, Jul 11, 2022 at 04:37:43PM -0300, Murilo Opsfelder Araujo wrote:
Some systems have /proc/device-tree/cpus/../clock-frequency. However,
this is not the expected path for a CPU dev
On 12/7/22 23:52, Mark Cave-Ayland wrote:
Here is the follow-on series from part 1 which completes the work to remove
the legacy global device init functions for PS2 devices. Now that part 1 has
been applied, the hard part to remove the PS2 function callback and argument
has been completed and al
Hi Andrey,
On 12/7/22 12:45, Andrey Makarov wrote:
There is nothing in the specs on DMA engine interrupt lines: it should have
been in the "BCM2835 ARM Peripherals" datasheet but the appropriate
"ARM peripherals interrupt table" (p.113) is nearly empty.
All Raspberry Pi models 1-3 (based on bcm
Now that the legacy ps2_mouse_init() function is no longer used, it can be
completely
removed along with its associated trace-event.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/ps2.c | 13 -
hw/inp
This legacy function is only used during the initialisation of the MIPS magnum
machine, so inline its functionality directly into mips_jazz_init() and then
remove it.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/pckbd.c
On Mon, Jul 11, 2022 at 06:11:12PM -0300, Leonardo Bras wrote:
> Signed-off-by: Leonardo Bras
> Acked-by: Markus Armbruster
> Reviewed-by: Daniel P. Berrangé
> ---
> qapi/migration.json | 7 ++-
> migration/migration.c | 2 ++
> monitor/hmp-cmds.c| 5 +
> 3 files changed, 13 inser
The following changes since commit 8e3d85d36b77f11ad7bded3a2d48c1f0cc334f82:
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
(2022-07-12 14:12:15 +0100)
are available in the Git repository at:
https://github.com/philmd/qemu.git tags/darwin-20220712
Instantiate the PS2 mouse device within KBDState using
object_initialize_child() in i8042_initfn() and i8042_mmio_init() and realize
it in i8042_realizefn() and i8042_mmio_realize() accordingly.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Ma
On 7/13/22 00:49, Stefan Hajnoczi wrote:
> On Tue, Jul 12, 2022 at 10:13:37AM +0800, Sam Li wrote:
>> By adding zone management operations in BlockDriver, storage
>> controller emulation can use the new block layer APIs including
>> zone_report and zone_mgmt(open, close, finish, reset).
>>
>> Signe
Instantiate the PS2 keyboard device within LASIPS2KbdPort using
object_initialize_child() in lasips2_kbd_port_init() and realize it in
lasips2_kbd_port_realize() accordingly.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input
Since this series has already introduced a migration break for the HPPA B160L
machine, we can use this opportunity to improve the VMStateDescription for
the LASIPS2 device.
Add the new int_status field to the VMStateDescription and remodel the ports
as separate VMSTATE_STRUCT instances representin
The named input gpio is to be connected to the IRQ output of the downstream
PS2 device and used to drive the port IRQ. Initialise the named input gpio
in lasips2_port_init() and add new lasips2_port_class_init() and
lasips2_port_realize() functions to connect the PS2 device output gpio to
the new n
Instantiate the PS2 mouse device within LASIPS2MousePort using
object_initialize_child() in lasips2_mouse_port_init() and realize it in
lasips2_mouse_port_realize() accordingly.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/in
Instantiate the PS2 keyboard device within KBDState using
object_initialize_child() in i8042_initfn() and i8042_mmio_init() and realize
it in i8042_realizefn() and i8042_mmio_realize() accordingly.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter
Move the initialisation of the keyboard port from lasips2_init() to
a new lasips2_kbd_port_init() function which will be invoked using
object_initialize_child() during the LASIPS2 device init.
Update LASIPS2State so that it now holds the new LASIPS2KbdPort child object and
ensure that it is realis
The LASI device (and so also the LASIPS2 device) are only used for the HPPA
B160L machine which is a big endian architecture.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/lasips2.c | 2 +-
1 file changed, 1 insertion(+)
On Tue, Jul 12, 2022 at 11:53:14PM +0200, Philippe Mathieu-Daudé wrote:
> On 2/7/22 20:56, Peter Delevoryas wrote:
> > I like to build QEMU from the root source directory, rather than cd'ing
> > into the build directory. This code may as well include a search path
> > for that, so that you can run
This enables us to register the VMStateDescription using the DeviceClass vmsd
property rather than having to call vmstate_register() from
i8042_mmio_realize().
Note that this is a migration break for the MIPS magnum machine which is the
only
user of the I8042_MMIO device.
Signed-off-by: Mark Ca
This is shorter to type and keeps the naming convention consistent within the
LASIPS2 device.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/lasips2.c | 52 +++---
1 file changed, 2
This will be soon be used to hold the underlying PS2_KBD_DEVICE object.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/lasips2.c | 7 +++
include/hw/input/lasips2.h | 7 +++
2 files changed, 14 insertions(
From: Peter Delevoryas
I like to build QEMU from the root source directory [*], rather
than cd'ing into the build directory. This code may as well include
a search path for that, so that you can run avocado tests individually
without specifying "-p qemu_bin=build/qemu-system-arm" manually.
[*] S
This makes it clearer that the pointer is a reference to the LASIPS2 container
device rather than an implied part of the QOM hierarchy.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/lasips2.c | 6 +++---
include/
Now we can implement port-based IRQs by wiring the PS2 device IRQs to the
LASI2Port named input gpios rather than directly to the LASIPS2 device, and
generate the LASIPS2 output IRQ from the int_status bitmap representing the
individual port IRQs instead of the birq boolean.
This enables us to rem
There is only one user of the legacy lasips2_initfn() function which is in
machine_hppa_init(), so inline its functionality into machine_hppa_init() and
then remove it.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/hppa/machin
From: Peter Delevoryas
I noticed this error while building QEMU on Mac OS X:
[1040/1660] Compiling Objective-C object libcommon.fa.p/ui_cocoa.m.o
../ui/cocoa.m:803:17: warning: variable 'switched_to_fullscreen' set but
not used [-Wunused-but-set-variable]
static bool switched_to
The LASIPS2 device named input gpio is soon to be connected to the port output
IRQs. Add a new int_status field to LASIPS2State which is a bitmap representing
the port input IRQ status which will be enabled in the next patch.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helg
This will soon be used to store the reference to the LASIPS2_PORT parent device
for LASIPS2_KBD_PORT and LASIPS2_MOUSE_PORT.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/lasips2.c | 2 ++
include/hw/input/lasips
This allows the compiler to enforce that the PS2 device pointer is always of
type PS2State. Update the name of the pointer from dev to ps2dev to emphasise
this type change.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/l
Introduce a new lasips2_port_init() QOM init function for the LASIPS2_PORT type
and use it to initialise a new gpio for use as a port IRQ. Add a new qemu_irq
representing the gpio as a new irq field within LASIPS2Port.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Delle
This will be soon be used to hold the underlying PS2_MOUSE_DEVICE object.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/lasips2.c | 7 +++
include/hw/input/lasips2.h | 7 +++
2 files changed, 14 insertion
Instantiate the PS2 keyboard device within PL050KbdState using
object_initialize_child() in pl050_kbd_init() and realize it in
pl050_kbd_realize() accordingly.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/pl050.c
Now that the legacy ps2_kbd_init() function is no longer used, it can be
completely
removed along with its associated trace-event.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/ps2.c | 13 -
hw/input
Introduce a new lasips2_kbd_port_class_init() function which uses a new
lasips2_kbd_port_realize() function to initialise the PS2 keyboard device.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/lasips2.c | 16
This becomes an abstract QOM type which will be a parent type for separate
keyboard and mouse port types.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/lasips2.c | 8
include/hw/input/lasips2.h | 14 +++
Introduce a new pl050_kbd_class_init() function containing a call to
device_class_set_parent_realize() which calls a new pl050_kbd_realize()
function to initialise the PS2 keyboard device.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
The existing boolean irq field in LASIPS2Port will soon be replaced by a proper
qemu_irq, so rename the field to birq to allow the upcoming qemu_irq to use the
irq name.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/lasi
Move the initialisation of the mouse port from lasips2_init() to
a new lasips2_mouse_port_init() function which will be invoked using
object_initialize_child() during the LASIPS2 device init.
Update LASIPS2State so that it now holds the new LASIPS2MousePort child object
and
ensure that it is real
The base property was only needed for use by vmstate_register() in order to
preserve migration compatibility. Now that the lasips2 migration state is
registered through the DeviceClass vmsd field, the base property and also
the lasips2_properties array can be removed completely as they are no longe
This will be soon be used to hold the underlying PS2_MOUSE_DEVICE object.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/pl050.c | 3 ++-
include/hw/input/pl050.h | 7 +++
2 files changed, 9 insertions(+), 1 d
Introduce a new pl050_mouse_class_init() function containing a call to
device_class_set_parent_realize() which calls a new pl050_mouse_realize()
function to initialise the PS2 mouse device.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
Introduce a new lasips2_mouse_port_class_init() function which uses a new
lasips2_mouse_port_realize() function to initialise the PS2 mouse device.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/lasips2.c | 16 +++
Since lasips2 is a qdev device then vmstate_ps2_mouse can be registered using
the DeviceClass vmsd field instead.
Note that due to the use of the base parameter in the original
vmstate_register()
function call, this is actually a migration break for the HPPA B160L machine.
Signed-off-by: Mark Ca
This will soon be used to store the reference to the PL050 parent device
for PL050_KBD_DEVICE and PL050_MOUSE_DEVICE.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/pl050.c | 2 ++
include/hw/input/pl050.h | 8 +++
The logic for initialising the register memory region and the sysbus output IRQ
does not depend upon any device properties and so can be moved from
pl050_realize() to pl050_init().
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw
This allows the compiler to enforce that the PS2 device pointer is always of
type PS2State. Update the name of the pointer from dev to ps2dev to emphasise
this type change.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/p
Instantiate the PS2 mouse device within PL050MouseState using
object_initialize_child() in pl050_mouse_init() and realize it in
pl050_mouse_realize() accordingly.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/pl050.c
This will be soon be used to hold the underlying PS2_KBD_DEVICE object.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/pl050.c | 3 ++-
include/hw/input/pl050.h | 7 +++
2 files changed, 9 insertions(+), 1 del
This is for consistency with all of the other devices that use the PS2 keyboard
device.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/pl050.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/inp
This allows the QOM types in pl050.c to be used elsewhere by simply including
pl050.h.
Signed-off-by: Mark Cave-Ayland
Tested-by: Helge Deller
Acked-by: Helge Deller
Reviewed-by: Peter Maydell
---
hw/input/pl050.c | 16 +---
include/hw/input/pl050.h | 35 ++
On 2/7/22 20:56, Peter Delevoryas wrote:
I like to build QEMU from the root source directory, rather than cd'ing
into the build directory. This code may as well include a search path
for that, so that you can run avocado tests individually without
specifying "-p qemu_bin=build/qemu-system-arm" ma
Here is the follow-on series from part 1 which completes the work to remove
the legacy global device init functions for PS2 devices. Now that part 1 has
been applied, the hard part to remove the PS2 function callback and argument
has been completed and all that remains is to improve the PS2 device
On Mon, Jun 20, 2022 at 10:01 PM Richard Henderson
wrote:
> On 3/22/22 02:50, Bin Meng wrote:
> > CPUClass::memory_rw_debug() holds a callback for GDB memory access.
> > If not provided, cpu_memory_rw_debug() is used by the GDB stub.
> > Drop avr_cpu_memory_rw_debug() which does nothing special.
>
Hi Akihiko,
On 6/7/22 04:13, Akihiko Odaki wrote:
This work is based on:
https://patchew.org/QEMU/20220317125534.38706-1-philippe.mathieu.da...@gmail.com/
Simplify the initialization dance by running qemu_init() in the main
thread before the Cocoa event loop starts. The secondary thread only
ru
-
RFC because I am not sure about the AioContext locks.
- Do we need to take the new AioContext lock? what does it protect?
- Taking the old AioContext lock is required now, because of
bdrv_drained_begin calling AIO_WAIT_WHILE that unlocks the
aiocontext. If we replace it with AIO_WAIT_
blk_root_change_aio_ctx() is very similar to blk_root_can_set_aio_ctx(),
but implements a new transaction so that if all check pass, the new
transaction's .commit will take care of changing the BlockBackend
AioContext. blk_root_set_aio_ctx_commit() is the same as
blk_root_set_aio_ctx().
Note: bdrv
Replace all direct usage of ->can_set_aio_ctx and ->set_aio_ctx,
and call bdrv_child_try_change_aio_context() in
bdrv_try_set_aio_context(), the main function called through
the whole block layer.
>From this point onwards, ->can_set_aio_ctx and ->set_aio_ctx
won't be used anymore.
Signed-off-by:
Together with all _can_set_ and _set_ APIs, as they are not needed
anymore.
Signed-off-by: Emanuele Giuseppe Esposito
---
block.c| 196 -
block/block-backend.c | 33 -
blockjob.c | 35 --
inclu
bdrv_child_cb_change_aio_ctx() is identical to
bdrv_child_cb_can_set_aio_ctx(), as we only need
to recursively go on the parent bs.
Note: bdrv_child_try_change_aio_context() is not called by
anyone at this point.
Signed-off-by: Emanuele Giuseppe Esposito
---
block.c | 9 +
1 file change
child_job_change_aio_ctx() is very similar to
child_job_can_set_aio_ctx(), but it implements a new transaction
so that if all check pass, the new transaction's .commit()
will take care of changin the BlockJob AioContext.
child_job_set_aio_ctx_commit() is similar to child_job_set_aio_ctx(),
but it d
First change the transactions from a QLIST to QSIMPLEQ, then
use it to implement tran_add_tail, which allows adding elements
to the end of list transactions.
This is useful if we have some "preparation" transiction callbacks
that we want to run before the others but still only when invoking
finali
Also here ->aio_context is read by I/O threads and written
under BQL.
Signed-off-by: Emanuele Giuseppe Esposito
---
block.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/block.c b/block.c
index d0db104d71..267a39c0de 100644
--- a/block.c
+++ b/block.c
@@ -7285,6 +7285,7 @@ static void bd
The aim of this series is to reorganize bdrv_try_set_aio_context
and drop BDS ->set_aio_context and ->can_set_aio_ctx callbacks in
favour of a new one, ->change_aio_ctx.
More informations in patch 3 (which is also RFC, due to the doubts
I have with AioContext locks).
Patch 1 just add assertions i
On 7/12/22 16:25, Matheus Ferst wrote:
When using "-machine none", env->tb_env is not allocated, causing the
segmentation fault reported in issue #85 (launchpad bug #811683). To
avoid this problem, check if the pointer != NULL before calling the
methods to print TBU/TBL/DECR.
Resolves: https:
On 6/7/22 17:38, Thomas Huth wrote:
From: Philippe Mathieu-Daudé
If we don't need to emulate any target, we certainly don't need TCG.
This should also help to compile again with
".../configure --enable-tools --disable-system --disable-user"
on systems that do not have a TCG backend.
Signed-
Some systems have /proc/device-tree/cpus/../clock-frequency. However,
this is not the expected path for a CPU device tree directory.
Signed-off-by: Murilo Opsfelder Araujo
Signed-off-by: Fabiano Rosas
---
v2:
- Skip current and parent directories.
v1:
https://lore.kernel.org/qemu-devel/2022071
On 2/7/22 16:25, Akihiko Odaki wrote:
Retreieve the refresh rate of the display and reflect it with
dpy_set_ui_info() and update_displaychangelistener(), allowing the
guest and DisplayChangeListener to consume the information.
The information will be used as a hint how often the display should
b
On 12/7/22 14:49, Paolo Bonzini wrote:
System emulation tests do not run in a hosted environment, since they
do not link with libc. They should only use freestanding headers
(float.h, limits.h, stdarg.h, stddef.h, stdbool.h, stdint.h,
stdalign.h, stdnoreturn.h) and should be compiled with -ffree
From: Richard Henderson
Inline these macros into the only two callers.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
Message-Id: <20220628111701.677216-9-richard.hender...@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé
---
target/mips/tcg/sysemu/mips-semi.c | 27 +++
From: Richard Henderson
With semihosting_get_arg, we already have a check vs argc, so
there's no point replicating it -- just check the result vs NULL.
Merge copy_argn_to_target into its caller.
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220628111701.67
From: Richard Henderson
This separates guest file descriptors from host file descriptors,
and utilizes shared infrastructure for integration with gdbstub.
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220628111701.677216-4-richard.hender...@linaro.org>
Sig
From: Pavel Dovgalyuk
This patch adds Cavium Octeon 68XX vCPU which provides
Octeon-specific instructions.
Signed-off-by: Pavel Dovgalyuk
Message-Id: <165572673785.167724.7604881144978983510.stgit@pasha-ThinkPad-X280>
Signed-off-by: Philippe Mathieu-Daudé
---
target/mips/cpu-defs.c.inc | 28 +
From: Richard Henderson
Always log the assert locally. Do not report_fault, but
instead include the fact of the fault in the assertion.
Don't bother freeing allocated strings before the abort().
Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20220628111701.6
1 - 100 of 341 matches
Mail list logo