On Sun, Sep 17, 2023 at 01:49:19PM +0800, Akihiko Odaki wrote:
> On 2023/09/17 14:45, Huang Rui wrote:
> > On Sat, Sep 16, 2023 at 06:42:04PM +0800, Akihiko Odaki wrote:
> >> On 2023/09/16 19:32, Huang Rui wrote:
> >>> On Fri, Sep 15, 2023 at 11:20:46PM +0800, Akihiko Odaki wrote:
> On
Hi Daniel,
Thank you for your stwardship of ppc, I might hope to do half as good a
job with it as you have. And to Greg and David for all the work over the
years.
Thanks,
Nick
On Fri Sep 15, 2023 at 9:05 PM AEST, Daniel Henrique Barboza wrote:
> Update all relevant PowerPC entries as follows:
>
Add New API vhost_dev_start_presetup to notify backend the start
and end of presetup.
API vhost_dev_presetup to send out the device configurations:
1. acked_features
2. memory table
3. vring information
4. disable host/guest notifier.
Signed-off-by: Yajun Wu
Reviewed-by: Avihai Horon
Introduce New API vhost_net_presetup to send virtio net device
configuration to backend in LM setup.
Mainly calling vhost_dev_presetup, then sending out vring enable.
Signed-off-by: Yajun Wu
Reviewed-by: Avihai Horon
Reviewed-by: Jiri Pirko
---
hw/net/vhost_net.c | 40
On 2023-09-18 오후 1:41, Jeuk Kim wrote:
On 2023-09-15 16:59, Paolo Bonzini wrote:
On 9/15/23 00:19, Jeuk Kim wrote:
First, ufs-lu has a feature called "unit descriptor". This feature
shows the status of the ufs-lu
and only works with UFS-specific "query request" commands, not SCSI
This series of patches aims to minimize the downtime during live migration of a
virtio-net device with a vhost-user backend. In the case of hardware virtual
Data Path Acceleration (vDPA) implementation, the hardware configuration, which
includes tasks like VQ creation and RSS setting, may take
This patch implements VHOST_USER_PROTOCOL_F_PRESETUP protocol feature
and VHOST_USER_PRESETUP, so that the backend can know the beginning
and completion of the early setup phase for the virtio device.
Unlike the regular device state load, which occurs in the VM stop
phase, this pre-setup takes
Register a new vmstate for virtio-net with an early_setup flag to send
the device state during migration setup.
This can reduce the migration downtime of a virtio-net device with a
vhost-user backend.
This feature is disabled by default and can be enabled by setting the
"x-early-migration"
Define new virtio device vmstate for early save/load (happens in
LM setup stage). Same as original vmstate, except:
In LM setup phase of the destination VM, the guest memory has not
been synchronized yet. To address this, a flag has been added to
virtio_load function to skip the index check.
On 2023-09-15 16:59, Paolo Bonzini wrote:
On 9/15/23 00:19, Jeuk Kim wrote:
First, ufs-lu has a feature called "unit descriptor". This feature
shows the status of the ufs-lu
and only works with UFS-specific "query request" commands, not SCSI
commands.
This looks like something that can be
On 15/09/2023 19:31, William Roche wrote:
> On 9/15/23 05:13, Zhijian Li (Fujitsu) wrote:
>>
>>
>> I'm okay with "RDMA isn't touched".
>> BTW, could you share your reproducing program/hacking to poison the page, so
>> that
>> i am able to take a look the RDMA part later when i'm free.
>>
>> Not
From: alloc
During migrations, vcpu may run longer than 10ms and not exit
on time. If the vcpu runs over 20ms, then it'll miss a throttle
kick and will run the whole tick. When this happens and vcpu
dirties pages fast, the migration will take long time or event
not enable to auto converge. To
On Sat, Sep 16, 2023 at 1:19 AM Jonathan Cameron
wrote:
>
> On Fri, 15 Sep 2023 21:27:22 +1000
> Alistair Francis wrote:
>
> > From: Huai-Cheng Kuo
>
> Great to see you taking this forwards!
>
>
> >
> > SPDM enables authentication, attestation and key exchange to assist in
> > providing
On Thu, Sep 7, 2023 at 9:26 PM Clément Chigot wrote:
>
> 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
On Thu, Sep 7, 2023 at 9:26 PM Clément Chigot wrote:
>
> 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
On Thu, Sep 7, 2023 at 9:26 PM Clément Chigot wrote:
>
> 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
On Thu, Sep 7, 2023 at 9:26 PM Clément Chigot wrote:
>
> 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
On Thu, Sep 7, 2023 at 9:26 PM Clément Chigot wrote:
>
> 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
On Thu, Sep 14, 2023 at 6:09 PM Nikita Shubin wrote:
>
> From: Nikita Shubin
>
> Allow using instances derivative from RISCVCPU
>
> Signed-off-by: Nikita Shubin
> ---
> hw/riscv/riscv_hart.c | 20
> include/hw/riscv/riscv_hart.h | 2 +-
> 2 files changed, 13
On Thu, Sep 14, 2023 at 6:09 PM Nikita Shubin wrote:
>
> From: Nikita Shubin
>
> Replace all RISCVHartArrayState->harts[idx] with
> qemu_get_cpu()/cpu_by_arch_id().
Thanks for the patch
Why do we want this change though?
>
> cpu_index is guaranteed to be continuus by cpu_get_free_index(), so
On Sat, Sep 9, 2023 at 5:37 AM Alexey Baturo wrote:
>
> Signed-off-by: Alexey Baturo
> ---
> target/riscv/cpu.h| 6 ++--
> target/riscv/cpu_helper.c | 58 +++
> 2 files changed, 62 insertions(+), 2 deletions(-)
>
> diff --git a/target/riscv/cpu.h
On Sat, Sep 9, 2023 at 4:28 AM Alexey Baturo wrote:
>
> Signed-off-by: Alexey Baturo
> ---
> target/riscv/cpu.c | 7 +++
> target/riscv/cpu_cfg.h | 3 +++
> target/riscv/machine.c | 6 --
> 3 files changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/target/riscv/cpu.c
On Sat, Sep 9, 2023 at 4:28 AM Alexey Baturo wrote:
>
Can you add a commit message describing why the new extension is so
different that we should remove the old one?
> Signed-off-by: Alexey Baturo
> ---
> target/riscv/cpu.c | 12 --
> target/riscv/cpu.h | 30 +---
>
On Thu, Sep 14, 2023 at 10:35 PM Mayuresh Chitale
wrote:
>
> As per the Priv spec: "The R, W, and X fields form a collective WARL
> field for which the combinations with R=0 and W=1 are reserved."
> However currently such writes are not ignored as ought to be. The
> combinations with RW=01 are
On Sun, Sep 17, 2023 at 8:38 AM Andreas K. Huettel wrote:
>
> Am Donnerstag, 14. September 2023, 03:22:49 CEST schrieb Andreas K. Huettel:
> > > > https://lists.gnu.org/archive/html/bug-bash/2023-09/msg00119.html
> > > > ^ Here I'm trying to find out more.
> > > >
> > > > Bash tests apparently
From: Jeuk Kim
Fixed four ufs-related coverity issues.
The coverity issues and fixes are as follows
1. CID 1519042: Security issue with the rand() function
Changed to use a fixed value (0xab) instead of rand() as
the value for testing
2. CID 1519043: Dereference after null check
Removed
On Tue, Sep 12, 2023 at 11:25 PM Daniel Henrique Barboza
wrote:
>
> Hi,
>
> In this version we have a change in patch 3. It was causing a build
> break with --enable-debug builds that weren't being detected by regular
> gitlab CI but was detected when running the merge CI [1]. The problem is
>
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.h | 39 +++
bsd-user/freebsd/os-syscall.c | 12 +++
2 files changed, 51 insertions(+)
diff --git a/bsd-user/bsd-proc.h
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
---
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 .
---
bsd-user/syscall_defs.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.h | 76 +++
bsd-user/freebsd/os-syscall.c | 28 +
2 files changed, 104 insertions(+)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 34 ++
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 42 insertions(+)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 32
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 40 insertions(+)
diff --git a/bsd-user/freebsd/os-proc.h
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 49 +++
bsd-user/freebsd/os-syscall.c | 11 +++-
2 files changed, 59 insertions(+), 1 deletion(-)
create mode 100644
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.h | 13 +
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 17 insertions(+)
diff --git a/bsd-user/bsd-proc.h b/bsd-user/bsd-proc.h
index
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 23 +++
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 31 insertions(+)
diff --git a/bsd-user/freebsd/os-proc.h
From: Stacey Son
Implement t2h_procctl_cmd, h2t_reaper_status, h2t_reaper_pidinfo and h2t/t2h
reaper_kill conversion functions.
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/freebsd/os-proc.c| 223 ++
bsd-user/freebsd/os-syscall.c | 3
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-proc.c | 40
bsd-user/bsd-proc.h | 4
bsd-user/meson.build | 6 ++
3 files changed, 50 insertions(+)
create mode 100644 bsd-user/bsd-proc.c
diff --git
From: Kyle Evans
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
---
bsd-user/bsd-proc.c | 23 +++
bsd-user/bsd-proc.h | 2 ++
2 files changed, 25 insertions(+)
diff --git a/bsd-user/bsd-proc.c b/bsd-user/bsd-proc.c
index 19f6efe1f7..78f5b172d7 100644
---
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 77 +++
bsd-user/freebsd/os-syscall.c | 15 +++
2 files changed, 92 insertions(+)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/bsd-user/bsd-proc.c b/bsd-user/bsd-proc.c
index 68410a0aa9..19e39a2f76 100644
--- a/bsd-user/bsd-proc.c
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-proc.h | 24
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 32 insertions(+)
diff --git a/bsd-user/bsd-proc.h b/bsd-user/bsd-proc.h
index
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/qemu-bsd.h | 38 ++
1 file changed, 38 insertions(+)
create mode 100644 bsd-user/qemu-bsd.h
diff --git a/bsd-user/qemu-bsd.h
From: Stacey Son
Used in wait6 system call
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/signal-common.h | 1 +
bsd-user/signal.c| 6 ++
2 files changed, 7 insertions(+)
diff --git a/bsd-user/signal-common.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.h | 59 +++
bsd-user/freebsd/os-syscall.c | 8 +
2 files changed, 67 insertions(+)
diff --git a/bsd-user/bsd-proc.h
Karim Taha (3):
bsd-user: define TARGET_RFSPAWN for rfork to use vfork(2) semantics,
and fix RLIM_INFINITY
bsd-user: Implement get_filename_from_fd.
bsd-user: Implement execve(2) and fexecve(2) system calls.
Kyle Evans (1):
bsd-user: Get number of cpus.
Stacey Son (24):
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/freebsd/os-proc.c | 177 +
bsd-user/main.c| 2 +-
bsd-user/qemu.h| 1 +
3 files changed, 179 insertions(+), 1 deletion(-)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.c | 54 +
1 file changed, 54 insertions(+)
diff --git a/bsd-user/bsd-proc.c b/bsd-user/bsd-proc.c
index
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/qemu.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index d3158bc2ed..2cf96d9a15 100644
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-proc.h | 44 +++
bsd-user/freebsd/os-syscall.c | 9 +++
2 files changed, 53 insertions(+)
diff --git a/bsd-user/bsd-proc.h b/bsd-user/bsd-proc.h
index
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/meson.build | 1 +
bsd-user/freebsd/os-proc.c | 80
2 files changed, 81 insertions(+)
create mode 100644 bsd-user/freebsd/os-proc.c
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.h | 28
bsd-user/freebsd/os-syscall.c | 16
2 files changed, 44 insertions(+)
diff --git a/bsd-user/bsd-proc.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 32
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 36 insertions(+)
diff --git a/bsd-user/freebsd/os-proc.h
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: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 39 +++
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 43 insertions(+)
diff --git a/bsd-user/freebsd/os-proc.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/bsd-user/bsd-proc.c b/bsd-user/bsd-proc.c
index aa386ff482..19f6efe1f7 100644
---
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.h | 76 +++
bsd-user/freebsd/os-syscall.c | 28 +
2 files changed, 104 insertions(+)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/bsd-user/bsd-proc.c b/bsd-user/bsd-proc.c
index aa386ff482..19f6efe1f7 100644
---
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.h | 39 +++
bsd-user/freebsd/os-syscall.c | 12 +++
2 files changed, 51 insertions(+)
diff --git a/bsd-user/bsd-proc.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 32
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 40 insertions(+)
diff --git a/bsd-user/freebsd/os-proc.h
From: Stacey Son
Implement t2h_procctl_cmd, h2t_reaper_status, h2t_reaper_pidinfo and h2t/t2h
reaper_kill conversion functions.
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/freebsd/os-proc.c| 223 ++
bsd-user/freebsd/os-syscall.c | 3
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.c | 54 +
1 file changed, 54 insertions(+)
diff --git a/bsd-user/bsd-proc.c b/bsd-user/bsd-proc.c
index
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: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/freebsd/os-proc.c | 177 +
bsd-user/main.c| 2 +-
bsd-user/qemu.h| 1 +
3 files changed, 179 insertions(+), 1 deletion(-)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 77 +++
bsd-user/freebsd/os-syscall.c | 15 +++
2 files changed, 92 insertions(+)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Acked-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 32
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 36 insertions(+)
diff --git a/bsd-user/freebsd/os-proc.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-proc.h | 24
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 32 insertions(+)
diff --git a/bsd-user/bsd-proc.h b/bsd-user/bsd-proc.h
index
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/meson.build | 1 +
bsd-user/freebsd/os-proc.c | 80
2 files changed, 81 insertions(+)
create mode 100644 bsd-user/freebsd/os-proc.c
diff --git
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 49 +++
bsd-user/freebsd/os-syscall.c | 11 +++-
2 files changed, 59 insertions(+), 1 deletion(-)
create mode 100644
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 23 +++
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 31 insertions(+)
diff --git a/bsd-user/freebsd/os-proc.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/qemu-bsd.h | 38 ++
1 file changed, 38 insertions(+)
create mode 100644 bsd-user/qemu-bsd.h
diff --git a/bsd-user/qemu-bsd.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-proc.h | 44 +++
bsd-user/freebsd/os-syscall.c | 9 +++
2 files changed, 53 insertions(+)
diff --git a/bsd-user/bsd-proc.h b/bsd-user/bsd-proc.h
index
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.h | 28
bsd-user/freebsd/os-syscall.c | 16
2 files changed, 44 insertions(+)
diff --git a/bsd-user/bsd-proc.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/qemu.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h
index d3158bc2ed..2cf96d9a15 100644
--- a/bsd-user/qemu.h
+++ b/bsd-user/qemu.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/bsd-user/bsd-proc.c b/bsd-user/bsd-proc.c
index 68410a0aa9..19e39a2f76 100644
--- a/bsd-user/bsd-proc.c
Karim Taha (3):
bsd-user: define TARGET_RFSPAWN for rfork to use vfork(2) semantics,
and fix RLIM_INFINITY
bsd-user: Implement get_filename_from_fd.
bsd-user: Implement execve(2) and fexecve(2) system calls.
Kyle Evans (1):
bsd-user: Get number of cpus.
Stacey Son (24):
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 39 +++
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 43 insertions(+)
diff --git a/bsd-user/freebsd/os-proc.h
From: Stacey Son
Used in wait6 system call
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/signal-common.h | 1 +
bsd-user/signal.c| 6 ++
2 files changed, 7 insertions(+)
diff --git a/bsd-user/signal-common.h
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
---
From: Kyle Evans
Signed-off-by: Kyle Evans
Signed-off-by: Karim Taha
---
bsd-user/bsd-proc.c | 23 +++
bsd-user/bsd-proc.h | 2 ++
2 files changed, 25 insertions(+)
diff --git a/bsd-user/bsd-proc.c b/bsd-user/bsd-proc.c
index 19f6efe1f7..78f5b172d7 100644
---
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
---
bsd-user/bsd-proc.c | 40
bsd-user/bsd-proc.h | 4
bsd-user/meson.build | 6 ++
3 files changed, 50 insertions(+)
create mode 100644 bsd-user/bsd-proc.c
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.h | 59 +++
bsd-user/freebsd/os-syscall.c | 8 +
2 files changed, 67 insertions(+)
diff --git a/bsd-user/bsd-proc.h
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/freebsd/os-proc.h| 34 ++
bsd-user/freebsd/os-syscall.c | 8
2 files changed, 42 insertions(+)
diff --git
From: Stacey Son
Signed-off-by: Stacey Son
Signed-off-by: Karim Taha
Reviewed-by: Richard Henderson
---
bsd-user/bsd-proc.h | 13 +
bsd-user/freebsd/os-syscall.c | 4
2 files changed, 17 insertions(+)
diff --git a/bsd-user/bsd-proc.h b/bsd-user/bsd-proc.h
index
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 .
---
bsd-user/syscall_defs.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
On 16/9/23 10:19, Volker Rümelin wrote:
Am 14.09.23 um 09:56 schrieb Philippe Mathieu-Daudé:
On 9/9/23 11:48, Mark Cave-Ayland wrote:
MacOS (un)helpfully leaves the FIFO engine running even when all the
samples have
been written to the hardware, and expects the FIFO status flags and
IRQ to be
On 9/17/23 13:40, Mike Maslenkin wrote:
This is not introduced by this patch,
but looks like qemu_opts_del(opts) missed.
nice spot!
On Fri, Sep 15, 2023 at 9:41 PM Denis V. Lunev wrote:
This patch creates above mentioned helper and moves its usage to the
beginning of parallels_open(). This
On 9/17/23 13:40, Mike Maslenkin wrote:
This patch generates a warning.
On Fri, Sep 15, 2023 at 9:41 PM Denis V. Lunev wrote:
More conditions follows thus the check should be more scalable.
Signed-off-by: Denis V. Lunev
---
block/parallels.c | 19 ---
1 file changed, 8
On 8.09.2023 16:21, David Hildenbrand wrote:
Having large virtio-mem devices that only expose little memory to a VM
is currently a problem: we map the whole sparse memory region into the
guest using a single memslot, resulting in one gigantic memslot in KVM.
KVM allocates metadata for the whole
This patch generates a warning.
On Fri, Sep 15, 2023 at 9:41 PM Denis V. Lunev wrote:
>
> More conditions follows thus the check should be more scalable.
>
> Signed-off-by: Denis V. Lunev
> ---
> block/parallels.c | 19 ---
> 1 file changed, 8 insertions(+), 11 deletions(-)
>
>
I got a warning after this patch:
../block/parallels.c:541:25: warning: 'guarded_by' attribute only
applies to non-static data members and global variables
[-Wignored-attributes]
static int coroutine_fn GRAPH_RDLOCK_PTR
^
This is not introduced by this patch,
but looks like qemu_opts_del(opts) missed.
On Fri, Sep 15, 2023 at 9:41 PM Denis V. Lunev wrote:
>
> This patch creates above mentioned helper and moves its usage to the
> beginning of parallels_open(). This simplifies parallels_open() a bit.
>
> The patch
On Thu, Sep 14, 2023 at 9:42 PM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> Reviewed-by: Richard Henderson
> ---
> bsd-user/bsd-mem.h| 39 +++
> bsd-user/freebsd/os-syscall.c | 4
> 2
On Thu, Sep 14, 2023 at 9:42 PM Karim Taha wrote:
> 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
> ---
> bsd-user/bsd-mem.h| 25 +
>
On Thu, Sep 14, 2023 at 9:42 PM Karim Taha wrote:
> From: Stacey Son
>
> Match linux-user, by manually applying the following commits, in order:
>
> d28b3c90cfad1a7e211ae2bce36ecb9071086129 linux-user: Make sure initial
> brk(0) is page-aligned
> 15ad98536ad9410fb32ddf1ff09389b677643faa
On Thu, Sep 14, 2023 at 9:42 PM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> Reviewed-by: Richard Henderson
> ---
> bsd-user/bsd-mem.h| 23 +++
> bsd-user/freebsd/os-syscall.c | 4
> 2 files changed,
On 8.09.2023 16:21, David Hildenbrand wrote:
We want to support memory devices that can automatically decide how many
memslots they will use. In the worst case, they have to use a single
memslot.
The target use cases are virtio-mem and the hyper-v balloon.
Let's calculate a reasonable limit
On Thu, Sep 14, 2023 at 9:42 PM Karim Taha wrote:
> Signed-off-by: Karim Taha
> Reviewed-by: Richard Henderson
> ---
> bsd-user/bsd-mem.h| 53 +++
> bsd-user/freebsd/os-syscall.c | 4 +++
> bsd-user/syscall_defs.h | 2 ++
> 3 files changed,
On Thu, Sep 14, 2023 at 9:42 PM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> Reviewed-by: Richard Henderson
> ---
> bsd-user/bsd-mem.c | 47 ++
> 1 file changed, 47 insertions(+)
>
Reviewed-by:
On Thu, Sep 14, 2023 at 9:42 PM Karim Taha wrote:
> From: Stacey Son
>
> Signed-off-by: Stacey Son
> Signed-off-by: Karim Taha
> Reviewed-by: Richard Henderson
> ---
> bsd-user/bsd-mem.c | 25 +
> 1 file changed, 25 insertions(+)
>
Reviewed-by: Warner Losh
1 - 100 of 110 matches
Mail list logo