On 15/9/23 21:00, Philippe Mathieu-Daudé wrote:
- Add missing accel_cpu_unrealize()
- Add AccelClass::[un]realize_cpu handlers
- Use tcg_exec_[un]realizefn as AccelClass handlers
Philippe Mathieu-Daudé (5):
accel: Rename accel_cpu_realizefn() -> accel_cpu_realize()
accel: Introduce
gdb_exit function aims to close gdb sessions and sends the exit code of
the current execution. It's being called by qemu_cleanup once the main
loop is over.
Until now, the exit code sent was always 0. Now that hardware can
shutdown this main loop with custom exit codes, these codes must be
This replaces the exit calls by shutdown requests, ensuring a proper
cleanup of Qemu. Features like net/vhost-vdpa.c are expecting
qemu_cleanup to be called to remove their last residuals.
Signed-off-by: Clément Chigot
Reviewed-by: Alistair Francis
---
gdbstub/gdbstub.c | 5 +++--
This series replaces some of the call to exit in hardware used by
Risc-V boards. Otherwise, the gdb connection can be abruptly
disconnected resulting in the last gdb packet "Wxx" being not sent.
For the gdbstub modification, gdb_exit calls ensure that the "Wxx"
packet is sent before exiting.
On 15/9/23 18:20, Philippe Mathieu-Daudé wrote:
Minor cleanup extracted from a bigger series
touching x86_cpu_realizefn().
Philippe Mathieu-Daudé (2):
target/i386: Only realize existing APIC device
hw/intc/apic: Pass CPU using QOM link property
Ping?
Currently, a few code paths exist in the function vmstate_save_state_v,
which ultimately leads to a migration failure. However, an update in the
current MigrationState for the error description is never done.
vmstate.c somehow doesn't seem to allow the use of migrate_set_error due
to some
None of these target-specific prototypes should be used
by user emulation. Remove their declaration there, so we
get a compile failure if ever used (instead of having to
deal with linker and its possible optimizations, such
dead code removal).
Suggested-by: Kevin Wolf
Signed-off-by: Philippe
CONFIG_KVM is always FALSE on user emulation, so 'kvm.c'
won't be added to ppc_ss[] source set; direcly use the system
specific ppc_system_ss[] source set.
Reviewed-by: Michael Tokarev
Signed-off-by: Philippe Mathieu-Daudé
---
target/ppc/meson.build | 2 +-
1 file changed, 1 insertion(+), 1
Since v1:
- Addressed Michael review comments,
- Added Daniel R-b tag.
Implement Kevin's suggestion to remove KVM declarations
for user emulation builds, so if KVM prototype are used
we directly get a compile failure.
Philippe Mathieu-Daudé (4):
sysemu/kvm: Restrict
On 19.09.23 13:02, Andrey Zhadchenko wrote:
Hi!
Thanks for the review
On 9/12/23 21:29, Vladimir Sementsov-Ogievskiy wrote:
On 04.09.23 11:31, Andrey Zhadchenko wrote:
Unlike other transaction commands, bitmap operations do not drain target
bds. If we have an IOThread, this may result in
On 9/7/23 04:02, Nicholas Piggin wrote:
On Wed Sep 6, 2023 at 2:33 PM AEST, Harsh Prateek Bora wrote:
This patch implements nested PAPR hcall H_GUEST_GET_CAPABILITIES and
also enables registration of nested PAPR hcalls whenever an L0 is
launched with cap-nested-papr=true. The common
Hi Tong,
On 3/10/23 07:23, Tong Ho wrote:
This change implements the ResettableClass interface for the device.
Signed-off-by: Tong Ho
---
hw/nvram/xlnx-bbram.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé
Since you did this one, do
Hi Salil,
On 26/9/23 12:04, Salil Mehta wrote:
Supporting vCPU Hotplug for ARM arch also means introducing new functionality of
unrealizing the ARMCPU. This requires some new common functions.
Defining them as part of architecture independent change so that this code could
be reused by other
Commit 18a536f1f8 ("accel/tcg: Always require can_do_io") fixed
the GitLab issue #1884: we can now re-enable those tests.
This reverts commit f959c3d87ccfa585b105de6964a6261e368cc1da.
Signed-off-by: Philippe Mathieu-Daudé
---
tests/avocado/boot_linux_console.py | 7 ---
A few code paths exist in the source code,where a migration is
marked as failed via MIGRATION_STATUS_FAILED, but the failure happens
outside of migration.c
In such cases, an error_report() call is made, however the current
MigrationState is never updated with the error description, and hence
Hi everyone,
Now that the patchset covering improvements in error descriptions inside
migration.c has been reviewed and merged, can this patchset, which
covers the same outside of the context of migration.c be reviewed as
well.
Regards
Tejus
Changelog:
v4:
- Rebase on master
v3:
- Rebase on
Inline and guard the single call to kvm_openpic_connect_vcpu()
allows to remove kvm-stub.c.
Reviewed-by: Michael Tokarev
Signed-off-by: Philippe Mathieu-Daudé
---
hw/ppc/e500.c | 4
target/ppc/kvm-stub.c | 19 ---
target/ppc/meson.build | 2 +-
3 files changed,
kvm_get_radix_page_info() is only defined for ppc targets (in
target/ppc/kvm.c). The declaration is not useful in other targets,
reduce its scope.
Rename using the 'kvmppc_' prefix following other declarations
from target/ppc/kvm_ppc.h.
Suggested-by: Michael Tokarev
Signed-off-by: Philippe
On 3/10/23 08:45, Philippe Mathieu-Daudé wrote:
On 15/9/23 18:20, Philippe Mathieu-Daudé wrote:
Minor cleanup extracted from a bigger series
touching x86_cpu_realizefn().
Philippe Mathieu-Daudé (2):
target/i386: Only realize existing APIC device
hw/intc/apic: Pass CPU using QOM link
This replaces the exit calls by shutdown requests, ensuring a proper
cleanup of Qemu. Otherwise, some connections like gdb could be broken
before its final packet ("Wxx") is being sent. This part, being done
inside qemu_cleanup function, can be reached only when the main loop
exits after a
This replaces the exit calls by shutdown requests, ensuring a proper
cleanup of Qemu. Otherwise, some connections like gdb could be broken
before its final packet ("Wxx") is being sent. This part, being done
inside qemu_cleanup function, can be reached only when the main loop
exits after a
As of now, the exit code was either EXIT_FAILURE when a panic shutdown
was requested or EXIT_SUCCESS otherwise.
However, some hardware could want to pass more complex exit codes. Thus,
introduce a new shutdown request function allowing that.
Signed-off-by: Clément Chigot
Reviewed-by: Alistair
For now we only log the vhost device error, when virtqueue is actually
stopped. Let's add a QAPI event, which makes possible:
- collect statistics of such errors
- make immediate actions: take core dumps or do some other debugging
- inform the user through a management API or UI, so that (s)he
On 9/7/23 07:58, Nicholas Piggin wrote:
On Wed Sep 6, 2023 at 2:33 PM AEST, Harsh Prateek Bora wrote:
This hcall is used by L1 to indicate to L0 that a new nested guest needs
to be created and therefore necessary resource allocation shall be made.
The L0 uses a hash table for nested guest
On 10/2/23 22:38, Alex Williamson wrote:
On Mon, 2 Oct 2023 21:41:55 +0200
Laszlo Ersek wrote:
On 10/2/23 21:26, Alex Williamson wrote:
On Mon, 2 Oct 2023 20:24:11 +0200
Laszlo Ersek wrote:
On 10/2/23 16:41, Alex Williamson wrote:
On Mon, 2 Oct 2023 15:38:10 +0200
Cédric Le Goater
On 9/7/23 08:01, Nicholas Piggin wrote:
On Wed Sep 6, 2023 at 2:33 PM AEST, Harsh Prateek Bora wrote:
This hcall is used by L1 to delete a guest entry in L0 or can also be
used to delete all guests if needed (usually in shutdown scenarios).
I'd squash with at least the create hcall.
On 9/21/23 00:09, Akihiko Odaki wrote:
On 2023/09/03 14:39, Akihiko Odaki wrote:
When the host page size is greater than the target page size and
MAP_FIXED or MAP_FIXED_NOREPLACE is requested, mmap will be done for
three parts: start, middle, and end. If a later part of mmap fail,
mmap done in
On Tue, Oct 03, 2023 at 08:11:39PM +0300, Michael Tokarev wrote:
> 26.09.2023 15:05, Niklas Cassel:
> > Hello Marcin,
> >
> > I will have a look at this.
>
> Hi Marcin, Hi Niklas!
>
> Niklas, I remember asking you if the whole thing is okay for the -stable,
> and you was a bit unsure about it
On Tue, Sep 19, 2023 at 10:34:32AM +0100, Jonathan Cameron wrote:
> Establishing that only register accesses of size 4 and 8 can occur
> using these functions requires looking at their callers. Make it
> easier to see that by using switch statements.
> Assertions are used to enforce that the
On Tue, 3 Oct 2023 at 17:01, Michael S. Tsirkin wrote:
>
> On Wed, Sep 27, 2023 at 03:27:34PM -0400, Stefan Hajnoczi wrote:
> > Stateful vhost devices may need to free resources or clear device state upon
> > device reset. The vhost-user protocol has a VHOST_USER_RESET_DEVICE message
> > for
> >
On Wed, Sep 27, 2023 at 02:32:37PM +0400, Marc-André Lureau wrote:
> On Tue, Sep 26, 2023 at 12:19 PM wrote:
> >
> > From: Marc-André Lureau
> >
> > Traceback (most recent call last):
> > File "scripts/analyze-migration.py", line 605, in
> > dump.read(dump_memory = args.memory)
> > File
On 10/3/23 19:03, Michael Tokarev wrote:
22.09.2023 12:38, Cédric Le Goater:
On 9/13/23 21:18, Alex Williamson wrote:
Hi Gerd,
Some consultation would be appreciated on this thread to get this patch
out of limbo. Is there a better solution that what I've proposed?
This does fix a
On 8/2/23 20:52, Keith Packard via wrote:
Add helpers for reading/writing the 68881 FPSR register so that
changes in floating point exception state can be seen by the
application.
Call these helpers in pre_load/post_load hooks to synchronize
exception state.
Signed-off-by: Keith Packard
---
On 10/2/23 23:44, Philippe Mathieu-Daudé wrote:
On 15/9/23 21:00, Philippe Mathieu-Daudé wrote:
- Add missing accel_cpu_unrealize()
- Add AccelClass::[un]realize_cpu handlers
- Use tcg_exec_[un]realizefn as AccelClass handlers
Philippe Mathieu-Daudé (5):
accel: Rename accel_cpu_realizefn()
"Michael S. Tsirkin" writes:
> On Fri, Sep 29, 2023 at 05:08:21PM +0300, Emmanouil Pitsidianakis wrote:
>> Add a new VIRTIO device for the virtio sound device id. Functionality
>> will be added in the following commits.
>>
>> Based-on:
>>
On Tue, 3 Oct 2023 at 10:40, Michael S. Tsirkin wrote:
>
> On Tue, Oct 03, 2023 at 09:08:15AM -0400, Stefan Hajnoczi wrote:
> > On Tue, 3 Oct 2023 at 08:27, Michael S. Tsirkin wrote:
> > >
> > > On Mon, Oct 02, 2023 at 05:13:26PM -0400, Stefan Hajnoczi wrote:
> > > > One more question:
> > > >
>
On 10/3/23 12:14, Eric Auger wrote:
From: Zhenzhong Duan
Move the reset handler registration/unregistration to a place that is not
group specific. vfio_[get/put]_address_space are the best places for that
purpose.
Signed-off-by: Eric Auger
Signed-off-by: Yi Liu
Signed-off-by: Zhenzhong Duan
On 10/3/23 12:14, Eric Auger wrote:
Let the vfio-ccw device use vfio_attach_device() and
vfio_detach_device(), hence hiding the details of the used
IOMMU backend.
Note that the migration reduces the following trace
"vfio: subchannel %s has already been attached" (featuring
cssid.ssid.devid)
Inherit the size and alignment from TYPE_ARM_CPU.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
target/arm/cpu.c | 3 ---
target/arm/cpu64.c | 4
2 files changed, 7 deletions(-)
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
index b9e09a702d..d48a70c039
Minimize the displacement to can_do_io, since it may
be touched at the start of each TranslationBlock.
It fits into other padding within the substructure.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
include/hw/core/cpu.h| 6 ++
accel/dummy-cpus.c
Use abi_ullong not uint64_t so that the alignment of the field
and therefore the layout of the struct is correct.
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Richard Henderson
---
linux-user/hppa/signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Philippe Mathieu-Daudé
cpu_in_serial_context() is not target specific,
move it declaration to "internal-common.h" (which
we include in the 4 source files modified).
Remove the unused "exec/exec-all.h" header from
cpu-exec-common.c. There is no more target specific
code in this file: make
On Tue, Aug 29, 2023 at 7:55 AM Hawkins Jiawei wrote:
>
> Next patches in this series will refactor vhost_vdpa_net_load_cmd()
> to iterate through the control commands shadow buffers, allowing QEMU
> to send CVQ state load commands in parallel at device startup.
>
> Considering that QEMU always
On Tue, Oct 03, 2023 at 10:27:26AM +0200, Philippe Mathieu-Daudé wrote:
> Now than apic_get_class() can not fail, remove its
> Error** parameter. It can't return NULL neither, so
> simplify x86_cpu_apic_create().
>
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Peter Xu
--
Peter Xu
On Tue, Oct 03, 2023 at 10:27:24AM +0200, Philippe Mathieu-Daudé wrote:
> APICCommonClass::realize() is a DeviceRealize() handler which
> take an Error** parameter and can fail. Do not proceed further
> on failure.
>
> Signed-off-by: Philippe Mathieu-Daudé
Reviewed-by: Peter Xu
--
Peter Xu
On 10/3/23 06:07, Philippe Mathieu-Daudé wrote:
+++ b/linux-user/s390x/vdso.ld
@@ -0,0 +1,69 @@
+/*
+ * Linker script for linux x86-64 replacement vdso.
+ *
+ * Copyright 2023 Linaro, Ltd.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+VERSION {
+ LINUX_2.6.29 {
+
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182709.4834-14-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.h| 7 +++
bsd-user/freebsd/os-syscall.c | 4
2 files changed,
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-19-kariem.taha...@gmail.com>
---
bsd-user/bsd-proc.h | 24
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 32
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-21-kariem.taha...@gmail.com>
---
bsd-user/freebsd/os-proc.c | 181 -
bsd-user/main.c| 2 +-
bsd-user/qemu.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-27-kariem.taha...@gmail.com>
---
bsd-user/freebsd/os-proc.h| 34 ++
bsd-user/freebsd/os-syscall.c
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Message-Id: <20230925182709.4834-18-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.h| 23 +++
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 27
Hi Keith,
Sorry this has languished for a few months. I wasn't happy with
the frobbing done by EXCP_HALT_INSN, and less keen to replicate
it with EXCP_BKPT_INSN, so I've re-organized a bit.
So far only compile-tested. I guess gcc testing with m68k-elf
might exercise libgloss and thence
Replace EXCP_HALT_INSN by EXCP_SEMIHOSTING. Perform the pre-
and post-insn tests during translate, leaving only the actual
semihosting operation for the exception.
Signed-off-by: Richard Henderson
---
target/m68k/cpu.h | 2 +-
target/m68k/op_helper.c | 14 ++---
According to the m68k semihosting spec:
"The instruction used to trigger a semihosting request depends on the
m68k processor variant. On ColdFire, "halt" is used; on other processors
(which don't implement "halt"), "bkpt #0" may be used."
Add support for non-CodeFire processors by matching
From: Karim Taha
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-23-kariem.taha...@gmail.com>
---
bsd-user/freebsd/os-proc.h| 49 +++
The following changes since commit da1034094d375afe9e3d8ec8980550ea0f06f7e0:
Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging
(2023-10-03 07:43:44 -0400)
are available in the Git repository at:
g...@gitlab.com:bsdimp/qemu.git tags/bsd-user-mmap-pull-request
for you
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-10-kariem.taha...@gmail.com>
---
bsd-user/bsd-proc.c | 17 +
1 file changed, 17 insertions(+)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182709.4834-2-kariem.taha...@gmail.com>
---
bsd-user/syscall_defs.h | 17 +
1 file changed, 17 insertions(+)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Message-Id: <20230925182709.4834-16-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.h| 37 +++
bsd-user/freebsd/os-syscall.c | 20 +++
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-15-kariem.taha...@gmail.com>
---
bsd-user/bsd-proc.h | 59 +++
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-18-kariem.taha...@gmail.com>
---
bsd-user/bsd-proc.h | 28
bsd-user/freebsd/os-syscall.c | 16
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-12-kariem.taha...@gmail.com>
---
bsd-user/bsd-proc.h | 44 +++
bsd-user/freebsd/os-syscall.c | 9 +++
2 files changed,
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-5-kariem.taha...@gmail.com>
---
bsd-user/qemu.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/bsd-user/qemu.h
From: Karim Taha
RLIM_INFINITY on FreeBSD, OpenBSD and NetBSD has value of ~(1<<63), caculated
one way or another.
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-2-kariem.taha...@gmail.com>
---
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-24-kariem.taha...@gmail.com>
---
bsd-user/freebsd/os-proc.h| 84 +++
bsd-user/freebsd/os-syscall.c | 15 +++
2 files changed,
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182709.4834-3-kariem.taha...@gmail.com>
---
bsd-user/syscall_defs.h | 20
1 file changed, 20 insertions(+)
diff --git
From: Stacey Son
getpid(2), getppid(2), getpgrp(2)
setreuid(2), setregid(2)
getuid(2), geteuid(2), getgid(2), getegid(2), getpgid(2)
setuid(2), seteuid(2), setgid(2), setegid(2), setpgid(2)
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner
From: Stacey Son
Co-authored-by: Kyle Evans
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Message-Id: <20230925182709.4834-20-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.h| 25 +
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-26-kariem.taha...@gmail.com>
---
bsd-user/freebsd/os-proc.h| 23 +++
bsd-user/freebsd/os-syscall.c | 8
From: Karim Taha
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Message-Id: <20230925182709.4834-17-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.h| 53 +++
bsd-user/freebsd/os-syscall.c | 4 +++
bsd-user/syscall_defs.h | 2 ++
3
On 10/3/23 6:14 AM, Eric Auger wrote:
> Let the vfio-ccw device use vfio_attach_device() and
> vfio_detach_device(), hence hiding the details of the used
> IOMMU backend.
>
> Note that the migration reduces the following trace
> "vfio: subchannel %s has already been attached" (featuring
>
The above system calls are not supported by qemu.
Signed-off-by: Warner Losh
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Message-Id: <20230925182709.4834-24-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.h| 18 ++
bsd-user/freebsd/os-syscall.c | 12
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Message-Id: <20230925182709.4834-22-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.h| 39 +++
bsd-user/freebsd/os-syscall.c | 4
2 files
From: Stacey Son
Implement procctl flags and related structs:
struct target_procctl_reaper_status
struct target_procctl_reaper_pidinfo
struct target_procctl_reaper_pids
struct target_procctl_reaper_kill
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
From: Karim Taha
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182709.4834-8-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.c | 0
bsd-user/meson.build | 1 +
2 files changed, 1 insertion(+)
create mode 100644 bsd-user/bsd-mem.c
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Warner Losh
Reviewed-by: Richard Henderson
Message-Id: <20230925182709.4834-13-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.h| 20
bsd-user/freebsd/os-syscall.c | 9
Am 3. Oktober 2023 08:27:26 UTC schrieb "Philippe Mathieu-Daudé"
:
>Now than apic_get_class() can not fail, remove its
s/than/that/
s/can not/can't/ (which is stylistically consistent with "neither" below)
Best regards,
Bernhard
>Error** parameter. It can't return NULL neither, so
>simplify
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182709.4834-4-kariem.taha...@gmail.com>
---
bsd-user/qemu-bsd.h | 20
1 file changed, 20 insertions(+)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-29-kariem.taha...@gmail.com>
---
bsd-user/freebsd/os-proc.h| 32
bsd-user/freebsd/os-syscall.c | 4
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-28-kariem.taha...@gmail.com>
---
bsd-user/freebsd/os-proc.h| 39 +++
On Tue, Oct 3, 2023 at 5:51 AM Rob Bradford wrote:
>
> There is no requirement that the enabled counters in the platform are
> continuously numbered. Add a "pmu-mask" property that, if specified, can
> be used to specify the enabled PMUs. In order to avoid ambiguity if
> "pmu-mask" is specified
This modifies the common virtio-gpu.h file have the fields and
defintions needed by gfxstream/rutabaga, by VirtioGpuRutabaga.
Signed-off-by: Gurchetan Singh
Tested-by: Alyssa Ross
Tested-by: Emmanouil Pitsidianakis
Tested-by: Akihiko Odaki
Reviewed-by: Emmanouil Pitsidianakis
Reviewed-by:
From: Gurchetan Singh
Prior version:
https://lists.gnu.org/archive/html/qemu-devel/2023-09/msg07402.html
Branch containing changes:
https://gitlab.com/gurchetansingh/qemu/-/commits/qemu-gfxstream-v15
Changes since v14:
- Thomas Huth suggested the use of the "x-" prefix for experimental
From: Antonio Caggiano
This adds preparatory functions needed to:
- decode blob cmds
- tracking iovecs
Signed-off-by: Antonio Caggiano
Signed-off-by: Dmitry Osipenko
Signed-off-by: Gurchetan Singh
Tested-by: Alyssa Ross
Tested-by: Emmanouil Pitsidianakis
Tested-by: Akihiko Odaki
On Wed, Sep 27, 2023 at 03:27:34PM -0400, Stefan Hajnoczi wrote:
> Stateful vhost devices may need to free resources or clear device state upon
> device reset. The vhost-user protocol has a VHOST_USER_RESET_DEVICE message
> for
> this and vDPA has SET_STATUS 0, but only QEMU's vhost-user-scsi
On 10/3/23 06:00, Philippe Mathieu-Daudé wrote:
On 30/9/23 04:15, Richard Henderson wrote:
This tool will be used for post-processing the linked vdso image,
turning it into something that is easy to include into elfload.c.
Signed-off-by: Richard Henderson
---
linux-user/gen-vdso.c
Am 3. Oktober 2023 08:27:25 UTC schrieb "Philippe Mathieu-Daudé"
:
>apic_get_class() isn't supposed to fail. kvm_apic_realize() is
>DeviceRealize() handler, which can fail. Defer the error check
>to the latter.
>
>Signed-off-by: Philippe Mathieu-Daudé
>---
> hw/i386/kvm/apic.c | 5 +
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
Message-Id: <20230925182709.4834-11-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.c | 47 ++
1 file changed, 47 insertions(+)
diff --git
From: Stacey Son
Use `WITH_MMAP_LOCK_GUARD` instead of mmap_lock() and mmap_unlock(),
to match linux-user implementation, according to the following commits:
69fa2708a216df715ba5102a0f98468b540a464e linux-user: Use WITH_MMAP_LOCK_GUARD
in target_{shmat,shmdt}
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-7-kariem.taha...@gmail.com>
---
bsd-user/bsd-proc.c | 40
bsd-user/bsd-proc.h | 4
bsd-user/meson.build | 6 ++
From: Stacey Son
Co-authored-by: Kyle Evans
Signed-off-by: Stacey Son
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
Reviewed-by: Warner Losh
Reviewed-by: Richard Henderson
Message-Id: <20230925182709.4834-15-kariem.taha...@gmail.com>
---
bsd-user/bsd-mem.h| 11
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Warner Losh
Message-Id: <20230925182425.3163-13-kariem.taha...@gmail.com>
---
bsd-user/bsd-proc.h | 39 +++
bsd-user/freebsd/os-syscall.c | 12 +++
2 files
On 9/28/23 09:42, Mikulas Patocka wrote:
sh4 uses gUSA (general UserSpace Atomicity) to provide atomicity on CPUs
that don't have atomic instructions. A gUSA region that adds 1 to an
atomic variable stored in @R2 looks like this:
4004b6: 03 c7 mova4004c4 ,r0
4004b8:
Do not assert success, but return any failure received.
Additionally, fix the method of earlier error return in target_munmap.
Reported-by: Andreas Schwab
Signed-off-by: Richard Henderson
---
linux-user/mmap.c | 30 +-
1 file changed, 17 insertions(+), 13
On 9/18/23 01:35, Andreas Schwab wrote:
On Jul 15 2023, Richard Henderson wrote:
@@ -776,9 +776,15 @@ static void mmap_reserve(abi_ulong start, abi_ulong len)
real_len = real_last - real_start + 1;
host_start = g2h_untagged(real_start);
-ptr = mmap(host_start, real_len,
On 8/2/23 09:19, Keith Packard via wrote:
The first two patches mirror similar patches I recently sent for nios2.
1. Use correct parameter for EXIT (d1 instead of d0)
2. Fix use of deposit64 in LSEEK (argument order was incorrect)
The second patch has also been submitted by Peter Maydell,
On 10/3/23 11:25 AM, Cédric Le Goater wrote:
> On 10/3/23 12:14, Eric Auger wrote:
>> Let the vfio-ap device use vfio_attach_device() and
>> vfio_detach_device(), hence hiding the details of the used
>> IOMMU backend.
>>
>> We take the opportunity to use g_path_get_basename() which
>> is prefered,
This adds initial support for gfxstream and cross-domain. Both
features rely on virtio-gpu blob resources and context types, which
are also implemented in this patch.
gfxstream has a long and illustrious history in Android graphics
paravirtualization. It has been powering graphics in the
- Add meson detection of rutabaga_gfx
- Build virtio-gpu-rutabaga.c + associated vga/pci files when
present
Signed-off-by: Gurchetan Singh
Tested-by: Alyssa Ross
Tested-by: Emmanouil Pitsidianakis
Tested-by: Akihiko Odaki
Reviewed-by: Emmanouil Pitsidianakis
Reviewed-by: Antonio Caggiano
From: Gerd Hoffmann
Use VIRTIO_GPU_SHM_ID_HOST_VISIBLE as id for virtio-gpu.
Signed-off-by: Antonio Caggiano
Tested-by: Alyssa Ross
Tested-by: Akihiko Odaki
Tested-by: Huang Rui
Acked-by: Huang Rui
Acked-by: Michael S. Tsirkin
Reviewed-by: Akihiko Odaki
---
hw/display/virtio-gpu-pci.c
1 - 100 of 445 matches
Mail list logo